CMake Error at topic_publisher_pkg/CMakeLists.txt:207 (add_executable): No SOURCES given to target: simple_topic_publisher

I have that error when I try to compile it
“CMake Error at topic_publisher_pkg/CMakeLists.txt:207 (add_executable):
No SOURCES given to target: simple_topic_publisher”

Could you please come to my catkin_ws and check it?
Thank you very much

Hello @Phong ,

Could you share the contents of your CMakeLists.txt file here? Specifically, from the error message it looks like the error is in line 207 of this file, so you can share only that section here.

Thank you for your reply. I redid everything, and it worked for me. Thanks again

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.