Invoking "make -j8 -l8" failed
Hi I get this error while building Object Recognition Kitchen and have no idea what to do:
[ 24%] Building CXX object object_recognition_core/src/io/CMakeFiles/voter_ectomodule.dir/module_voter.cpp.o
Linking CXX executable /home/tomas/ork/devel/lib/object_recognition_renderer/trainer_planar
[ 24%] Built target trainer_planar
[ 24%] Building CXX object object_recognition_core/src/db/CMakeFiles/db_ectomodule.dir/ModelWriter.cpp.o
[ 24%] Building CXX object object_recognition_core/src/db/CMakeFiles/db_ectomodule.dir/ObservationReader.cpp.o
[ 25%] Building CXX object object_recognition_core/src/db/CMakeFiles/db_ectomodule.dir/ObservationWriter.cpp.o
Linking CXX shared library /home/tomas/ork/devel/lib/libobject_recognition_core_common.so
[ 25%] Built target object_recognition_core_common
Linking CXX shared library /home/tomas/ork/devel/lib/python2.7/dist-packages/object_recognition_core/boost/common.so
[ 25%] Built target common_interface
Linking CXX shared library /home/tomas/ork/devel/lib/python2.7/dist-packages/object_recognition_core/ecto_cells/voter.so
[ 25%] Built target voter_ectomodule
Linking CXX shared library /home/tomas/ork/devel/lib/python2.7/dist-packages/object_recognition_core/ecto_cells/db.so
[ 25%] Built target db_ectomodule
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
This is for catkin_make -j1
Base path: /home/tomas/ork
Source space: /home/tomas/ork/src
Build space: /home/tomas/ork/build
Devel space: /home/tomas/ork/devel
Install space: /home/tomas/ork/install
####
#### Running command: "make cmake_check_build_system" in "/home/tomas/ork/build"
####
####
#### Running command: "make -j1" in "/home/tomas/ork/build"
####
[ 0%] Built target _object_recognition_msgs_generate_messages_check_deps_RecognizedObject
[ 0%] Built target std_msgs_generate_messages_py
[ 0%] Built target _object_recognition_msgs_generate_messages_check_deps_ObjectRecognitionGoal
[ 0%] Built target actionlib_msgs_generate_messages_py
[ 0%] Built target geometry_msgs_generate_messages_py
[ 0%] Built target shape_msgs_generate_messages_py
[ 0%] Built target _object_recognition_msgs_generate_messages_check_deps_TableArray
[ 0%] Built target sensor_msgs_generate_messages_py
[ 0%] Built target _object_recognition_msgs_generate_messages_check_deps_ObjectRecognitionActionResult
[ 0%] Built target _object_recognition_msgs_generate_messages_check_deps_ObjectRecognitionActionFeedback
[ 0%] Built target _object_recognition_msgs_generate_messages_check_deps_RecognizedObjectArray
[ 0%] Built target _object_recognition_msgs_generate_messages_check_deps_ObjectInformation
[ 0%] Built target _object_recognition_msgs_generate_messages_check_deps_ObjectRecognitionFeedback
[ 0%] Built target _object_recognition_msgs_generate_messages_check_deps_GetObjectInformation
[ 0%] Built target _object_recognition_msgs_generate_messages_check_deps_Table
[ 0%] Built target _object_recognition_msgs_generate_messages_check_deps_ObjectRecognitionResult
[ 0%] Built target _object_recognition_msgs_generate_messages_check_deps_ObjectType
[ 0%] Built target _object_recognition_msgs_generate_messages_check_deps_ObjectRecognitionAction
[ 0%] Built target _object_recognition_msgs_generate_messages_check_deps_ObjectRecognitionActionGoal
[ 5%] Built target object_recognition_msgs_generate_messages_py
[ 5%] Built target actionlib_msgs_generate_messages_cpp
[ 5%] Built target shape_msgs_generate_messages_cpp
[ 5%] Built target sensor_msgs_generate_messages_cpp
[ 5%] Built target std_msgs_generate_messages_cpp
[ 5%] Built target geometry_msgs_generate_messages_cpp
[ 9%] Built target object_recognition_msgs_generate_messages_cpp
[ 9%] Built target geometry_msgs_generate_messages_lisp
[ 9%] Built target shape_msgs_generate_messages_lisp
[ 9%] Built target actionlib_msgs_generate_messages_lisp
[ 9%] Built target std_msgs_generate_messages_lisp
[ 9%] Built target sensor_msgs_generate_messages_lisp
[ 13%] Built target object_recognition_msgs_generate_messages_lisp
[ 13%] Built target object_recognition_msgs_generate_messages
[ 13%] Built target object_recognition_renderer_2d
[ 14%] Building CXX object ork_renderer/src/CMakeFiles/object_recognition_renderer_3d.dir/model.cpp.o
In file included from /home/tomas/ork/src/ork_renderer/src/model.cpp:30:0:
/home/tomas/ork/src/ork_renderer/src/model.h:33:21: fatal error: SDL/SDL.h: No such file or directory
#include <SDL/SDL.h>
^
compilation terminated.
make[2]: *** [ork_renderer/src/CMakeFiles/object_recognition_renderer_3d.dir/model.cpp.o] Error 1
make[1]: *** [ork_renderer/src/CMakeFiles/object_recognition_renderer_3d.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j1" failed
The actual error is most likely somewhere earlier. Please try
catkin_make -j1
and copy/paste the actual error message in your question (use the edit button/link for that).@gvdhoorn I just edited my question
it seems you don't have access to SDL/SDL.h. Can you post the complete path of this header?
catkin_make -j1
helped me. thank you