ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

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?

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.