我想在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非常复杂。 –