1
理論上,需要使用b2
來構建助推器。在我的情況下,與b2 --build-dir=c:\boost\ --toolset=msvc complete stage
。當「b2」不起作用時,我該如何構建Boost
這將產生一個警告the --build-dir option was specified but Jamroot at '.' specified no project id the --build-dir option will be ignored
(看起來無害的),然後是致命的通知[原文]`
could not find main target complete
assuming it is a name of file to create.
could not find main target stage
assuming it is a name of file to create.
顯然目標已被重命名。什麼是建立正確的目標?
谷歌搜索只發現幾個點擊,沒有在當前(1.54.0)增強版本。
你可以嘗試使用'b2 --build-dir = c:\ boost \ toolset = msvc --build-type = complete stage'?我懷疑這個問題是由於你使用'complete'。您需要從包含'boost','doc','libs','more'等的目錄中執行此操作。 – llonesmiz
@cv_and_he:+1,看起來好多了。 – MSalters