error when i compile makefile
After when i modify the cmakefile i get this error
-- +++ processing catkin package: 'my_first_awsome_pkg'
-- ==> add_subdirectory(my_first_awsome_pkg)
CMake Error: Error in cmake code at
/home/zora/tuto_catkin_ws/src/my_first_awsome_pkg/CMakeLists.txt:18:
Parse error. Function missing ending ")". End of file reached.
-- Configuring incomplete, errors occurred!
See also "/home/zora/tuto_catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/zora/tuto_catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
Hi,
It will be better if you provide the chuck of code your are trying to compile. Looking at that report it seems that you have your CMakeLists file wrong formed. It looks like you missed a parenthesis in line 18 and the file is not parsed correctly.
okey sir this is my CMakefile i use the example of ros c++ ""Writing a Simple Service and Client (C++)"" link text
Hi,
Yes. In line
catkin_package(
you missed a)
.Generally speaking that line is:
catkin_package()
orthanks sir