problem adding library
I have a header meanshift.h and main file for it meanshift.cpp. I want to add it inside a ros node test.cpp. I tried below code but its not working:
include_directories(
# include
${catkin_INCLUDE_DIRS}
/usr/include/CL/
include/devils_eye_pkg/
)
add_library(mean_shift src/mean_shift.cpp)
target_link_libraries(mean_shift ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
What is the problem in this code? How should i do this ?
as always: just stating "it's not working" is not going to be sufficient for others to help you.
You may want to add a little more detail to your post (such as a verbatim copy of the error message(s)).