Ask Your Question
0

Error report "tfConfig".

asked 2020-03-24 12:33:47 -0500

Anonymous gravatar image

updated 2020-03-26 20:52:33 -0500

Hello,

I am trying to run catkin_make in my catkin_ws an error gets reported and the build fails. I am trying to work with the realsense camera but constantly keep getting build. This is the error received when catkin_make is run.

Could not find a package configuration file provided by "tfConfig" with any
  of the following names:

    tfConfigConfig.cmake
    tfconfig-config.cmake

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

After trying to run install the package with the dependencies using "sudo apt install ros-kinetic-tfConfig" the following terminal error is shown

username$ sudo apt install ros-kinetic-tfConfig
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-kinetic-tfConfig

Thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-03-24 17:40:20 -0500

nkhedekar gravatar image

updated 2020-03-24 17:40:45 -0500

I think you might have an error in your CMakeLists.txt and package.xml. The package that you list in it should be tf and not tfConfig. The Config.cmake and -config.cmake are generated when the particular package is built and checked for when building its dependancies. If you don't have the tf package, it can be installed as sudo apt-get install ros-kinetic-tf

Refer: https://answers.ros.org/question/1938...

edit flag offensive delete link more

Comments

Thank you once again

Anonymous gravatar image Anonymous  ( 2020-03-26 20:51:55 -0500 )edit

No worries, happy to help :)

nkhedekar gravatar image nkhedekar  ( 2020-03-26 21:57:42 -0500 )edit

Don't close questions when they have an answer.

Instead, please accept the answer by clicking the checkmark to the left of the answer. It will/should turn green.

gvdhoorn gravatar image gvdhoorn  ( 2020-03-27 04:54:27 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-03-24 12:33:47 -0500

Seen: 22 times

Last updated: Mar 26