[Bug 853036] New: KDE:Extra/opencv: pkg-config is broken.
https://bugzilla.novell.com/show_bug.cgi?id=853036 https://bugzilla.novell.com/show_bug.cgi?id=853036#c0 Summary: KDE:Extra/opencv: pkg-config is broken. Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: kde-maintainers@suse.de ReportedBy: yjcoshc@gmail.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Blocker: --- $ pkg-config opencv --libs Output: /usr/lib64/libopencv_calib3d.so /usr/lib64/libopencv_contrib.so /usr/lib64/libopencv_core.so /usr/lib64/libopencv_features2d.so /usr/lib64/libopencv_flann.so /usr/lib64/libopencv_gpu.so /usr/lib64/libopencv_highgui.so /usr/lib64/libopencv_imgproc.so /usr/lib64/libopencv_legacy.so /usr/lib64/libopencv_ml.so /usr/lib64/libopencv_nonfree.so /usr/lib64/libopencv_objdetect.so /usr/lib64/libopencv_ocl.so /usr/lib64/libopencv_photo.so /usr/lib64/libopencv_stitching.so /usr/lib64/libopencv_superres.so /usr/lib64/libopencv_ts.a /usr/lib64/libopencv_video.so /usr/lib64/libopencv_videostab.so /usr/lib64/libXext.so /usr/lib64/libX11.so /usr/lib64/libICE.so /usr/lib64/libSM.so /usr/lib64/libGL.so /usr/lib64/libGLU.so -lrt -lpthread -lm -ldl $pkg-config opencv --libs-only-L output is nothing $pkg-config opencv --libs-only-l output is -lrt -lpthread -lm -ldl So if I compile nomacs against opencv 2.4.7 on openSUSE, I will meet linking error. Upstream bug link: http://code.opencv.org/issues/1925 There is a patch in Archlinux:https://projects.archlinux.org/svntogit/packages.git/tree/trunk/fsh.patch?h=... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853036 https://bugzilla.novell.com/show_bug.cgi?id=853036#c1 --- Comment #1 from haochuan chen <yjcoshc@gmail.com> 2013-11-30 07:38:18 UTC --- (In reply to comment #0)
$ pkg-config opencv --libs Output: /usr/lib64/libopencv_calib3d.so /usr/lib64/libopencv_contrib.so /usr/lib64/libopencv_core.so /usr/lib64/libopencv_features2d.so /usr/lib64/libopencv_flann.so /usr/lib64/libopencv_gpu.so /usr/lib64/libopencv_highgui.so /usr/lib64/libopencv_imgproc.so /usr/lib64/libopencv_legacy.so /usr/lib64/libopencv_ml.so /usr/lib64/libopencv_nonfree.so /usr/lib64/libopencv_objdetect.so /usr/lib64/libopencv_ocl.so /usr/lib64/libopencv_photo.so /usr/lib64/libopencv_stitching.so /usr/lib64/libopencv_superres.so /usr/lib64/libopencv_ts.a /usr/lib64/libopencv_video.so /usr/lib64/libopencv_videostab.so /usr/lib64/libXext.so /usr/lib64/libX11.so /usr/lib64/libICE.so /usr/lib64/libSM.so /usr/lib64/libGL.so /usr/lib64/libGLU.so -lrt -lpthread -lm -ldl $pkg-config opencv --libs-only-L output is nothing $pkg-config opencv --libs-only-l output is -lrt -lpthread -lm -ldl So if I compile nomacs against opencv 2.4.7 on openSUSE, I will meet linking error. Upstream bug link: http://code.opencv.org/issues/1925 There is a patch in Archlinux:https://projects.archlinux.org/svntogit/packages.git/tree/trunk/fsh.patch?h=...
Oh, the link to Arch's patch is wrong, it is:https://projects.archlinux.org/svntogit/packages.git/tree/trunk/pkgconfig.pa... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853036 https://bugzilla.novell.com/show_bug.cgi?id=853036#c2 Hrvoje Senjan <hrvoje.senjan@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |hrvoje.senjan@gmail.com InfoProvider| |yjcoshc@gmail.com --- Comment #2 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-11-30 16:30:03 UTC --- (In reply to comment #0)
So if I compile nomacs against opencv 2.4.7 on openSUSE, I will meet linking error.
Please paste such linking error. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853036 https://bugzilla.novell.com/show_bug.cgi?id=853036#c3 --- Comment #3 from haochuan chen <yjcoshc@gmail.com> 2013-12-01 04:43:40 UTC --- (In reply to comment #2)
(In reply to comment #0)
So if I compile nomacs against opencv 2.4.7 on openSUSE, I will meet linking error.
Please paste such linking error.
Linking CXX executable nomacs CMakeFiles/nomacs.dir/src/DkImage.cpp.o: In function `nmc::DkBasicLoader::loadRawFile(QFileInfo)': DkImage.cpp:(.text+0x158f): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x15b9): undefined reference to `cv::Mat::convertTo(cv::_OutputArray const&, int, double, double) const' DkImage.cpp:(.text+0x15f0): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x1609): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkImage.cpp:(.text+0x1629): undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' DkImage.cpp:(.text+0x164e): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x1667): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkImage.cpp:(.text+0x1687): undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' DkImage.cpp:(.text+0x16af): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x16c8): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkImage.cpp:(.text+0x16e8): undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' DkImage.cpp:(.text+0x170d): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x1726): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkImage.cpp:(.text+0x1746): undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' DkImage.cpp:(.text+0x1869): undefined reference to `cv::noArray()' DkImage.cpp:(.text+0x1891): undefined reference to `cv::_InputArray::_InputArray(double const&)' DkImage.cpp:(.text+0x18ad): undefined reference to `cv::Mat::setTo(cv::_InputArray const&, cv::_InputArray const&)' DkImage.cpp:(.text+0x18d5): undefined reference to `cv::split(cv::Mat const&, std::vector<cv::Mat, std::allocator<cv::Mat> >&)' DkImage.cpp:(.text+0x1cdd): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x1cf6): undefined reference to `cv::merge(std::vector<cv::Mat, std::allocator<cv::Mat> > const&, cv::_OutputArray const&)' DkImage.cpp:(.text+0x1d0f): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x1d39): undefined reference to `cv::Mat::convertTo(cv::_OutputArray const&, int, double, double) const' DkImage.cpp:(.text+0x2043): undefined reference to `cv::split(cv::Mat const&, std::vector<cv::Mat, std::allocator<cv::Mat> >&)' DkImage.cpp:(.text+0x2567): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x2580): undefined reference to `cv::merge(std::vector<cv::Mat, std::allocator<cv::Mat> > const&, cv::_OutputArray const&)' DkImage.cpp:(.text+0x2599): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x25c3): undefined reference to `cv::Mat::convertTo(cv::_OutputArray const&, int, double, double) const' DkImage.cpp:(.text+0x269d): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x26b6): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkImage.cpp:(.text+0x26d6): undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' DkImage.cpp:(.text+0x26ef): undefined reference to `cv::split(cv::Mat const&, std::vector<cv::Mat, std::allocator<cv::Mat> >&)' DkImage.cpp:(.text+0x271e): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x2747): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkImage.cpp:(.text+0x2762): undefined reference to `cv::medianBlur(cv::_InputArray const&, cv::_OutputArray const&, int)' DkImage.cpp:(.text+0x2791): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x27ba): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkImage.cpp:(.text+0x27d5): undefined reference to `cv::medianBlur(cv::_InputArray const&, cv::_OutputArray const&, int)' DkImage.cpp:(.text+0x27ee): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x2807): undefined reference to `cv::merge(std::vector<cv::Mat, std::allocator<cv::Mat> > const&, cv::_OutputArray const&)' DkImage.cpp:(.text+0x2820): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x2839): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkImage.cpp:(.text+0x2859): undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' DkImage.cpp:(.text+0x28c0): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x28d9): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkImage.cpp:(.text+0x2912): undefined reference to `cv::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)' CMakeFiles/nomacs.dir/src/DkImage.cpp.o: In function `nmc::DkBasicLoader::rotate(int)': DkImage.cpp:(.text+0x4286): undefined reference to `cv::getRotationMatrix2D(cv::Point_<float>, double, double)' DkImage.cpp:(.text+0x43f2): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkImage.cpp:(.text+0x4408): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x4422): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkImage.cpp:(.text+0x4455): undefined reference to `cv::warpAffine(cv::_InputArray const&, cv::_OutputArray const&, cv::_InputArray const&, cv::Size_<int>, int, int, cv::Scalar_<double> const&)' CMakeFiles/nomacs.dir/src/DkImage.cpp.o: In function `nmc::DkBasicLoader::resize(QSize, float, QImage*, int, bool)': DkImage.cpp:(.text+0x492f): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text+0x4948): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkImage.cpp:(.text+0x4970): undefined reference to `cv::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)' CMakeFiles/nomacs.dir/src/DkImage.cpp.o: In function `cv::Mat::Mat(cv::Mat const&)': DkImage.cpp:(.text._ZN2cv3MatC2ERKS0_[_ZN2cv3MatC5ERKS0_]+0x179): undefined reference to `cv::Mat::copySize(cv::Mat const&)' CMakeFiles/nomacs.dir/src/DkImage.cpp.o: In function `cv::Mat::~Mat()': DkImage.cpp:(.text._ZN2cv3MatD2Ev[_ZN2cv3MatD5Ev]+0x39): undefined reference to `cv::fastFree(void*)' CMakeFiles/nomacs.dir/src/DkImage.cpp.o: In function `cv::Mat::operator=(cv::Mat const&)': DkImage.cpp:(.text._ZN2cv3MataSERKS0_[_ZN2cv3MataSERKS0_]+0x111): undefined reference to `cv::Mat::copySize(cv::Mat const&)' CMakeFiles/nomacs.dir/src/DkImage.cpp.o: In function `cv::Mat::clone() const': DkImage.cpp:(.text._ZNK2cv3Mat5cloneEv[_ZNK2cv3Mat5cloneEv]+0x2c): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text._ZNK2cv3Mat5cloneEv[_ZNK2cv3Mat5cloneEv]+0x3f): undefined reference to `cv::Mat::copyTo(cv::_OutputArray const&) const' CMakeFiles/nomacs.dir/src/DkImage.cpp.o: In function `cv::Mat::create(int, int, int)': DkImage.cpp:(.text._ZN2cv3Mat6createEiii[_ZN2cv3Mat6createEiii]+0x90): undefined reference to `cv::Mat::create(int, int const*, int)' CMakeFiles/nomacs.dir/src/DkImage.cpp.o: In function `cv::Mat::release()': DkImage.cpp:(.text._ZN2cv3Mat7releaseEv[_ZN2cv3Mat7releaseEv]+0x47): undefined reference to `cv::Mat::deallocate()' CMakeFiles/nomacs.dir/src/DkImage.cpp.o: In function `nmc::DkImage::mat2QImage(cv::Mat)': DkImage.cpp:(.text._ZN3nmc7DkImage10mat2QImageEN2cv3MatE[_ZN3nmc7DkImage10mat2QImageEN2cv3MatE]+0x57): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImage.cpp:(.text._ZN3nmc7DkImage10mat2QImageEN2cv3MatE[_ZN3nmc7DkImage10mat2QImageEN2cv3MatE]+0x8f): undefined reference to `cv::Mat::convertTo(cv::_OutputArray const&, int, double, double) const' CMakeFiles/nomacs.dir/src/DkDialog.cpp.o: In function `nmc::DkResizeDialog::resizeImg(QImage, bool)': DkDialog.cpp:(.text+0xd0f7): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkDialog.cpp:(.text+0xd110): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkDialog.cpp:(.text+0xd138): undefined reference to `cv::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)' CMakeFiles/nomacs.dir/src/DkDialog.cpp.o: In function `nmc::DkMosaicDialog::computeMosaic(QFileInfo, QString, QString, int, int)': DkDialog.cpp:(.text+0x1b43e): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkDialog.cpp:(.text+0x1b457): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkDialog.cpp:(.text+0x1b477): undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' DkDialog.cpp:(.text+0x1b49f): undefined reference to `cv::split(cv::Mat const&, std::vector<cv::Mat, std::allocator<cv::Mat> >&)' DkDialog.cpp:(.text+0x1b505): undefined reference to `cv::noArray()' DkDialog.cpp:(.text+0x1b52d): undefined reference to `cv::_InputArray::_InputArray(double const&)' DkDialog.cpp:(.text+0x1b549): undefined reference to `cv::Mat::setTo(cv::_InputArray const&, cv::_InputArray const&)' DkDialog.cpp:(.text+0x1b647): undefined reference to `cv::Mat::operator=(cv::Scalar_<double> const&)' DkDialog.cpp:(.text+0x1b6c8): undefined reference to `cv::Mat::operator=(cv::Scalar_<double> const&)' DkDialog.cpp:(.text+0x1ba44): undefined reference to `cv::noArray()' DkDialog.cpp:(.text+0x1ba6c): undefined reference to `cv::_InputArray::_InputArray(double const&)' DkDialog.cpp:(.text+0x1ba88): undefined reference to `cv::Mat::setTo(cv::_InputArray const&, cv::_InputArray const&)' DkDialog.cpp:(.text+0x1bb60): undefined reference to `cv::operator==(cv::Mat const&, double)' DkDialog.cpp:(.text+0x1bba1): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkDialog.cpp:(.text+0x1bbd9): undefined reference to `cv::Mat::convertTo(cv::_OutputArray const&, int, double, double) const' DkDialog.cpp:(.text+0x1bbf2): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkDialog.cpp:(.text+0x1bc1a): undefined reference to `cv::Mat::mul(cv::_InputArray const&, double) const' DkDialog.cpp:(.text+0x1bc71): undefined reference to `cv::noArray()' DkDialog.cpp:(.text+0x1bc8d): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkDialog.cpp:(.text+0x1bcba): undefined reference to `cv::minMaxLoc(cv::_InputArray const&, double*, double*, cv::Point_<int>*, cv::Point_<int>*, cv::_InputArray const&)' DkDialog.cpp:(.text+0x1bd98): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkDialog.cpp:(.text+0x1bdb1): undefined reference to `cv::Mat::copyTo(cv::_OutputArray const&) const' DkDialog.cpp:(.text+0x1be2a): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkDialog.cpp:(.text+0x1be43): undefined reference to `cv::merge(std::vector<cv::Mat, std::allocator<cv::Mat> > const&, cv::_OutputArray const&)' DkDialog.cpp:(.text+0x1be5c): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkDialog.cpp:(.text+0x1be75): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkDialog.cpp:(.text+0x1be95): undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' DkDialog.cpp:(.text+0x1c11b): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkDialog.cpp:(.text+0x1c134): undefined reference to `cv::Mat::copyTo(cv::_OutputArray const&) const' DkDialog.cpp:(.text+0x1c2b6): undefined reference to `cv::noArray()' DkDialog.cpp:(.text+0x1c2d2): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkDialog.cpp:(.text+0x1c2fb): undefined reference to `cv::minMaxLoc(cv::_InputArray const&, double*, double*, cv::Point_<int>*, cv::Point_<int>*, cv::_InputArray const&)' DkDialog.cpp:(.text+0x1c5ee): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkDialog.cpp:(.text+0x1c607): undefined reference to `cv::Mat::copyTo(cv::_OutputArray const&) const' CMakeFiles/nomacs.dir/src/DkDialog.cpp.o: In function `nmc::DkMosaicDialog::matchPatch(cv::Mat const&, cv::Mat const&, int, cv::Mat&)': DkDialog.cpp:(.text+0x1ceac): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkDialog.cpp:(.text+0x1cec5): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkDialog.cpp:(.text+0x1cedb): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkDialog.cpp:(.text+0x1cef8): undefined reference to `cv::absdiff(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&)' DkDialog.cpp:(.text+0x1cf23): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkDialog.cpp:(.text+0x1cf36): undefined reference to `cv::sum(cv::_InputArray const&)' CMakeFiles/nomacs.dir/src/DkDialog.cpp.o: In function `nmc::DkMosaicDialog::createPatch(nmc::DkThumbNail const&, int)': DkDialog.cpp:(.text+0x1d26b): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkDialog.cpp:(.text+0x1d284): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkDialog.cpp:(.text+0x1d2a4): undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' DkDialog.cpp:(.text+0x1d2cc): undefined reference to `cv::split(cv::Mat const&, std::vector<cv::Mat, std::allocator<cv::Mat> >&)' DkDialog.cpp:(.text+0x1d4c2): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkDialog.cpp:(.text+0x1d4d8): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkDialog.cpp:(.text+0x1d4f9): undefined reference to `cv::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)' CMakeFiles/nomacs.dir/src/DkDialog.cpp.o: In function `nmc::DkMosaicDialog::postProcessMosaic(float, float, float, bool)': DkDialog.cpp:(.text+0x1dfdd): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkDialog.cpp:(.text+0x1dffd): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkDialog.cpp:(.text+0x1e027): undefined reference to `cv::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)' DkDialog.cpp:(.text+0x1e2a1): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkDialog.cpp:(.text+0x1e2ba): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkDialog.cpp:(.text+0x1e2da): undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' CMakeFiles/nomacs.dir/src/DkDialog.cpp.o: In function `cv::Mat::rowRange(int, int) const': DkDialog.cpp:(.text._ZNK2cv3Mat8rowRangeEii[_ZNK2cv3Mat8rowRangeEii]+0x47): undefined reference to `cv::Mat::Mat(cv::Mat const&, cv::Range const&, cv::Range const&)' CMakeFiles/nomacs.dir/src/DkDialog.cpp.o: In function `cv::Mat::colRange(int, int) const': DkDialog.cpp:(.text._ZNK2cv3Mat8colRangeEii[_ZNK2cv3Mat8colRangeEii]+0x47): undefined reference to `cv::Mat::Mat(cv::Mat const&, cv::Range const&, cv::Range const&)' CMakeFiles/nomacs.dir/src/DkViewPort.cpp.o: In function `nmc::DkViewPortContrast::setImage(QImage)': DkViewPort.cpp:(.text+0x10b23): undefined reference to `cv::split(cv::Mat const&, std::vector<cv::Mat, std::allocator<cv::Mat> >&)' DkViewPort.cpp:(.text+0x10ce5): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkViewPort.cpp:(.text+0x10cfe): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkViewPort.cpp:(.text+0x10d1e): undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' CMakeFiles/nomacs.dir/src/DkManipulationWidgets.cpp.o: In function `nmc::DkImageManipulationWidget::applyLutToImage(cv::Mat, cv::Mat, bool)': DkManipulationWidgets.cpp:(.text+0x2f44): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkManipulationWidgets.cpp:(.text+0x2f5d): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkManipulationWidgets.cpp:(.text+0x2f7d): undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' DkManipulationWidgets.cpp:(.text+0x2fe8): undefined reference to `cv::split(cv::Mat const&, std::vector<cv::Mat, std::allocator<cv::Mat> >&)' DkManipulationWidgets.cpp:(.text+0x34ee): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkManipulationWidgets.cpp:(.text+0x3507): undefined reference to `cv::merge(std::vector<cv::Mat, std::allocator<cv::Mat> > const&, cv::_OutputArray const&)' DkManipulationWidgets.cpp:(.text+0x3a3c): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkManipulationWidgets.cpp:(.text+0x3a55): undefined reference to `cv::merge(std::vector<cv::Mat, std::allocator<cv::Mat> > const&, cv::_OutputArray const&)' DkManipulationWidgets.cpp:(.text+0x3a8a): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkManipulationWidgets.cpp:(.text+0x3aa3): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkManipulationWidgets.cpp:(.text+0x3ac3): undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' DkManipulationWidgets.cpp:(.text+0x3b08): undefined reference to `cv::split(cv::Mat const&, std::vector<cv::Mat, std::allocator<cv::Mat> >&)' DkManipulationWidgets.cpp:(.text+0x3b30): undefined reference to `cv::split(cv::Mat const&, std::vector<cv::Mat, std::allocator<cv::Mat> >&)' DkManipulationWidgets.cpp:(.text+0x3b72): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkManipulationWidgets.cpp:(.text+0x3b8b): undefined reference to `cv::merge(std::vector<cv::Mat, std::allocator<cv::Mat> > const&, cv::_OutputArray const&)' CMakeFiles/nomacs.dir/src/DkManipulationWidgets.cpp.o: In function `nmc::DkImageManipulationWidget::changeSaturationAndHue(cv::Mat, float, float)': DkManipulationWidgets.cpp:(.text+0x45ea): undefined reference to `cv::noArray()' DkManipulationWidgets.cpp:(.text+0x4606): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkManipulationWidgets.cpp:(.text+0x461c): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkManipulationWidgets.cpp:(.text+0x4648): undefined reference to `cv::normalize(cv::_InputArray const&, cv::_OutputArray const&, double, double, int, int, cv::_InputArray const&)' CMakeFiles/nomacs.dir/src/DkImageStorage.cpp.o: In function `nmc::DkImageStorage::computeImage()': DkImageStorage.cpp:(.text+0x8cd): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' DkImageStorage.cpp:(.text+0x8e6): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' DkImageStorage.cpp:(.text+0x910): undefined reference to `cv::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)' collect2: error: ld returned 1 exit status make[2]: *** [nomacs] Error 1 make[1]: *** [CMakeFiles/nomacs.dir/all] Error 2 make: *** [all] Error 2 The source file is here:http://sourceforge.net/projects/nomacs/files/nomacs-1.6.0/nomacs-1.6.0.2-sou... I tested 2.4.6.1 from repo-oss, it worked fine. But pkg-config is also broken. The output of --libs-only-other from 2.4.6.1: /usr/lib64/libopencv_calib3d.so /usr/lib64/libopencv_contrib.so /usr/lib64/libopencv_core.so /usr/lib64/libopencv_features2d.so /usr/lib64/libopencv_flann.so /usr/lib64/libopencv_gpu.so /usr/lib64/libopencv_highgui.so /usr/lib64/libopencv_imgproc.so /usr/lib64/libopencv_legacy.so /usr/lib64/libopencv_ml.so /usr/lib64/libopencv_nonfree.so /usr/lib64/libopencv_objdetect.so /usr/lib64/libopencv_photo.so /usr/lib64/libopencv_stitching.so /usr/lib64/libopencv_superres.so /usr/lib64/libopencv_ts.so /usr/lib64/libopencv_video.so /usr/lib64/libopencv_videostab.so from 2.4.7: /usr/lib64/libopencv_calib3d.so /usr/lib64/libopencv_contrib.so /usr/lib64/libopencv_core.so /usr/lib64/libopencv_features2d.so /usr/lib64/libopencv_flann.so /usr/lib64/libopencv_gpu.so /usr/lib64/libopencv_highgui.so /usr/lib64/libopencv_imgproc.so /usr/lib64/libopencv_legacy.so /usr/lib64/libopencv_ml.so /usr/lib64/libopencv_nonfree.so /usr/lib64/libopencv_objdetect.so /usr/lib64/libopencv_ocl.so /usr/lib64/libopencv_photo.so /usr/lib64/libopencv_stitching.so /usr/lib64/libopencv_superres.so /usr/lib64/libopencv_ts.a /usr/lib64/libopencv_video.so /usr/lib64/libopencv_videostab.so /usr/lib64/libXext.so /usr/lib64/libX11.so /usr/lib64/libICE.so /usr/lib64/libSM.so /usr/lib64/libGL.so /usr/lib64/libGLU.so With opencv 2.4.7 from KDE:Extra, the linking command of nomacs is: -lQtCore -lQtGui -lQtNetwork -lexiv2 -lraw -lstdc++ -llcms2 -lrt -lpthread -lm -ldl -ltiff With opencv 2.4.6.1 from repo-oss, the linking command is: -lQtCore -lQtGui -lQtNetwork -lexiv2 -lraw -lstdc++ -llcms2 -lopencv_imgproc -lopencv_core -ltiff It seems this is not a problem of pkg-config. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853036 https://bugzilla.novell.com/show_bug.cgi?id=853036#c4 --- Comment #4 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-12-01 16:57:14 UTC --- (In reply to comment #3) ..
With opencv 2.4.7 from KDE:Extra, the linking command of nomacs is: -lQtCore -lQtGui -lQtNetwork -lexiv2 -lraw -lstdc++ -llcms2 -lrt -lpthread -lm -ldl -ltiff With opencv 2.4.6.1 from repo-oss, the linking command is: -lQtCore -lQtGui -lQtNetwork -lexiv2 -lraw -lstdc++ -llcms2 -lopencv_imgproc -lopencv_core -ltiff
This could also suggest an empty cmake var. Does nomacs uses CMake buildsystem? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853036 https://bugzilla.novell.com/show_bug.cgi?id=853036#c5 Hrvoje Senjan <hrvoje.senjan@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |CLOSED InfoProvider|yjcoshc@gmail.com | Resolution| |FIXED --- Comment #5 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-12-01 17:58:47 UTC --- Ok, coffee started to kick in. I can see, and confirm the issue. Submitted the fix towards O:F. OpenCV was correctly linked for e.g. digikam and not for nomacs, as nomacs is searching for openCV first via pkgconfig, then CMake(config,etc). And as you correctly indicated, pc file is broken. Tnx for the report! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853036 https://bugzilla.novell.com/show_bug.cgi?id=853036#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-12-01 19:00:35 CET --- This is an autogenerated message for OBS integration: This bug (853036) was mentioned in https://build.opensuse.org/request/show/209071 Factory / opencv -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853036 https://bugzilla.novell.com/show_bug.cgi?id=853036#c7 --- Comment #7 from haochuan chen <yjcoshc@gmail.com> 2013-12-02 10:10:46 UTC --- I have tried the latest opencv-devel package from KDE:Extra and now nomacs is compiled successfully. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com