Hi team,
My build is failing with following modification to the CMakeLists.txt. It worked when I replaced src/simpe.cpp to simple.cpp.
add_executable(simple_node src/simple.cpp)
ament_target_dependencies(simple_node rclcpp)
install(TARGETS
- simple_node*
- DESTINATION lib/${PROJECT_NAME}*
- )*
# Install launch files.
install(DIRECTORY
- launch*
- DESTINATION share/${PROJECT_NAME}/*
)
Thanks,
Priya
Hi @PRIYA1402 ,
Could you please post your CMakeLists.txt file enclosed within Code-Block? It will be marked as Preformatted Text when you edit your response.
Also, could you post your actual error message fully as text (copy-paste from console) also as a code-block?
Regards,
Girish
@PRIYA1402 ,
This is correct. Now I guess your launch file has issues.
Regards,
Girish
system
Closed
4
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.