Hey, I've had some trouble while following the installation, the catkin workspace wouldn't compile. The errors I've had were as follows (this is during catkin_make)
[ 1%] Built target geometry_msgs_generate_messages_lisp
[ 1%] Built target geometry_msgs_generate_messages_nodejs
[ 1%] Built target geometry_msgs_generate_messages_cpp
[ 1%] Built target std_msgs_generate_messages_lisp
[ 1%] Built target _catkin_empty_exported_target
/usr/bin/ld: cannot find -lpylonbase
/usr/bin/ld: cannot find -lpylonutility
/usr/bin/ld: cannot find -lGenApi_gcc_v3_0_Basler_pylon_v5_0
/usr/bin/ld: cannot find -lGCBase_gcc_v3_0_Basler_pylon_v5_0
[ 1%] Built target geometry_msgs_generate_messages_eus
[ 1%] Built target std_msgs_generate_messages_eus
collect2: error: ld returned 1 exit status
pylon_camera/CMakeFiles/write_device_user_id_to_camera.dir/build.make:94: recipe for target '/home/user/catkin_ws/devel/lib/pylon_camera/write_device_user_id_to_camera' failed
make[2]: *** [/home/user/catkin_ws/devel/lib/pylon_camera/write_device_user_id_to_camera] Error 1
CMakeFiles/Makefile2:2662: recipe for target 'pylon_camera/CMakeFiles/write_device_user_id_to_camera.dir/all' failed
[ 1%] Built target std_msgs_generate_messages_cpp
make[1]: *** [pylon_camera/CMakeFiles/write_device_user_id_to_camera.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 1%] Built target std_msgs_generate_messages_py
[ 1%] Built target geometry_msgs_generate_messages_py
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
What solved it for now(didn't launch it with camera yet, but it compiled)
was to change
this line
to
string(REPLACE "lib" "" LIBS_OUT "${LIBS_OUT}")
I don't know if this really solves the problem and doesn't create more problems, but it compiled, and I only saw a handful of people with this error I thought I should mention this.
Hey, I've had some trouble while following the installation, the catkin workspace wouldn't compile. The errors I've had were as follows (this is during catkin_make)
What solved it for now(didn't launch it with camera yet, but it compiled) was to change this line to
string(REPLACE "lib" "" LIBS_OUT "${LIBS_OUT}")
I don't know if this really solves the problem and doesn't create more problems, but it compiled, and I only saw a handful of people with this error I thought I should mention this.