Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ccrescent opened this issue Sep 23, 2019 · 2 comments
Closed

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

ccrescent opened this issue Sep 23, 2019 · 2 comments

Comments

@ccrescent
Copy link

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".

@awinkler
Copy link
Member

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

@ccrescent
Copy link
Author

sorry it's my fault

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants