I have ROS Indigo and ros-indigo-opencv3.nd ros-indigo-opencv3. Libmonocular_pose_estimator_lib.so compillig normal. New issue Failed to cross-compile with some'undefined reference' errors 11878 Closed lazylazypig opened this issue on 3 comments lazylazypig commented on OpenCV > 3.4.1 Operating System / Platform > Manjaro 17.1.10 (host) Compiler > arm-linux-gnueabi-g++ (ver 4.9. undefined reference to cv::imread(cv::String const&, int)' g++ -g main.cpp pkg-config -libs opencv error while loading shared libraries: libopencvhighgui.so.3. lib/libMVS.a(): undefined reference to symbol. SOLVED 6. home/tuuzdu/catkin_ws/devel/lib/libmonocular_pose_estimator_lib.so: undefined reference to `cv::circle(cv::_InputOutputArray const&, cv::Point_, int, cv::Scalar_ const&, int, int, int)'Ĭollect2: error: ld returned 1 exit status CMake 1.71 C++ 96.70 C 0.17 Dockerfile 0.04 Shell 0.01 Python 0.66 Cuda 0.71. home/tuuzdu/catkin_ws/devel/lib/libmonocular_pose_estimator_lib.so: undefined reference to `cv::findContours(cv::_InputOutputArray const&, cv::_OutputArray const&, int, int, cv::Point_)' home/tuuzdu/catkin_ws/devel/lib/libmonocular_pose_estimator_lib.so: undefined reference to `cv::line(cv::_InputOutputArray const&, cv::Point_, cv::Point_, cv::Scalar_ const&, int, int, int)' Linking CXX executable /home/tuuzdu/catkin_ws/devel/lib/monocular_pose_estimator/monocular_pose_estimator When cmake is done we need to open a command prompt in the build directory, so navigate to C:opencvbuildx86mingw then shift right click and choose open. I used to have OpenCV3 from the Arch Linux pckage manager (pacman) and it worked fine but when I removed it and install OpenCV 3.4.1 and OpenCV-Contrib from source code nothing worked even the old project when I tryied to recompile them, here is the CMakeLists. Hi! When I try compilling project rpg_monocular_pose_estimator and I get: Building CXX object rpg_monocular_pose_estimator/monocular_pose_estimator/CMakeFiles/monocular_pose_estimator.dir/src/monocular_pose_estimator.o
0 Comments
Leave a Reply. |