我在~/progs/cppcms/cppcms-1.0.1/build
中安装了cppcms。
我安装了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!
我尝试了很少的东西,却无法让它发挥作用。有什么建议?
答案 0 :(得分: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>
答案 1 :(得分:0)
提出此类问题的最佳位置是在cppcms邮件列表中: https://lists.sourceforge.net/lists/listinfo/cppcms-users
cppcms创建者非常积极地支持那里的用户,你一定会得到最合适的答案。