Catkin_make does not compile

asked 2017-03-06 04:33:37 -0500

Dermitri gravatar image

Hey guys,

I have a problem with the ROS compiler. I code in C++ and pretty often the compiler does not apply small changes I did in the code. E.g. if I change some parts of a string. So if I change

cmd_stg="Hello World";

to cmd_stg=string2; the compiler simply ignores the changes.

I have already tried `catkin_make --force-cmake┬┤

That's very annoying. Do You have any advise?

edit retag flag offensive close merge delete


Which 'compiler' are you refering to? "ROS" basically uses CMake, which only orchestrates actual compilers and linkers through Makefiles. Can you tell us what you are doing exactly? Your CMakeLists.txt, which commands, etc.

gvdhoorn gravatar image gvdhoorn  ( 2017-03-06 10:44:05 -0500 )edit

Actually I don't know. I just installed kinetic and did't do any changes. So it should be the standard compiler. I only use catkin_make. Usually I add "add_executable" and "use_target_libraries" after I have created a new .cpp.

There are no error messages.

Dermitri gravatar image Dermitri  ( 2017-03-08 01:33:39 -0500 )edit

Please include your CMakeLists.txt into your question text. Also describe your workspace layout and how you created it. Without that information we cannot help you.

gvdhoorn gravatar image gvdhoorn  ( 2017-03-08 03:00:18 -0500 )edit