문제

I've applied Compile boost C++11 clang mac cannot find cstddef and invoked build as follows ./b2 variant=debug,release --layout=versioned toolset=clang cxxflags="-fPIC -std=c++11 -stdlib=libc++ -arch i386 -arch x86_64" linkflags="-stdlib=libc++ -arch i386 -arch x86_64" threading=multi link=shared --stagedir=stage_darwin_intel_shared_mt stage

And everything builds, except for a log of warnings and except for Boost.Wave fails: http://pastebin.com/ZHkmTWaq

P.S. Static flavor of boost builds Wave fine.

도움이 되었습니까?

해결책

Correct compilation

./b2 variant=debug,release --layout=versioned toolset=clang cxxflags="-fPIC -std=c++11 -stdlib=libc++ -arch i386 -arch x86_64" linkflags="-std=c++11 -stdlib=libc++ -arch i386 -arch x86_64" threading=multi link=shared --stagedir=stage_darwin_intel_shared_mt stage
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top