- 論壇徽章:
- 0
|
回復(fù) 6# windoze
cmake -DBOOST_ROOT=/usr/include .. (這個(gè)目錄下是有boost的,而且根據(jù)提示,也應(yīng)該是輸入boost所在的根目錄)
-- Could NOT find Boost
CMake Error at CMakeLists.txt:125 (message):
Sailfish cannot be compiled without Boost.
It is recommended to visit http://www.boost.org/ and install Boost
according to those instructions.
This build system can also download and install a local version of boost
for you (this takes a lot of time).
To fetch and build boost locally, call cmake with -DFETCH_BOOST=TRUE
-- Configuring incomplete, errors occurred!
不管怎么指定,都還是提示找不到boost。后來我用cygwin裝了個(gè)boost,可以cmake 通過。
但是在make的時(shí)候,又有一個(gè)報(bào)錯(cuò)了:
1.png (11.06 KB, 下載次數(shù): 23)
下載附件
make報(bào)錯(cuò)信息
2014-05-16 11:14 上傳
|
|