We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An error occurs after catkin_make command:
[ 98%] Building CXX object pylon-ros-camera/pylon_camera/CMakeFiles/pylon_camera_node.dir/src/pylon_camera/main.cpp.o [100%] Linking CXX executable /home/khs/桌面/baslerCamera/pylon_ros/devel/lib/pylon_camera/pylon_camera_node /home/khs/桌面/baslerCamera/pylon_ros/devel/lib/libpylon_camera.so:对‘cv::Mat::Mat()’未定义的引用 collect2: error: ld returned 1 exit status pylon-ros-camera/pylon_camera/CMakeFiles/pylon_camera_node.dir/build.make:170: recipe for target '/home/khs/桌面/baslerCamera/pylon_ros/devel/lib/pylon_camera/pylon_camera_node' failed make[2]: *** [/home/khs/桌面/baslerCamera/pylon_ros/devel/lib/pylon_camera/pylon_camera_node] Error 1 CMakeFiles/Makefile2:4048: recipe for target 'pylon-ros-camera/pylon_camera/CMakeFiles/pylon_camera_node.dir/all' failed make[1]: *** [pylon-ros-camera/pylon_camera/CMakeFiles/pylon_camera_node.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed
before this step, everything goes right, how to solve this problem? thanks~
The text was updated successfully, but these errors were encountered:
/home/khs/ros_workspace/devel/lib/libpylon_camera.so: undefined reference to `cv::Mat::Mat()' collect2: error: ld returned 1 exit status pylon-ros-camera/pylon_camera/CMakeFiles/pylon_camera_node.dir/build.make:170: recipe for target '/home/khs/ros_workspace/devel/lib/pylon_camera/pylon_camera_node' failed make[2]: *** [/home/khs/ros_workspace/devel/lib/pylon_camera/pylon_camera_node] Error 1 CMakeFiles/Makefile2:4048: recipe for target 'pylon-ros-camera/pylon_camera/CMakeFiles/pylon_camera_node.dir/all' failed make[1]: *** [pylon-ros-camera/pylon_camera/CMakeFiles/pylon_camera_node.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed
Sorry, something went wrong.
Hello,
I think some dependencies are missing in your system, probably cv_bridge. Did you call rosdep?
rosdep update && sudo rosdep install --from-paths . --ignore-src --rosdistro=$ROS_DISTRO -y
Regards
No branches or pull requests
An error occurs after catkin_make command:
[ 98%] Building CXX object pylon-ros-camera/pylon_camera/CMakeFiles/pylon_camera_node.dir/src/pylon_camera/main.cpp.o
[100%] Linking CXX executable /home/khs/桌面/baslerCamera/pylon_ros/devel/lib/pylon_camera/pylon_camera_node
/home/khs/桌面/baslerCamera/pylon_ros/devel/lib/libpylon_camera.so:对‘cv::Mat::Mat()’未定义的引用
collect2: error: ld returned 1 exit status
pylon-ros-camera/pylon_camera/CMakeFiles/pylon_camera_node.dir/build.make:170: recipe for target '/home/khs/桌面/baslerCamera/pylon_ros/devel/lib/pylon_camera/pylon_camera_node' failed
make[2]: *** [/home/khs/桌面/baslerCamera/pylon_ros/devel/lib/pylon_camera/pylon_camera_node] Error 1
CMakeFiles/Makefile2:4048: recipe for target 'pylon-ros-camera/pylon_camera/CMakeFiles/pylon_camera_node.dir/all' failed
make[1]: *** [pylon-ros-camera/pylon_camera/CMakeFiles/pylon_camera_node.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
before this step, everything goes right, how to solve this problem? thanks~
The text was updated successfully, but these errors were encountered: