Skip to content

Instantly share code, notes, and snippets.

@Kronos11
Created August 26, 2012 10:14
Show Gist options
  • Save Kronos11/3476844 to your computer and use it in GitHub Desktop.
Save Kronos11/3476844 to your computer and use it in GitHub Desktop.
Building deps for SWGANH
download boost 1.49
run bootstrap.bat
run command .\b2 --build-dir=bin toolset=msvc11
modify user-config.jam
# using msvc : 11.0 : : <cxxflags>-D _SECURE_SCL=0 <cxxflags>-D _HAS_ITERATOR_DEBUGGING=0 ;
bjam debug release link=shared threading=multi runtime-link=shared define=_SECURE_SCL=0 define=_HAS_ITERATOR_DEBUGGING=0 toolset=msvc-11.0
.\b2 debug release link=shared threading=multi runtime-link=shared define=_SECURE_SCL=0 define=_HAS_ITERATOR_DEBUGGING=0 toolset=msvc-11.0 -j8
don't forget to build boost.log with it... has to be added in seperately
Get "bleeding-edge"
Also have to build in link = static
log isn't building in shared, neither is iostreams
////////////////
bjam --toolset=msvc cxxflags="-D_SECURE_SCL=0 -D_HAS_ITERATOR_DEBUGGING=0" --build-type=complete --without-wave --without-mpi --without-graph --prefix=../boost_1_50_0_install/ --builddir=../boost_build/ install -j8
bjam --toolset=msvc cxxflags="-D_SECURE_SCL=0 -D_HAS_ITERATOR_DEBUGGING=0" --build-type=complete --with-log --prefix=../boost_1_51_0_install/ --builddir=../boost_build/ -j8
mysql c connector...
also need to recompile mysql cpp connector... with the built mysql c connector...
recompiled with has iterator debugging = 0
and secure_scl = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment