我想在Windows 7 64位下的Cygwin下編譯boost 1.50.0。無法在Windows 7上的Cygwin下編譯boost 1.50.0 64位
我運行命令:
./bootstrap.sh –prefix=boost/
和我回去:
Building Boost.Build engine with toolset gcc...
Failed to build Boost.Build build engine
Consult 'bootstrap.log' for more details
這裏是日誌:
###
### Using 'gcc' toolset.
###
rm -rf bootstrap
mkdir bootstrap
gcc -o bootstrap/jam0 command.c compile.c constants.c debug.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathunix.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c md5.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c
function.c: In function ‘var_edit_shift’:
function.c:653:13: warning: ‘cygwin_conv_to_win32_path’ is deprecated (declared at /usr/include/sys/cygwin.h:36) [-Wdeprecated-declarations]
./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root= clean
./build.sh: line 13: 8144 Segmentation fault [email protected]
可能是什麼問題呢?如何解決它?
不知道你是否能構建二進制庫尚未(通常大多數boost只是頭文件,你只需手動建立一些庫)。但以我的經驗來看,構建/使用Boost非常複雜。 –