Hi, Andreas. 2012/2/2 Andreas Tille <ti...@debian.org>: > Hi Nobuhiro, > > On Thu, Feb 02, 2012 at 04:06:12AM +0900, Nobuhiro Iwamatsu wrote: >> tags 653799 patch >> thanks >> ... >> I checked this bug. >> Because "/usr" is set to OpenCV_DIR, >> /usr/share/OpenCV/OpenCVConfig.cmake file has not been read. >> Moreover, when there is no /usr/OpenCVConfig.cmake, another checking >> is executed, but only old opencv >> corresponds. >> The problem in which the check of OpenCV fails is solved by specifying >> OpenCV_DIR. >> I attach a patch. >> > > Thanks for the patch - unfortunately this does not change anything at my > site. :-( >
Oh, sorry. I forgot to write important infomation. You need to check with opencv 2.3.1-7. Because this version fixed #658196. I just upload. >> But if you will apply this patch, it becomes an error in other portions. >> ----- >> [ 55%] Building CXX object >> src/mod_camera/tests/CMakeFiles/test_mod_camera_gui.dir/test_mod_camera_gui.cpp.o >> Linking CXX executable ../../../bin/test_mod_camera_gui >> ../../../bin/libmod_camera.so: undefined reference to `cvLoadImage' >> ../../../bin/libmod_camera.so: undefined reference to `cvConvertImage' >> ../../../bin/libmod_camera.so: undefined reference to `cvReleaseImage' >> ../../../bin/libmod_camera.so: undefined reference to `cvReleaseImageHeader' >> ../../../bin/libmod_camera.so: undefined reference to `cvSetZero' >> ../../../bin/libmod_camera.so: undefined reference to `cvLine' >> ../../../bin/libmod_camera.so: undefined reference to `cvGetRawData' >> ../../../bin/libmod_camera.so: undefined reference to `cvGetErrStatus' >> ../../../bin/libmod_camera.so: undefined reference to `cvSaveImage' >> ../../../bin/libmod_camera.so: undefined reference to `cvCopy' >> ../../../bin/libmod_camera.so: undefined reference to `cvFlip' >> ../../../bin/libmod_camera.so: undefined reference to `cvNamedWindow' >> ../../../bin/libmod_camera.so: undefined reference to `cvCircle' >> ../../../bin/libmod_camera.so: undefined reference to `cvShowImage' >> ../../../bin/libmod_camera.so: undefined reference to `cvRectangle' >> ../../../bin/libmod_camera.so: undefined reference to `cvResize' >> ../../../bin/libmod_camera.so: undefined reference to `cvCreateData' >> ../../../bin/libmod_camera.so: undefined reference to `cvCreateImageHeader' >> collect2: ld returned 1 exit status >> ----- > > I could only wild guess here, but when using libopencv-core-dev the > according strings appear in the installed *.a / *.so files. > Unfortunately I can not check this because my build does not reach this > point. > > Any further help (Luis, do you have an idea?) > Could you check with opencv 2.3.1-7? Best regards, Nobuhiro -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org