c++ - Trying to build Boost with gcc toolchain -
for reason when try run b2 toolset=gcc following.
c:\boost_1_49_0>.\b2.exe toolset=gcc c:/boost_1_49_0/tools/build/v2/tools\gcc.jam:129: in gcc.init module gcc error: toolset gcc initialization: error: no command provided, default command 'g++' not found error: initialized c:/boost_1_49_0/tools/build/v2/build\toolset.jam:38: in toolset.using modul e toolset c:/boost_1_49_0/tools/build/v2\build-system.jam:481: in process-explicit-toolset -requests module build-system c:/boost_1_49_0/tools/build/v2\build-system.jam:562: in load module build-s ystem c:\boost_1_49_0\tools\build\v2/kernel\modules.jam:283: in import module mod ules c:\boost_1_49_0\tools\build\v2\kernel\bootstrap.jam:142: in boost-build mod ule c:\boost_1_49_0\boost-build.jam:17: in module scope module what doing wrong?
edit: had add c:\mingw\bin path environment variable.
you should run command in command line can access mingw/cygwin bin directory. mean when type g++ works , doesn't return command not found. if using mingw or cygwin have dedicated command lines g++ (bin directory) paths registered in environment variables. of course can use eclipse compiling c++ apps under windows.
Comments
Post a Comment