CPPCMS与库构建错误

Amu*_*umu 3 c++ cppcms

尽管我已经安装了open ssl,但它找不到库的位置.openssl默认存在于我的Ubuntu中,它仍然找不到,所以我下载了一个新的发行版并重新安装到/ usr/local/ssl.我通过默认的cmake命令安装:

cmake ..
Run Code Online (Sandbox Code Playgroud)

除了明确指定路径:

cmake -DCMAKE_INCLUDE_PATH=/usr/local/ssl/include -DCMAKE_LIBRARY_PATH=/usr/local/ssl/lib ..  
Run Code Online (Sandbox Code Playgroud)

它不断产生这个错误:

-- Looking for ICU libraries
-- ICU not found, disabling ICU localization backend
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:
PCRE_LIB
    linked by target "booster" in directory /home/hoangtu/Programs/cppcms-0.99.7/booster
    linked by target "booster-static" in directory /home/hoangtu/Programs/cppcms-0.99.7/booster
Run Code Online (Sandbox Code Playgroud)

这是什么意思?它应该找到开放的ssl.ICU也是默认安装在Ubuntu中的.另外,关于最后两行的内容是什么?

编辑:好的,我下载并安装ICU到我的usr目录.ICU现在找到了.现在唯一的错误仍然是:

-- Looking for ICU libraries
-- ICU Found, building booster locale
GNU-TLS Gcrypt or OpenSSL librarys are not found, disabling AES encryption support
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:
PCRE_LIB
    linked by target "booster" in directory /home/hoangtu/Programs/cppcms-0.99.7/booster
    linked by target "booster-static" in directory /home/hoangtu/Programs/cppcms-0.99.7/booster
Run Code Online (Sandbox Code Playgroud)

是助推器.Openssl仍未找到.

Amu*_*umu 5

大,

我在这里找到答案:http://cppcms.sourceforge.net/wikipp/en/page/cppcms_1x_build_troubleshooting

sudo apt-get install build-essential libpcre3-dev libicu-dev libgcrypt11-dev zlib1g-dev cmake
Run Code Online (Sandbox Code Playgroud)