Setting up Catkin Baxter Environment Error - INDIGO
Ubuntu 14.04.2 LTE
I'm trying to setup a workspace to simulate Baxter in gazebo with Ros Indigo. When I run catkin_make in my workspace i get the following error:
[100%] Building CXX object baxter_simulator/baxter_sim_hardware/CMakeFiles/baxter_emulator.dir/src/baxter_emulator.cpp.o
...
...
[100%] Building CXX object baxter_simulator/baxter_sim_hardware/CMakeFiles/baxter_emulator.dir/src/baxter_emulator.cpp.o
Built target kinematics
/home/veyorokon/ros/baxter_ws/src/baxter_simulator/baxter_sim_hardware/src/baxter_emulator.cpp: In member function ‘void baxter_en::baxter_emulator::publish(const string&)’:
/home/veyorokon/ros/baxter_ws/src/baxter_simulator/baxter_sim_hardware/src/baxter_emulator.cpp:284:21: error: ‘imread’ is not a member of ‘cv’
cv_ptr->image = cv::imread(img_path, CV_LOAD_IMAGE_UNCHANGED);
^
make[2]: *** [baxter_simulator/baxter_sim_hardware/CMakeFiles/baxter_emulator.dir/src/baxter_emulator.cpp.o] Error 1
make[1]: *** [baxter_simulator/baxter_sim_hardware/CMakeFiles/baxter_emulator.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
This error has been haunting me for the past three days...