Can't start web_video_server after sourcing catkin_workspace
Hi, I installed the web_video_server (http://wiki.ros.org/web_video_server) from the robot web tools via
apt install ros-kinetic-web-video-server
if i source the setup.sh from the main ros installtion
source /opt/ros/kinetic/setup.bash
i can start the video server via
rosrun web_video_server web_video_server
But when i overlay my catkin workspace via
source ~/catkin_ws/devel/setup.sh
trying to start the server returns:
[rosrun] Couldn't find executable named web_video_server below /opt/ros/kinetic/share/web_video_server [rosrun] Found the following, but they're either not files, [rosrun] or not executable: [rosrun] /opt/ros/kinetic/share/web_video_server
I can still start other standard ROS packages after overlaying the workspace with rosrun but not the web server. It looks like ROS is looking in the wrong place for the executable after overlaying the workspace as the executable is located under
opt/ros/kinetic/lib/web_video_server
not under
opt/ros/kinetic/share/web_video_server
Do i have to modify my catkin setup.sh so ROS looks under the lib folder for installed packages?
I can't remember if that node is python, but if it is, is the file executable?
No its not a python node it is written in C++, and it is executable otherwise I wouldn't be able to start it when sourcing the ROS default setup.sh