簡體   English   中英

Boost庫的構建失敗

[英]Building of boost libraries fails

我正在嘗試使用mingw編譯器4.9.2在Windows中構建Boost庫1.58.0,但失敗。

引導輸出給我以下消息:

使用“ mingw”工具集。

C:\\ boost_1_58_0 \\ tools \\ build \\ src \\ engine>如果存在bootstrap rd / S / Q bootstrap

C:\\ boost_1_58_0 \\ tools \\ build \\ src \\ engine> md引導程序

C:\\ boost_1_58_0 \\ tools \\ build \\ src \\ engine> gcc -DNT -o bootstrap \\ jam0.exe command.c compile.c constants.c debug.c execcmd.c execnt.c filent.cframes.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c list.c make.c make1.c object.c option.c output.c parse.c pathnt.c pathsys.c regexp。 c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c Builtins.c md5.c class.c cwd.c w32_getreg.c native.c modules / set。 c模塊/path.c模塊/regex.c模塊/property-set.c模塊/sequence.c模塊/order.c

C:\\ boost_1_58_0 \\ tools \\ build \\ src \\ engine>。\\ bootstrap \\ jam0 -f build.jam --toolset = mingw“ --toolset-root =”“干凈...找到1個目標......正在更新1個目標... [刪除]干凈...已更新1個目標...

C:\\ boost_1_58_0 \\ tools \\ build \\ src \\ engine>。\\ bootstrap \\ jam0 -f build.jam --toolset = mingw“ --toolset-root =”“ ...找到159個目標... ...正在更新2目標... [COMPILE] bin.ntx86_64 \\ b2.exe [復制] bin.ntx86_64 \\ bjam.exe ...更新了2個目標...

C:\\ boost_1_58_0 \\ tools \\ build \\ src \\ engine>退出/ b 0

在我看來,不清楚是哪個錯誤。

提前致謝。 尼科斯

\\boost_root\\tools\\build\\src\\engine執行build.bat gcc對我來說是有效的,盡管我同時擁有更新版本的Boost和更新得多的MinGW。

據我所知,盡管它可能接受mingw作為參數,但一段時間以來,該文檔已經使用並建議將gcc作為工具鏈名稱。

請參閱Build Boost文檔:確定您的工具集

再次在上面讀取輸出; 您確定有錯誤嗎?

它說它復制了b2.exe和bjam.exe,它們是預期的輸出,不是嗎? 檢查引用的目錄: [COMPILE] bin.ntx86_64\\b2.exe [COPY] bin.ntx86_64\\bjam.exe (\\ boost_root \\ tools \\ build \\ src \\ engine \\ bin.ntx86 \\)中的文件。

暫無
暫無

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

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