It looks like Boost will be my daily bread in the next months.
So I've begun to implement some small examples to understand better how it works.
First problem: I have some applications developed for both 32-bit and 64-bit architecture and I've already some libraries compiled for both the architecture into two different directories.
What can we do to accomplish the same requirements? Very easy.
Download one of the available zip files from www.boost.org
Unzip it
Open Command Prompt and enter into the unzipped directory
Run bootstrap.bat (read the documentation if you need particular libraries to include)
I am using Visual C++ 14.0 for the build phase. So:
Run b2.exe install --prefix=<libs_dir>\win_x86\boost --build-dir=build/x86 address-model=32 threading=multi --build-type=complete --stagedir=<libs_dir>\win_x86\boost\x86 --toolset=msvc-14.0 -j 4
Run b2.exe install --prefix=<libs_dir>\win_x64\boost --build-dir=build/x64 address-model=64 threading=multi --build-type=complete --stagedir=<libs_dir>\win_x64\boost\x64 --toolset=msvc-14.0 -j 4
So I've begun to implement some small examples to understand better how it works.
First problem: I have some applications developed for both 32-bit and 64-bit architecture and I've already some libraries compiled for both the architecture into two different directories.
What can we do to accomplish the same requirements? Very easy.
Download one of the available zip files from www.boost.org
Unzip it
Open Command Prompt and enter into the unzipped directory
Run bootstrap.bat (read the documentation if you need particular libraries to include)
I am using Visual C++ 14.0 for the build phase. So:
Run b2.exe install --prefix=<libs_dir>\win_x86\boost --build-dir=build/x86 address-model=32 threading=multi --build-type=complete --stagedir=<libs_dir>\win_x86\boost\x86 --toolset=msvc-14.0 -j 4
Run b2.exe install --prefix=<libs_dir>\win_x64\boost --build-dir=build/x64 address-model=64 threading=multi --build-type=complete --stagedir=<libs_dir>\win_x64\boost\x64 --toolset=msvc-14.0 -j 4





