簡體   English   中英

在mac os x mountain lion上安裝boost_1_53_0

[英]install boost_1_53_0 on mac os x mountain lion

我想在新安裝的mac os x mountain lion上安裝boost。

我已經下載了boost_1_53_0並按照我能找到的每個指南的每一步,但我仍然以相同的錯誤結束: "Failed to build Boost.Build build engine"

它甚至不會構建,甚至無法找到./b2來安裝..

有沒有人可以幫助我在這里告訴我如何安裝提升而不使用macports?

BOOTSTRAP.LOG:

###
### Using 'darwin' toolset.
###
rm -rf bootstrap
mkdir bootstrap
cc -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
./build.sh: line 15: cc: command not found

使用Homebrew(或參見Homebrew的建築方式

然后brew install boost

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM