Hi there,
I am trying to create a new ROS package, but when I try to build it, it doesnt show that red line that says
Linking CXX executable /home/edrone/catkin_ws/devel/lib/stream/stream_node
Then, it doesnt create the executable.
The curious thing is that it worked before, I have created several packages, and when I change something in the cpp file in those packages, it shows that line. but now i dont know what is going on with this new package.
Here is my CMakeList.txt:
cmake_minimum_required(VERSION 2.8.3)
project(camshift_drone)
find_package(catkin REQUIRED COMPONENTS
ardrone_autonomy
cv_bridge
geometry_msgs
image_transport
roscpp
sensor_msgs
std_msgs
tf
)
catkin_package()
include_directories(
${catkin_INCLUDE_DIRS}
)
add_executable(camshift_drone_node src/camshift_drone_node.cpp)
target_link_libraries(camshift_drone_node
${catkin_LIBRARIES}
)
Also, I have tried the solution of putting this line on the terminal, in my home folder, in the catkin workspace folder, but it hasnt worked.
. ~/catkin_ws/devel/setup.bash
I hope somebody can help me,
Thanks!
↧