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
Asked by zahra on 2019-10-15 16:29:15 UTC
Comments
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.
Asked by Weasfas on 2019-10-16 04:30:59 UTC
okey sir this is my CMakefile i use the example of ros c++ ""Writing a Simple Service and Client (C++)"" link text
Asked by zahra on 2019-10-16 04:53:05 UTC
Hi,
Yes. In line
catkin_package(
you missed a)
.Generally speaking that line is:
catkin_package()
orAsked by Weasfas on 2019-10-16 05:13:00 UTC
thanks sir
Asked by zahra on 2019-10-21 11:25:41 UTC