Invoking "make -j8 -l8" failed
I am trying to set up a calibration code using
http://wiki.ros.org/industrial_extrin...
for my laptop using Ubuntu 14.04 ROS Indigo Kinect 1 Model:1414 for my school project.
i did catkin_make and got this error:
[ 67%] Generating C++ code from industrial_extrinsic_cal/calibrate.srv
make[2]: *** [srdfdom/CMakeFiles/srdfdom.dir/src/model.cpp.o] Error 1
make[1]: *** [srdfdom/CMakeFiles/srdfdom.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 67%] Built target industrial_extrinsic_cal_generate_messages_cpp
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
I also did a catkin_make -j1 which I got:
...
[ 46%] Building CXX object srdfdom/CMakeFiles/srdfdom.dir/src/model.cpp.o
/home/landon/catkin_ws/src/srdfdom/src/model.cpp: In member function ‘void srdf::Model::loadGroups(const urdf::ModelInterface&, TiXmlElement*)’:
/home/landon/catkin_ws/src/srdfdom/src/model.cpp:182:7: error: ‘LinkConstSharedPtr’ is not a member of ‘urdf’
urdf::LinkConstSharedPtr l = urdf_model.getLink(tip_str);
^
/home/landon/catkin_ws/src/srdfdom/src/model.cpp:182:32: error: expected ‘;’ before ‘l’
urdf::LinkConstSharedPtr l = urdf_model.getLink(tip_str);
^
/home/landon/catkin_ws/src/srdfdom/src/model.cpp:184:24: error: ‘l’ was not declared in this scope
while (!found && l)
^
/home/landon/catkin_ws/src/srdfdom/src/model.cpp:194:9: error: ‘l’ was not declared in this scope
l = urdf_model.getLink(base_str);
^
make[2]: *** [srdfdom/CMakeFiles/srdfdom.dir/src/model.cpp.o] Error 1
make[1]: *** [srdfdom/CMakeFiles/srdfdom.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j1" failed
Could anyone help me on what to do next? Thank you in advance.
You write you are on Indigo, but what branch of
industrial_calibration
are you trying to compile?Also: can you tell us why you are compiling packages like
srdfdom
from sources? I have a suspicion that you are trying to compile code targeted at ROS Kinetic on Indigo.I am quite new to Ubuntu so I blindly followed whichever guide i found. The cmake error told me i had missing file so i went to github to install or do sudo apt-get install ros-indigo-"name-of-dependency" i got the srdfdom from git clone https://github.com/ros-planning/srdfdom
Ok i just did a rm -rf srdfdom and did a sudo apt-get install ros-indigo-srdfdom. I then got another error. CMake Error at /opt/ros/indigo/share/catkin/cmake/safe_execute_process.cmake:11 (message): execute_process(/usr/bin/python "/opt/ros/indigo/share/catkin/cmake/parse_package_xml.py"
Ok. Take a step back: if you don't need ROS from sources, follow the regular Ubuntu installation tutorial. Remove whatever workspace you currently have, then install ROS using the tutorial, verify basic things work. Then report back.
I've removed the answer you posted (which contained info that should've gone into an update on your original question), and also some related comments. There is no point in diagnosing what is going wrong there, as I don't think you need to / want to / should install from sources.
Finally: can you tell us which guide you used, and how you found it? Novices should not start with installing ROS from sources, unless absolutely necessary (ie: if you're on an unsupported platform fi).
http://wiki.ros.org/indigo/Installati...