VS2012 Server 2012 Boost build

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

VS2012 Server 2012 Boost build

grenclave

I'm trying to build the Boost 1_52 library with VS2012. Everything is building fine except for the Date Time dll (boost_date_time-vc110-mt-1_52.dll).

 

I'm using the following call b2.exe toolset=msvc-11.0 --build-type=complete stage debug-symbols=on debug-store=database --abbreviate-paths

 

I've tried ignoing PDB’s, I’ve tried setting the Precompiled header memory allocation limit to 100, but nothing seems to change the results.

 

When it gets to the gregorian section, I get a number of failures like highlighted below in yellow.  It appears the obj files are not being created, I have not found the files anywhere within the project.

 

It appears that this is a problem with the Multi-Threaded maybe?  The following line doesn’t have any errors.

compile-c-c++ bin.v2\libs\date_time\build\msvc-11.0\rls\adrs-mdl-64\dbg-str-dtbs\dbg-symbl-on\lnk-sttc\rntm-lnk-sttc\thrd-mlt\gregorian\greg_month.obj

 

 

Any help would be greatly appreciated.

 

 

 

compile-c-c++ bin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt\gregorian\greg_month.obj

greg_month.cpp

libs\date_time\src\gregorian\greg_month.cpp : fatal error C1033: cannot open program database 'd:\spe\vendor_software\boost\03-development\code\source\boost_1_51_0\gregorian\greg_month.pdb'

 

    call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86 >nul

cl /Zm800 -nologo @"bin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt\gregorian\greg_month.obj.rsp"

 

...failed compile-c-c++ bin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt\gregorian\greg_month.obj...

compile-c-c++ bin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt\gregorian\greg_weekday.obj

greg_weekday.cpp

libs\date_time\src\gregorian\greg_weekday.cpp : fatal error C1033: cannot open program database 'd:\spe\vendor_software\boost\03-development\code\source\boost_1_51_0\gregorian\greg_weekday.pdb'

 

    call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86 >nul

cl /Zm800 -nologo @"bin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt\gregorian\greg_weekday.obj.rsp"

 

...failed compile-c-c++ bin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt\gregorian\greg_weekday.obj...

compile-c-c++ bin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt\gregorian\date_generators.obj

date_generators.cpp

libs\date_time\src\gregorian\date_generators.cpp : fatal error C1033: cannot open program database 'd:\spe\vendor_software\boost\03-development\code\source\boost_1_51_0\gregorian\date_generators.pdb'

 

    call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86 >nul

cl /Zm800 -nologo @"bin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt\gregorian\date_generators.obj.rsp"

 

...failed compile-c-c++ bin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt\gregorian\date_generators.obj...

...skipped <pbin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt>boost_date_time-vc110-mt-1_51.dll for lack of <pbin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt>gregorian\greg_month.obj...

...skipped <pbin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt>boost_date_time-vc110-mt-1_51.lib for lack of <pbin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt>gregorian\greg_month.obj...

...skipped <pbin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt>boost_date_time-vc110-mt-1_51.pdb for lack of <pbin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt>gregorian\greg_month.obj...

...skipped <pstage\lib>boost_date_time-vc110-mt-1_51.dll for lack of <pbin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt>boost_date_time-vc110-mt-1_51.dll...

...skipped <pstage\lib>boost_date_time-vc110-mt-1_51.lib for lack of <pbin.v2\libs\date_time\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\thrd-mlt>boost_date_time-vc110-mt-1_51.lib...

msvc.archive bin.v2\libs\exception\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\lnk-sttc\thrd-mlt\libboost_exception-vc110-mt-1_51.lib

common.copy stage\lib\libboost_exception-vc110-mt-1_51.lib

bin.v2\libs\exception\build\msvc-11.0\rls\dbg-str-dtbs\dbg-symbl-on\lnk-sttc\thrd-mlt\libboost_exception-vc110-mt-1_51.lib

        1 file(s) copied.

 

 

 

DEMATIC l Creating Logistics Results
Rapistan Since 1939

 

Brian Spratke
Software Product Engineer
Dematic Corp.
507 Plymouth
Grand Rapids, MI 49505 USA
Phone: +1 (616) 913-5757
[hidden email]

www.dematic.com


P Please consider the environment before printing this email.

Important Note: This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation. 

 


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: VS2012 Server 2012 Boost build

grenclave
I also posted this question on Stack Overflow and with help from there I was able to build the library.

http://stackoverflow.com/questions/13462388/boost-1-52-build-vs2012-failed

The problem appears to be that the gregorian directory needs to be created.  I'm new to the boost build process, but Jamfile.v2 in the date_time/build directory has the gregorian folder in fron of $(CPP_SOURCES).cpp, the others that I looked at did not.  Would I assume correct that that directory could be removed to also fix the problem?

Thanks.