Although the file addd_two_ints_client.cpp is present in /src/ ,I'm getting this error. Please help me out. I'm stuck here [closed]
edit
kv@kv:~/catkin_ws$ catkin_make
Base path: /home/kv/catkin_ws
Source space: /home/kv/catkin_ws/src
Build space: /home/kv/catkin_ws/build
Devel space: /home/kv/catkin_ws/devel
Install space: /home/kv/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/kv/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/kv/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/kv/catkin_ws/devel;/opt/ros/indigo
-- This workspace overlays: /home/kv/catkin_ws/devel;/opt/ros/indigo
-- 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/kv/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.16
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - beginner_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'beginner_tutorials'
-- ==> add_subdirectory(beginner_tutorials)
-- Using these message generators: gencpp;genlisp;genpy
-- beginner_tutorials: 1 messages, 1 services
-- Configuring done
CMake Error at beginner_tutorials/CMakeLists.txt:211 (add_executable):
Cannot find source file:
src/add_two_ints_client.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hppkv@kv:~/catkin_ws$ catkin_make
Base path: /home/kv/catkin_ws
Source space: /home/kv/catkin_ws/src
Build space: /home/kv/catkin_ws/build
Devel space: /home/kv/catkin_ws/devel
Install space: /home/kv/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/kv/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/kv/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/kv/catkin_ws/devel;/opt/ros/indigo
-- This workspace overlays: /home/kv/catkin_ws/devel;/opt/ros/indigo
-- 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/kv/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.16
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - beginner_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'beginner_tutorials'
-- ==> add_subdirectory(beginner_tutorials)
-- Using these message generators: gencpp;genlisp;genpy
-- beginner_tutorials: 1 messages, 1 services
-- Configuring done
CMake Error at beginner_tutorials/CMakeLists.txt:211 (add_executable):
Cannot find source file:
src/add_two_ints_client.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
-- Build files have been written to: /home/kv/catkin_ws/build
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
.hxx .in .txx
-- Build files have been written to: /home/kv/catkin_ws/build
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
/* src is present in the following path */
~catkin_ws/src
Closed for the following reason
duplicate question by
gvdhoorn
close date 2016-01-30 10:34:18.284867
It would help to have more information. Where is
src
located relative to~/catkin_ws/
? Is the file in~/catkin_ws/src/beginner_tutorials/src/
? Also, use the preformatted button for terminal output, looks like101010
. If you add extra info put it as an edit to original question, not as answerThis is a duplicate of invoking catkin_make failed.
@kvmanohar22: why did you post this question yet another time? You already had two open questions about the same thing.