Could not find a package configuration file provided by "tf2" with any of the following names
I have downloaded the tf2 package recently and I am hoping to process the packages for my turtlebot 3 burger.
The error messages are:
Could not find the required component 'tf2'. 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/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "tf2" with any of
the following names:
tf2Config.cmake
tf2-config.cmake
Add the installation prefix of "tf2" to CMAKE_PREFIX_PATH or set "tf2_DIR"
to a directory containing one of the above files. If "tf2" provides a
separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:7 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/pi/catkin_ws/build_isolated/tf2_py/CMakeFiles/CMakeOutput.log".
See also "/home/pi/catkin_ws/build_isolated/tf2_py/CMakeFiles/CMakeError.log".
<== Failed to process package 'tf2_py':
Command '['/home/pi/catkin_ws/devel_isolated/test_rosservice/env.sh', 'cmake', '/home/pi/catkin_ws/src/geometry2/tf2_py', '-DCATKIN_DEVEL_PREFIX=/home/pi/catkin_ws/devel_isolated/tf2_py', '-DCMAKE_INSTALL_PREFIX=/home/pi/catkin_ws/install_isolated', '-G', 'Unix Makefiles']' returned non-zero exit status 1
Please advise.