Hector Nav Msgs build error - in Eclipse
I am new to ROS, and Linux, but have experience with Eclipse in windows environment. I have a few nodes (including Hector SLAM catkin) all functioning using ROS_MAKE and ROSRUN from the terminal. I know the code is OK. Now working to setup eclipse, and am to the point where the nodes will compile in Eclipse so I have worked out the obvious dependencies issue that plague many people including myself. (using this page: wiki.ros.org/ODEs#Eclipse)
Error now is that in some of the build files the get_pkg_map is being called but not getting returned and instead generates error that CMAKE_PREFIX_PATH environment variable isn't set. Exact error wording is below.
I have added the CMAKE_PREFIX_PATH environment variable to Eclipse and set it to same value as echo'd by terminal. "/home/linux/catkin_ws/devel:/opt/ros/jade"
Can you point me towards what I am missing? I apologize if this belongs in an Eclipse forum but the files generating the errors are part of ROS so thought better to start here. Appreciate any help you can provide.
[ 24%] Generating EusLisp manifest code for hector_nav_msgs
cd /home/linux/catkin_ws/build/hector_slam-catkin/hector_nav_msgs && ../../catkin_generated/env_cached.sh /usr/bin/python /opt/ros/jade/share/geneus/cmake/../../../lib/geneus/gen_eus.py -m -o /home/linux/catkin_ws/devel/share/roseus/ros/hector_nav_msgs hector_nav_msgs nav_msgs std_msgs
Traceback (most recent call last):
ERROR: Neither the environment variable CMAKE_PREFIX_PATH is set nor was a list of paths passed.
File "/opt/ros/jade/lib/python2.7/dist-packages/geneus/geneus_main.py", line 133, in genmain
pkg_map = get_pkg_map()
File "/opt/ros/jade/lib/python2.7/dist-packages/geneus/geneus_main.py", line 55, in get_pkg_map
for ws in workspaces.get_spaces():
File "/usr/lib/python2.7/dist-packages/catkin_pkg/workspaces.py", line 52, in get_spaces
raise RuntimeError('Neither the environment variable CMAKE_PREFIX_PATH is set nor was a list of paths passed.')
RuntimeError: Neither the environment variable CMAKE_PREFIX_PATH is set nor was a list of paths passed.
make[2]: Leaving directory `/home/linux/catkin_ws/build'
make[2]: *** [/home/linux/catkin_ws/devel/share/roseus/ros/hector_nav_msgs/manifest.l] Error 3
make[1]: Leaving directory `/home/linux/catkin_ws/build'
make[1]: *** [hector_slam-catkin/hector_nav_msgs/CMakeFiles/hector_nav_msgs_generate_messages_eus.dir/all] Error 2
make: *** [all] Error 2
UPADTED: Forgot the setup info. This is on Ubuntu 14.04, ROS JADE, Mars2 Eclipse Linux 32 bit