New package boost 1.57 for Windows available

Open discussion on QxOrm library

New package boost 1.57 for Windows available

Postby qxorm » Fri Mar 13, 2015 8:26 am

Hello,

A new boost package (based on boost 1.57) for Windows is available to download : http://www.qxorm.com/lib/boost_1_57.zip
This package includes boost headers + boost::serialization module used by QxOrm library.

boost::serialization module is available for following compilers :
- MSVC++ 2008 (32 bits) ;
- MSVC++ 2010 (32 bits) ;
- MSVC++ 2012 (32 bits and 64 bits) ;
- MinGW GCC 4.5.1 (32 bits) ;
- MinGW GCC 4.9.1 (32 bits, version deployed with Qt 5.4.1).

FYI, here is the content of version_1_57.txt file (command lines used to build boost::serialization) :
Code: Select all
------------------------------
NOTE FOR MSVC++ AND QT4 ONLY :
------------------------------
By default, Qt4 is built using "/Zc:wchar_t-" compiler option (this is not true with Qt5 !).
So we add cxxflags="/Zc:wchar_t- " parameter to bjam to build boost libraries in the same way.
But, to remove the following warning : "Command line warning D9025 : overriding '/Zc:wchar_t' with '/Zc:wchar_t-'".
We have to modify './tools/build/v2/tools/msvc.jam' file and remove '/Zc:wchar_t' in compiler options.
For QxOrm library, it's used only if you are working with boost wide serialization library.
------------------------------
 
-----------------------------------------
COMMAND LINE TO BUILD USING MSVC++ 2008 :
-----------------------------------------
bjam.exe -d2 --build-dir=build --toolset=msvc-9.0 --with-serialization variant=debug,release link=shared threading=multi runtime-link=shared stage
bjam.exe -d2 --build-dir=build --toolset=msvc-9.0 --with-serialization variant=debug,release link=shared threading=multi runtime-link=shared install
 
-----------------------------------------
COMMAND LINE TO BUILD USING MSVC++ 2010 :
-----------------------------------------
bjam.exe -d2 --build-dir=build --toolset=msvc-10.0 --with-serialization variant=debug,release link=shared threading=multi runtime-link=shared stage
bjam.exe -d2 --build-dir=build --toolset=msvc-10.0 --with-serialization variant=debug,release link=shared threading=multi runtime-link=shared install
 
-------------------------------------------------------
COMMAND LINE TO BUILD USING MINGW GCC 4.5.1 AND 4.9.1 :
-------------------------------------------------------
bjam.exe --build-dir=build --toolset=gcc --with-serialization variant=debug,release link=shared threading=multi runtime-link=shared stage
bjam.exe --build-dir=build --toolset=gcc --with-serialization variant=debug,release link=shared threading=multi runtime-link=shared install
 
--------------------------------------------------
COMMAND LINE TO BUILD USING MSVC++ 2012 (32bits) :
--------------------------------------------------
bjam.exe -d2 --build-dir=build --toolset=msvc-11.0 --with-serialization variant=debug,release link=shared threading=multi runtime-link=shared stage
bjam.exe -d2 --build-dir=build --toolset=msvc-11.0 --with-serialization variant=debug,release link=shared threading=multi runtime-link=shared install
 
--------------------------------------------------
COMMAND LINE TO BUILD USING MSVC++ 2012 (64bits) :
--------------------------------------------------
bjam.exe -d2 --build-dir=build --toolset=msvc-11.0 address-model=64 --with-serialization variant=debug,release link=shared threading=multi runtime-link=shared stage
bjam.exe -d2 --build-dir=build --toolset=msvc-11.0 address-model=64 --with-serialization variant=debug,release link=shared threading=multi runtime-link=shared install


Note : the old package based on boost 1.54 is always available here : http://www.qxorm.com/lib/boost_1_54.zip
QxOrm library supports all boost version starting from boost 1.38.

Other note : Qt4 and Qt5 are compiled with 2 different ways for MSVC++ :
- Qt4 is built with the option /Zc:wchar_t-
- Qt5 is built with the option /Zc:wchar_t

This option is used only if you work with boost wide serialization module (disabled by default in QxOrm library).
The boost 1.57 package is built with the option /Zc:wchar_t : so it is full compatible with Qt5.
If you are working with Qt4, and want to use boost wide serialization, then I would recommend to use the old boost 1.54 package (or build boost yourself).
qxorm
Site Admin
 
Posts: 481
Joined: Mon Apr 12, 2010 7:45 am

Return to QxOrm - Open discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron