ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

please i'm new users of ros and i don't understand this probleme can you help me

asked 2015-11-18 18:19:47 -0600

bleuscreen gravatar image

updated 2015-11-19 02:07:35 -0600

gvdhoorn gravatar image
-- +++ processing catkin package: 'chapter2_tutorials'
-- ==> add_subdirectory(chapter2_tutorials)
-- Configuring done
CMake Error at chapter2_tutorials/CMakeLists.txt:189 (add_executable):
  Cannot find source file:


  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/home/dev/catkin_ws/build
make: *** [cmake_check_build_system] Erreur 1
Invoking "make cmake_check_build_system" failed
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-11-18 18:55:55 -0600

ahendrix gravatar image

This error is telling you that there isn't a file named exaple1_b.cpp in the src directory in the chapter2_tutorials package.

Does that file exist?

It looks like you're following a tutorial or working from a textbook; it would be helpful if you included a link to it in your question.

edit flag offensive delete link more


Please, in future, also provide a more meaningful question title and more information in your question. Not just the pure error message.

BennyRe gravatar image BennyRe  ( 2015-11-19 03:24:46 -0600 )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


Asked: 2015-11-18 18:19:47 -0600

Seen: 92 times

Last updated: Nov 19 '15