1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

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

Last updated at Posted at 2021-11-17

ROSでパッケージをcloneしてきて、catkin_makeしたときに以下のようなエラーが出た。

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

解決策

cloneしたパッケージにcdして以下のコマンドを実行する。

カレントディレクトリが ~/catkin_ws/src/cloneしたパッケージ にあるとして

cmake .. && make install

このあとcatkin_wsにcdしてcatkin_makeすればmakeが通る。

1
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?