Bonjour,

Un nouveau package boost (basé sur la version boost 1.57) est disponible pour Windows : http://www.qxorm.com/lib/boost_1_57.zip
Ce package comprend les en-têtes boost + le module boost::serialization utilisé par la bibliothèque QxOrm.

Le module boost::serialization est disponible pour les compilateurs suivant :
  • MSVC++ 2008 (32 bits) ;
  • MSVC++ 2010 (32 bits) ;
  • MSVC++ 2012 (32 bits et 64 bits) ;
  • MinGW GCC 4.5.1 (32 bits) ;
  • MinGW GCC 4.9.1 (32 bits, version livrée avec Qt 5.4.1).


Pour information, voici le contenu du fichier version_1_57.txt présent à la racine du package (lignes de commande utilisées pour la compilation) :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
------------------------------
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
Remarque : l'ancien package basé sur boost 1.54 est toujours disponible à cette adresse : http://www.qxorm.com/lib/boost_1_54.zip
La bibliothèque QxOrm supporte toutes les versions de boost à partir de boost 1.38.

Autre remarque : Qt4 et Qt5 sont compilés de 2 façons différentes avec MSVC++ :
- Qt4 est compilé avec l'option /Zc:wchar_t-
- Qt5 est compilé avec l'option /Zc:wchar_t

Cette option a un impact uniquement si vous utilisez le module boost wide serialization (désactivé par défaut dans QxOrm).
Le package boost 1.57 est compilé avec l'option /Zc:wchar_t : il est donc entièrement compatible Qt5.
Si vous travaillez avec Qt4, et si vous souhaitez utilisez le module boost wide serialization, alors je conseille de télécharger l'ancien package boost 1.54 (compilé avec l'option /Zc:wchar_t-).