error while using catkin_make in beginners tutorials(simple publisher and subscriber)

asked 2014-06-14 14:39:29 -0500

tejdeep gravatar image

I am doing the beginners_tutorials (writing a simple publisher and subscriber).After editing CMakeLists.txt and using catkin_make command,I got the following error at the end of the list

CMake Error at beginner_tutorials/CMakeLists.txt:160 (include_directories): Syntax error in cmake code at

/home/tejdeep/catkin_ws/src/beginner_tutorials/CMakeLists.txt:160

when parsing string

${{catkin_

syntax error, unexpected $end, expecting }} (9)

-- Configuring incomplete, errors occurred! make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed

please help me out . Thanks in advance.

edit retag flag offensive close merge delete

Comments

You'll have to post your CMakeLists.txt file, but I think you have double `{` where you should only have `${catkin_`...

William gravatar image William  ( 2014-06-14 16:39:45 -0500 )edit