path_optimizer icon indicating copy to clipboard operation
path_optimizer copied to clipboard

Can not find IPOPT

Open fuhang1987 opened this issue 5 years ago • 1 comments
trafficstars

CMakeLists.txt:24: error: By not providing "FindIPOPT.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "IPOPT", but CMake did not find one. Could not find a package configuration file provided by "IPOPT" with any of the following names: IPOPTConfig.cmake ipopt-config.cmake Add the installation prefix of "IPOPT" to CMAKE_PREFIX_PATH or set "IPOPT_DIR" to a directory containing one of the above files. If "IPOPT" provides a separate development package or SDK, be sure it has been installed.

fuhang1987 avatar Aug 24 '20 07:08 fuhang1987

replace https://github.com/LiJiangnanBit/path_optimizer/blob/5490467cd88bcf3c86b5355d16e9f5107e26bc18/CMakeLists.txt#L20 with LIST(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)

zerolover avatar Aug 27 '20 08:08 zerolover