Dear Boost community, For the purpose of a project that uses Boost libraries, I tried rebuild Boost but I failed. I would please need some help to complete that building. My context is Microsoft Windows 7, 32 bits, Visual Studio 13 (msvc-12), Boost 1.54.0 My goal is to the create static libraries : libboost_chrono, regex, system, thread and datetime. I initially used a tutorial from the Nordic's github to build Boost : https://github.com/NordicSemiconductor/pc-ble-driver My last try was with Boost 1.54.0 (the one used in the mentioned tuto), the build of datetime library fails (I attached the ouput) and frankly speaking I do not know where I should start looking for. If anyone could help me ? For note, at early stage, I tried with Boost 1.62.0, but the outcome was even worse, I gave up. Best regards, Thierry
On 11/02/2016 12:00 PM, LAMOTTE Thierry wrote:
Dear Boost community,
For the purpose of a project that uses Boost libraries, I tried rebuild Boost but I failed. I would please need some help to complete that building.
My context is Microsoft Windows 7, 32 bits, Visual Studio 13 (msvc-12), Boost 1.54.0
My goal is to the create static libraries : libboost_chrono, regex, system, thread and datetime.
Hello there! I wrote a 'manual' for myself, because I compile boost 'by hand' too. Here is it; it builds the selected boost libraries to their static (multihreaded) versions: How to build boost on M$ Windows: In Visual Studio Command Prompt do: 1. Go to the directory tools\build\ 2. Run bootstrap.bat 3. return to previous directory: cd ..\.. 4. Change user config header: echo #define BOOST_ASIO_DISABLE_STD_CHRONO 1 >> boost\config\user.hpp 5. build boost libs: tools\build\b2.exe --build-dir=.\boost-build toolset=msvc ^ link=static threading=multi runtime-link=shared --build-type=minimal ^ --with-atomic --with-chrono --with-container --with-date_time --with-exception ^ --with-filesystem --with-graph --with-graph_parallel --with-iostreams ^ --with-locale --with-log --with-mpi --with-program_options ^ --with-random --with-regex --with-serialization --with-signals ^ --with-system --with-thread --with-timer ^ stage 6. Library files reside in .\stage\lib Header Files reside in .\boost Depending on your requirements you might want to skip 4. and adjust the libraries to be build in 5. Hope this helps. Andreas
LAMOTTE Thierry wrote
For the purpose of a project that uses Boost libraries, I tried rebuild Boost but I failed. I would please need some help to complete that building.
My context is Microsoft Windows 7, 32 bits, Visual Studio 13 (msvc-12), Boost 1.54.0
[...]
My last try was with Boost 1.54.0 (the one used in the mentioned tuto), the build of datetime library fails (I attached the ouput) and frankly speaking I do not know where I should start looking for. If anyone could help me ?
For note, at early stage, I tried with Boost 1.62.0, but the outcome was even worse, I gave up.
The first Boost version to support Visual C++ 2013 was 1.56, you need this commit: https://github.com/boostorg/mpl/commit/d6c3a16e1e5374b5304d538b8cbbb25b1000e... What version of Visual Studio 2013 are you using? I also had ICEs after a Boost update, but Update 5 works fine for me with Boost 1.62. Marcel -- View this message in context: http://boost.2283326.n4.nabble.com/build-of-datetime-library-fails-tp4689472... Sent from the Boost - Users mailing list archive at Nabble.com.
On 11/02/2016 05:34 PM, Marcel Raad wrote:
The first Boost version to support Visual C++ 2013 was 1.56, you need this commit: https://github.com/boostorg/mpl/commit/d6c3a16e1e5374b5304d538b8cbbb25b1000e...
What version of Visual Studio 2013 are you using? I also had ICEs after a Boost update, but Update 5 works fine for me with Boost 1.62.
Marcel
-- View this message in context: http://boost.2283326.n4.nabble.com/build-of-datetime-library-fails-tp4689472... Sent from the Boost - Users mailing list archive at Nabble.com. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Of course I should have mentioned this. I initially started off with boost 1.4x and Visual Studio 2008 (32bit). I have recently upgraded to boost 1.6x and Visual Studio 2013 (32bit) Update 5. Visual Studio 2013 before Update 5 also gave me compiler errors. Regards
participants (3)
-
Andreas Wehrmann
-
LAMOTTE Thierry
-
Marcel Raad