ethz-adrl/towr

Could not find a package configuration file provided by "ifopt"

ccrescent opened this issue · 2 comments

hello everyone, when i run cmake .. -DCMAKE_BUILD_TYPE=Release ,it shows:
gin@gin-desktop[11:31:25]:~/robot/towr/towr/build$ cmake .. -DCMAKE_BUILD_TYPE=Release
CMake Error at CMakeLists.txt:5 (find_package):
By not providing "Findifopt.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ifopt", but
CMake did not find one.

Could not find a package configuration file provided by "ifopt" (requested
version 2.0.1) with any of the following names:

ifoptConfig.cmake
ifopt-config.cmake

Add the installation prefix of "ifopt" to CMAKE_PREFIX_PATH or set
"ifopt_DIR" to a directory containing one of the above files. If "ifopt"
provides a separate development package or SDK, be sure it has been
installed.

-- Configuring incomplete, errors occurred!
See also "/home/gin/robot/towr/towr/build/CMakeFiles/CMakeOutput.log".

Install ifopt, by cloning the repo and then: cmake .. && make install on your system. You might have to reopen the terminal. Hope this helps!

sorry it's my fault