- 论坛徽章:
- 0
|
回复 6# windoze
cmake -DBOOST_ROOT=/usr/include .. (这个目录下是有boost的,而且根据提示,也应该是输入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装了个boost,可以cmake 通过。
但是在make的时候,又有一个报错了:
|
|