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

Revision history [back]

This definitely looks like you've not quite copied the contents of the CMakeLists.txt file correctly. It seems like you have accidently pasted some HTML code into the file. I don't know what step you are actually on, so it is difficult for me to point you to the exact CMakeLists.txt that you should be comparing against. But note that most of the tutorials link to a GitHub page that will allow you to view the raw text of the correct CMakeLists.txt. For example, the Writing a Simple Publisher and Subscriber (C++) links to this CMakeLists.txt file.

Make sure that the contents of your CMakeLists.txt exactly match the tutorial that you are following. If you still can't figure it out, please edit your original question and add the contents of your CMakeLists.txt.