gpt4 book ai didi

c++ - 柠檬安装 SOPLEX、COIN 和 ILOG 库

转载 作者:太空宇宙 更新时间:2023-11-04 13:21:32 24 4
gpt4 key购买 nike

我试图在 Ubuntu 14.04 上安装 Lemon。我按照他们文档中的说明进行操作。在“cmake ..”命令中,我得到如下错误

aniket@aniket-Lenovo-G50-45:~/lemon-1.3.1/build$ cmake ..
CMake Error at CMakeLists.txt:3 (CMAKE_POLICY):
Policy "CMP0048" is not known to this version of CMake.

-- Could NOT find ILOG (missing: ILOG_CPLEX_LIBRARY ILOG_CPLEX_INCLUDE_DIR)
-- Could NOT find COIN (missing: COIN_INCLUDE_DIR COIN_CBC_LIBRARY COIN_CBC_SOLVER_LIBRARY COIN_CGL_LIBRARY COIN_CLP_LIBRARY COIN_COIN_UTILS_LIBRARY COIN_OSI_LIBRARY COIN_OSI_CBC_LIBRARY COIN_OSI_CLP_LIBRARY)
-- Could NOT find SOPLEX (missing: SOPLEX_LIBRARY SOPLEX_INCLUDE_DIR)
-- Configuring incomplete, errors occurred!
See also "/home/aniket/lemon-1.3.1/build/CMakeFiles/CMakeOutput.log".
See also "/home/aniket/lemon-1.3.1/build/CMakeFiles/CMakeError.log".

我尝试更新和升级 Cmake 以防万一。但是,它没有帮助。那么,这是关于未安装的库(COIN、ILOG 等)吗?如何安装它们?

最佳答案

没有,我刚刚通过在 CMakeLists.txt 中注释第三行成功安装:

#CMAKE_POLICY(SET CMP0048 OLD)

所以,问题不在COIN、ILOG等

关于c++ - 柠檬安装 SOPLEX、COIN 和 ILOG 库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35090258/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com