build boost c++ with mingw -


does have specify cxxflags=-std=c++11 when build boost c++ library? using mingw 4.8.0 (x32,posix,dwarf, same provided qt 5.1.0) , boost c++ 1.54.0 (with patches specified in boost download page).

for building boost not necessary on system (gcc 4.8.1, x64). used on windows command promt (not msys):

bootstrap mingw  bjam toolset=gcc link=shared variant=debug,release 

alternatively may use b2 (reference). have have boost in include path, though

export cflags="-i/path_to_boost/boost_1_54_0" export cxxflags="-i/path_to_boost/boost_1_54_0" 

for compiling programs should use c++11 features, need it; independent if boost used.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -