1

在 Mac 上 cmake-ing 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?

4

1 回答 1

0

嗯,这个问题解决了。我必须从源代码安装 qca2 以便 cmake 可以获取它

于 2012-04-08T17:21:17.230 回答