c++ - Boost Library Build -


i try build boost library visual studio. follow boost lib build instructions , stackoverflow link. open visual studio command prompt (2010) adminstator , run bootstrap.bat. then, build failed. @ .log file more information.

using 'vc10' toolset.

generating code...

microsoft (r) incremental linker version 10.00.40219.01

copyright (c) microsoft corporation. rights reserved.

there 1 interface on system:

name : wi-fi

...

hosted network status : not started

link : fatal error lnk1181: cannot open input file 'there.obj'

i'm not sure enough understand error, don't have else. changed tools/build/v2/engine/build.bat , remove part;

if not "_%vs110comntools%_" == "__" (      set "boost_jam_toolset=vc11"      set "boost_jam_toolset_root=%vs110comntools%..\..\vc\"      goto :eof)  call :clear_error  if exist "%programfiles%\microsoft visual studio 11.0\vc\vcvarsall.bat" (      set "boost_jam_toolset=vc11"      set "boost_jam_toolset_root=%programfiles%\microsoft visual studio 11.0\vc\"      goto :eof)  call :clear_error 

i use vs2010 , win8

i had same.

clean boost folder (bin.v2 , stage folders), call

set vs120comntools= 

and call once again (sampel below x64, x32 change address-model accordingly):

bootstrap.bat b2 address-model=64 toolset=msvc-11.0 --build-type=complete stage --with-filesystem --with-signals --with-system 

Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -