0

我在~/progs/cppcms/cppcms-1.0.1/build. 我安装了 cppblog 的所有先决条件并尝试安装博客,但出现错误:

~/progs/cppcms/cppblog_0.1.0/build 
> cmake ..
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
INC_CPPDB
   used as include directory in directory /home/kirill/progs/cppcms/cppblog_0.1.0
INC_MARKDOWN
   used as include directory in directory /home/kirill/progs/cppcms/cppblog_0.1.0
LIB_CPPDB
    linked by target "cppblog" in directory /home/kirill/progs/cppcms/cppblog_0.1.0
    linked by target "cppblog_migrate" in directory /home/kirill/progs/cppcms/cppblog_0.1.0
LIB_MARKDOWN
    linked by target "cppblog" in directory /home/kirill/progs/cppcms/cppblog_0.1.0

-- Configuring incomplete, errors occurred!

我尝试了几件事,但无法让它工作。有什么建议么?

4

2 回答 2

1

它无法找到 CppDB 和 Markdown 的库或包含文件。

假设这些已经安装,您应该能够使用以下参数运行 CMake:

-DCMAKE_LIBRARY_PATH:PATH=<path to CppDB lib>;<path to Markdown lib> -DCMAKE_INCLUDE_PATH:PATH=<path to CppDB includes>;<path to Markdown includes>
于 2012-04-24T01:33:39.887 回答
0

提出此类问题的最佳地点是 cppcms 邮件列表: https ://lists.sourceforge.net/lists/listinfo/cppcms-users

cppcms 创建者非常积极地支持那里的用户,您一定会得到最合适的答案。

于 2012-04-25T04:55:33.287 回答