CPP api error during Cmake .. command

#1

This happened while building my Custom app using CMAKE command:
– The C compiler identification is GNU 7.4.0
– The CXX compiler identification is GNU 7.4.0
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Using CATKIN_DEVEL_PREFIX: /home/flytbase/Desktop/onboard_apps/my_first_cpp_app/build/devel
– Using CMAKE_PREFIX_PATH:
– Found PythonInterp: /usr/bin/python (found version “2.7.15”)
– Using PYTHON_EXECUTABLE: /usr/bin/python
– Using Debian Python package layout
– Using empy: /usr/bin/empy
– Using CATKIN_ENABLE_TESTING: ON
– Call enable_testing()
– Using CATKIN_TEST_RESULTS_DIR: /home/flytbase/Desktop/onboard_apps/my_first_cpp_app/build/test_results
– Looking for pthread.h
– Looking for pthread.h - found
– Looking for pthread_create
– Looking for pthread_create - not found
– Looking for pthread_create in pthreads
– Looking for pthread_create in pthreads - not found
– Looking for pthread_create in pthread
– Looking for pthread_create in pthread - found
– Found Threads: TRUE
– Found gtest sources under ‘/usr/src/gtest’: gtests will be built
– Using Python nosetests: /usr/bin/nosetests-2.7
– catkin 0.7.8
– Could NOT find cpp_api (missing: cpp_api_DIR)
– Could not find the required component ‘cpp_api’. 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 /usr/share/catkin/cmake/catkinConfig.cmake:82 (find_package):
Could not find a package configuration file provided by “cpp_api” with any
of the following names:

cpp_apiConfig.cmake
cpp_api-config.cmake

Add the installation prefix of “cpp_api” to CMAKE_PREFIX_PATH or set
“cpp_api_DIR” to a directory containing one of the above files. If
“cpp_api” provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:10 (find_package)

– Configuring incomplete, errors occurred!
See also “/home/flytbase/Desktop/onboard_apps/my_first_cpp_app/build/CMakeFiles/CMakeOutput.log”.
See also “/home/flytbase/Desktop/onboard_apps/my_first_cpp_app/build/CMakeFiles/CMakeError.log”.