TF2 removed and catkin_make error.. [closed]
I had everything running perfect and installed. But i saw tf and TF2 both are at the same time. I was trying to do some other experiment ny creating rosbag file. I saw a sample file and it was showing /tf of tf type. But my one was showing /tf of TF2 type. So i executed the command sudo apt-get remove ros-indigo-TF2* and it started deleting a lot of packages... i could not cancel that...... then i forcly closed the terminal. After that I am getting catkin_make error. Can anyone please suggest me the solution. I already tried to add again the packages..... apt-get install tf apt-get install ros-indigo-tf rosdep update etc..... but no LUCK......... :(
The catkin_make error is given below:
Could not find a package configuration file provided by "tf" with any of the following names:
tfConfig.cmake
tf-config.cmake
Add the installation prefix of "tf" to CMAKE_PREFIX_PATH or set "tf_DIR" to a directory containing one of the above files. If "tf" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): ros-indigo-robotino/laser_to_pcl/CMakeLists.txt:7 (find_package)
-- Could not find the required component 'tf'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found. CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "tf" with any of the following names:
tfConfig.cmake
tf-config.cmake
Add the installation prefix of "tf" to CMAKE_PREFIX_PATH or set "tf_DIR" to a directory containing one of the above files. If "tf" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): ros-indigo-robotino/laser_to_pcl/CMakeLists.txt:7 (find_package)
-- Configuring incomplete, errors occurred! See also "/home/ras/kinect_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/ras/kinect_ws/build/CMakeFiles/CMakeError.log". make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed
This happened to me sometimes :D. I used rosdep to reinstall missing dependencies. That works for me almost every time. Follow this to install rosdep: http://wiki.ros.org/rosdep and this to fix the missing packages: http://answers.ros.org/question/75241...
Thanks a lot. I tried with that but was not successfull. Because it was giving another error which i was not clear. So i completely removed/purged ROS. And create a new workspace and back in to the track again. But thanks a lot for your answer.