在Mac上编写libjreen时遇到以下消息。
$ cmake ..
-- checking for module 'qca2'
-- package 'qca2' not found
CMake Error at /opt/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find QCA2 (missing: QCA2_LIBRARIES QCA2_INCLUDE_DIR)
Call Stack (most recent call first):
/opt/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
cmake/FindQCA2.cmake:44 (find_package_handle_standard_args)
CMakeLists.txt:22 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
如何继续安装qca2?
更新我已经通过macports安装了qca而没有任何运气。看来我需要在macports上不存在的libqca2-devel。如何安装libqca2-devel?
答案 0 :(得分:0)
嗯,这个问题已经解决了。 我不得不从源代码安装qca2,以便cmake可以把它拿起来