0

我正在尝试在我的 centos 7 系统中安装 openbabel-2.4.1。cmake 命令 (cmake ..) 提供无法找到 wxWidgets 和 Eigen 的信息:

-- Using included inchi library.
-- Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES) 
-- Checking available shared pointer...
-- Use std::tr1::shared_ptr in tr1/memory
-- Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK) (Required is at least version "2.91.0")
-- Could NOT find Eigen2 (missing: EIGEN2_INCLUDE_DIR EIGEN2_VERSION_OK) (Required is at least version "2.0.0")
-- Checking for module 'cairo'
--   No package 'cairo' found
-- Could NOT find Cairo (missing: CAIRO_LIBRARIES CAIRO_INCLUDE_DIRS) 
-- Could NOT find Cairo. PNG output will NOT be supported.
-- Attempting to build the GUI
--    wxWidgets not found => GUI will not be built
-- Configuring done
-- Generating done
-- Build files have been written to: /home/sunyp/software/openbabel/openbabel-2.4.1/build

实际上我已经安装了 wxWidgets-3.1.2 和 EIGEN3 并将它们的 lib 路径添加到 LD_LIBRARY_PATH 环境变量中,但是为什么 cmake 找不到它们?以及如何解决问题?先感谢您。

4

0 回答 0