Skip to content

Instantly share code, notes, and snippets.

@davetcoleman
Created December 11, 2012 02:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davetcoleman/4255450 to your computer and use it in GitHub Desktop.
Save davetcoleman/4255450 to your computer and use it in GitHub Desktop.
OpenCV Ouput Error
Linking CXX executable /home/dave/ros/clam/devel/lib/clam_vision/calibrate_kinect_checkerboard
CMakeFiles/calibrate_kinect_checkerboard.dir/src/detect_calibration_pattern.cpp.o: In function `PatternDetector::detectPattern(cv::Mat&, Eigen::Matrix<float, 3, 1, 0, 3, 1>&, Eigen::Quaternion<float>&, cv::Mat&)':
detect_calibration_pattern.cpp:(.text+0x427): undefined reference to `cv::SimpleBlobDetector::Params::Params()'
detect_calibration_pattern.cpp:(.text+0x446): undefined reference to `cv::SimpleBlobDetector::SimpleBlobDetector(cv::SimpleBlobDetector::Params const&)'
detect_calibration_pattern.cpp:(.text+0x4a7): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
detect_calibration_pattern.cpp:(.text+0x4d0): undefined reference to `cv::findCirclesGrid(cv::_InputArray const&, cv::Size_<int>, cv::_OutputArray const&, int, cv::Ptr<cv::FeatureDetector> const&)'
detect_calibration_pattern.cpp:(.text+0x536): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
detect_calibration_pattern.cpp:(.text+0x555): undefined reference to `cv::findChessboardCorners(cv::_InputArray const&, cv::Size_<int>, cv::_OutputArray const&, int)'
detect_calibration_pattern.cpp:(.text+0x56c): undefined reference to `cv::SimpleBlobDetector::Params::Params()'
detect_calibration_pattern.cpp:(.text+0x58b): undefined reference to `cv::SimpleBlobDetector::SimpleBlobDetector(cv::SimpleBlobDetector::Params const&)'
detect_calibration_pattern.cpp:(.text+0x5ec): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
detect_calibration_pattern.cpp:(.text+0x615): undefined reference to `cv::findCirclesGrid(cv::_InputArray const&, cv::Size_<int>, cv::_OutputArray const&, int, cv::Ptr<cv::FeatureDetector> const&)'
detect_calibration_pattern.cpp:(.text+0x6c3): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
detect_calibration_pattern.cpp:(.text+0x6ed): undefined reference to `cv::cornerSubPix(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, cv::Size_<int>, cv::TermCriteria)'
detect_calibration_pattern.cpp:(.text+0x70d): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
detect_calibration_pattern.cpp:(.text+0x72d): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
detect_calibration_pattern.cpp:(.text+0x74a): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
detect_calibration_pattern.cpp:(.text+0x763): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
detect_calibration_pattern.cpp:(.text+0x79a): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
detect_calibration_pattern.cpp:(.text+0x7d8): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
detect_calibration_pattern.cpp:(.text+0x81f): undefined reference to `cv::solvePnP(cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, bool, int)'
detect_calibration_pattern.cpp:(.text+0x842): undefined reference to `cv::noArray()'
detect_calibration_pattern.cpp:(.text+0x865): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
detect_calibration_pattern.cpp:(.text+0x885): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
detect_calibration_pattern.cpp:(.text+0x8a1): undefined reference to `cv::Rodrigues(cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&)'
detect_calibration_pattern.cpp:(.text+0x8dc): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)'
detect_calibration_pattern.cpp:(.text+0x912): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
detect_calibration_pattern.cpp:(.text+0x92e): undefined reference to `cv::drawChessboardCorners(cv::_OutputArray const&, cv::Size_<int>, cv::_InputArray const&, bool)'
CMakeFiles/calibrate_kinect_checkerboard.dir/src/detect_calibration_pattern.cpp.o: In function `cv::Mat::~Mat()':
detect_calibration_pattern.cpp:(.text._ZN2cv3MatD2Ev[_ZN2cv3MatD5Ev]+0x39): undefined reference to `cv::fastFree(void*)'
CMakeFiles/calibrate_kinect_checkerboard.dir/src/detect_calibration_pattern.cpp.o: In function `cv::Mat::operator=(cv::Mat const&)':
detect_calibration_pattern.cpp:(.text._ZN2cv3MataSERKS0_[cv::Mat::operator=(cv::Mat const&)]+0x111): undefined reference to `cv::Mat::copySize(cv::Mat const&)'
CMakeFiles/calibrate_kinect_checkerboard.dir/src/detect_calibration_pattern.cpp.o: In function `cv::Mat::release()':
detect_calibration_pattern.cpp:(.text._ZN2cv3Mat7releaseEv[cv::Mat::release()]+0x47): undefined reference to `cv::Mat::deallocate()'
CMakeFiles/calibrate_kinect_checkerboard.dir/src/detect_calibration_pattern.cpp.o: In function `cv::_OutputArray::_OutputArray<cv::Point_<float> >(std::vector<cv::Point_<float>, std::allocator<cv::Point_<float> > >&)':
detect_calibration_pattern.cpp:(.text._ZN2cv12_OutputArrayC2INS_6Point_IfEEEERSt6vectorIT_SaIS5_EE[_ZN2cv12_OutputArrayC5INS_6Point_IfEEEERSt6vectorIT_SaIS5_EE]+0x2a): undefined reference to `vtable for cv::_OutputArray'
CMakeFiles/calibrate_kinect_checkerboard.dir/src/detect_calibration_pattern.cpp.o: In function `cv::Ptr<cv::FeatureDetector>::Ptr(cv::FeatureDetector*)':
detect_calibration_pattern.cpp:(.text._ZN2cv3PtrINS_15FeatureDetectorEEC2EPS1_[_ZN2cv3PtrINS_15FeatureDetectorEEC5EPS1_]+0x2d): undefined reference to `cv::fastMalloc(unsigned long)'
CMakeFiles/calibrate_kinect_checkerboard.dir/src/detect_calibration_pattern.cpp.o: In function `cv::Mat::Mat<cv::Point3_<float> >(std::vector<cv::Point3_<float>, std::allocator<cv::Point3_<float> > > const&, bool)':
detect_calibration_pattern.cpp:(.text._ZN2cv3MatC2INS_7Point3_IfEEEERKSt6vectorIT_SaIS5_EEb[_ZN2cv3MatC5INS_7Point3_IfEEEERKSt6vectorIT_SaIS5_EEb]+0x1f8): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
detect_calibration_pattern.cpp:(.text._ZN2cv3MatC2INS_7Point3_IfEEEERKSt6vectorIT_SaIS5_EEb[_ZN2cv3MatC5INS_7Point3_IfEEEERKSt6vectorIT_SaIS5_EEb]+0x258): undefined reference to `cv::Mat::copyTo(cv::_OutputArray const&) const'
CMakeFiles/calibrate_kinect_checkerboard.dir/src/detect_calibration_pattern.cpp.o: In function `cv::Mat::Mat<cv::Point_<float> >(std::vector<cv::Point_<float>, std::allocator<cv::Point_<float> > > const&, bool)':
detect_calibration_pattern.cpp:(.text._ZN2cv3MatC2INS_6Point_IfEEEERKSt6vectorIT_SaIS5_EEb[_ZN2cv3MatC5INS_6Point_IfEEEERKSt6vectorIT_SaIS5_EEb]+0x1f8): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)'
detect_calibration_pattern.cpp:(.text._ZN2cv3MatC2INS_6Point_IfEEEERKSt6vectorIT_SaIS5_EEb[_ZN2cv3MatC5INS_6Point_IfEEEERKSt6vectorIT_SaIS5_EEb]+0x258): undefined reference to `cv::Mat::copyTo(cv::_OutputArray const&) const'
CMakeFiles/calibrate_kinect_checkerboard.dir/src/detect_calibration_pattern.cpp.o: In function `cv::Ptr<cv::FeatureDetector>::release()':
detect_calibration_pattern.cpp:(.text._ZN2cv3PtrINS_15FeatureDetectorEE7releaseEv[cv::Ptr<cv::FeatureDetector>::release()]+0x57): undefined reference to `cv::fastFree(void*)'
CMakeFiles/calibrate_kinect_checkerboard.dir/src/detect_calibration_pattern.cpp.o: In function `cv::_InputArray::_InputArray<cv::Point_<float> >(std::vector<cv::Point_<float>, std::allocator<cv::Point_<float> > > const&)':
detect_calibration_pattern.cpp:(.text._ZN2cv11_InputArrayC2INS_6Point_IfEEEERKSt6vectorIT_SaIS5_EE[_ZN2cv11_InputArrayC5INS_6Point_IfEEEERKSt6vectorIT_SaIS5_EE]+0x17): undefined reference to `vtable for cv::_InputArray'
CMakeFiles/calibrate_kinect_checkerboard.dir/src/calibrate_kinect_checkerboard.cpp.o: In function `cv::Mat::Mat(cv::Mat const&)':
calibrate_kinect_checkerboard.cpp:(.text._ZN2cv3MatC2ERKS0_[_ZN2cv3MatC5ERKS0_]+0x179): undefined reference to `cv::Mat::copySize(cv::Mat const&)'
CMakeFiles/calibrate_kinect_checkerboard.dir/src/calibrate_kinect_checkerboard.cpp.o: In function `CalibrateKinectCheckerboard::CalibrateKinectCheckerboard()':
calibrate_kinect_checkerboard.cpp:(.text._ZN27CalibrateKinectCheckerboardC2Ev[_ZN27CalibrateKinectCheckerboardC5Ev]+0xac): undefined reference to `image_transport::ImageTransport::ImageTransport(ros::NodeHandle const&)'
calibrate_kinect_checkerboard.cpp:(.text._ZN27CalibrateKinectCheckerboardC2Ev[_ZN27CalibrateKinectCheckerboardC5Ev]+0x1b4): undefined reference to `image_geometry::PinholeCameraModel::PinholeCameraModel()'
calibrate_kinect_checkerboard.cpp:(.text._ZN27CalibrateKinectCheckerboardC2Ev[_ZN27CalibrateKinectCheckerboardC5Ev]+0x97d): undefined reference to `image_transport::ImageTransport::advertise(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, bool)'
calibrate_kinect_checkerboard.cpp:(.text._ZN27CalibrateKinectCheckerboardC2Ev[_ZN27CalibrateKinectCheckerboardC5Ev]+0x14bf): undefined reference to `image_transport::ImageTransport::~ImageTransport()'
CMakeFiles/calibrate_kinect_checkerboard.dir/src/calibrate_kinect_checkerboard.cpp.o: In function `CalibrateKinectCheckerboard::infoCallback(boost::shared_ptr<sensor_msgs::CameraInfo_<std::allocator<void> > const> const&)':
calibrate_kinect_checkerboard.cpp:(.text._ZN27CalibrateKinectCheckerboard12infoCallbackERKN5boost10shared_ptrIKN11sensor_msgs11CameraInfo_ISaIvEEEEE[CalibrateKinectCheckerboard::infoCallback(boost::shared_ptr<sensor_msgs::CameraInfo_<std::allocator<void> > const> const&)]+0x4c): undefined reference to `image_geometry::PinholeCameraModel::fromCameraInfo(boost::shared_ptr<sensor_msgs::CameraInfo_<std::allocator<void> > const> const&)'
CMakeFiles/calibrate_kinect_checkerboard.dir/src/calibrate_kinect_checkerboard.cpp.o: In function `CalibrateKinectCheckerboard::imageCallback(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&)':
calibrate_kinect_checkerboard.cpp:(.text._ZN27CalibrateKinectCheckerboard13imageCallbackERKN5boost10shared_ptrIKN11sensor_msgs6Image_ISaIvEEEEE[CalibrateKinectCheckerboard::imageCallback(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&)]+0x5e): undefined reference to `cv_bridge::toCvCopy(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
calibrate_kinect_checkerboard.cpp:(.text._ZN27CalibrateKinectCheckerboard13imageCallbackERKN5boost10shared_ptrIKN11sensor_msgs6Image_ISaIvEEEEE[CalibrateKinectCheckerboard::imageCallback(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&)]+0xec): undefined reference to `cv_bridge::toCvCopy(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
calibrate_kinect_checkerboard.cpp:(.text._ZN27CalibrateKinectCheckerboard13imageCallbackERKN5boost10shared_ptrIKN11sensor_msgs6Image_ISaIvEEEEE[CalibrateKinectCheckerboard::imageCallback(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&)]+0x1b0): undefined reference to `PatternDetector::detectPattern(cv::Mat&, Eigen::Matrix<float, 3, 1, 0, 3, 1>&, Eigen::Quaternion<float, 0>&, cv::Mat&)'
calibrate_kinect_checkerboard.cpp:(.text._ZN27CalibrateKinectCheckerboard13imageCallbackERKN5boost10shared_ptrIKN11sensor_msgs6Image_ISaIvEEEEE[CalibrateKinectCheckerboard::imageCallback(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&)]+0x5fb): undefined reference to `cv_bridge::CvImage::toImageMsg() const'
calibrate_kinect_checkerboard.cpp:(.text._ZN27CalibrateKinectCheckerboard13imageCallbackERKN5boost10shared_ptrIKN11sensor_msgs6Image_ISaIvEEEEE[CalibrateKinectCheckerboard::imageCallback(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&)]+0x638): undefined reference to `image_transport::Publisher::publish(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&) const'
CMakeFiles/calibrate_kinect_checkerboard.dir/src/calibrate_kinect_checkerboard.cpp.o: In function `CalibrateKinectCheckerboard::overlayPoints(pcl::PointCloud<pcl::PointXYZ>, tf::Transform&, boost::shared_ptr<cv_bridge::CvImage>&)':
calibrate_kinect_checkerboard.cpp:(.text._ZN27CalibrateKinectCheckerboard13overlayPointsEN3pcl10PointCloudINS0_8PointXYZEEERN2tf9TransformERN5boost10shared_ptrIN9cv_bridge7CvImageEEE[CalibrateKinectCheckerboard::overlayPoints(pcl::PointCloud<pcl::PointXYZ>, tf::Transform&, boost::shared_ptr<cv_bridge::CvImage>&)]+0x11b): undefined reference to `image_geometry::PinholeCameraModel::project3dToPixel(cv::Point3_<double> const&) const'
calibrate_kinect_checkerboard.cpp:(.text._ZN27CalibrateKinectCheckerboard13overlayPointsEN3pcl10PointCloudINS0_8PointXYZEEERN2tf9TransformERN5boost10shared_ptrIN9cv_bridge7CvImageEEE[CalibrateKinectCheckerboard::overlayPoints(pcl::PointCloud<pcl::PointXYZ>, tf::Transform&, boost::shared_ptr<cv_bridge::CvImage>&)]+0x1cc): undefined reference to `cv::circle(cv::Mat&, cv::Point_<int>, int, cv::Scalar_<double> const&, int, int, int)'
calibrate_kinect_checkerboard.cpp:(.text._ZN27CalibrateKinectCheckerboard13overlayPointsEN3pcl10PointCloudINS0_8PointXYZEEERN2tf9TransformERN5boost10shared_ptrIN9cv_bridge7CvImageEEE[CalibrateKinectCheckerboard::overlayPoints(pcl::PointCloud<pcl::PointXYZ>, tf::Transform&, boost::shared_ptr<cv_bridge::CvImage>&)]+0x25d): undefined reference to `cv::getTextSize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, double, int, int*)'
calibrate_kinect_checkerboard.cpp:(.text._ZN27CalibrateKinectCheckerboard13overlayPointsEN3pcl10PointCloudINS0_8PointXYZEEERN2tf9TransformERN5boost10shared_ptrIN9cv_bridge7CvImageEEE[CalibrateKinectCheckerboard::overlayPoints(pcl::PointCloud<pcl::PointXYZ>, tf::Transform&, boost::shared_ptr<cv_bridge::CvImage>&)]+0x3a9): undefined reference to `cv::putText(cv::Mat&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cv::Point_<int>, int, double, cv::Scalar_<double>, int, int, bool)'
CMakeFiles/calibrate_kinect_checkerboard.dir/src/calibrate_kinect_checkerboard.cpp.o: In function `CalibrateKinectCheckerboard::~CalibrateKinectCheckerboard()':
calibrate_kinect_checkerboard.cpp:(.text._ZN27CalibrateKinectCheckerboardD2Ev[_ZN27CalibrateKinectCheckerboardD5Ev]+0x1a7): undefined reference to `image_transport::ImageTransport::~ImageTransport()'
calibrate_kinect_checkerboard.cpp:(.text._ZN27CalibrateKinectCheckerboardD2Ev[_ZN27CalibrateKinectCheckerboardD5Ev]+0x3b2): undefined reference to `image_transport::ImageTransport::~ImageTransport()'
collect2: ld returned 1 exit status
make[2]: *** [/home/dave/ros/clam/devel/lib/clam_vision/calibrate_kinect_checkerboard] Error 1
make[1]: *** [clam_vision/CMakeFiles/calibrate_kinect_checkerboard.dir/all] Error 2
make: *** [all] Error 2
Invoking "make" failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment