ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Is this really your CMakeLists.txt? Did you copy-paste it? It is not in a valid format since the comment character in cmake is not //
but #
. Does the error message maybe indicate that your CMakeLists.txt is invalid?
2 | No.2 Revision |
Is this really your CMakeLists.txt? Did you copy-paste it? It is not in a valid format since the comment character in cmake is not //
but #
. Does the error message maybe indicate that your CMakeLists.txt is invalid?
Edit: Apparently, you have an error in your code and the compiler complains. Probably something with either a call to subscribe or something with the signature of a callback. Without seeing your code, it's hard to say what exactly is wrong but you will have to fix your code.