[sbopkg-users] opencv 3.0.0 compile error

Willy Sudiarto Raharjo willysr at sbopkg.org
Sun Nov 15 10:23:45 UTC 2015


> however, when building digikam-4.14 through sbopkg, i get the following
> error now:
> 
> CMakeFiles/kipiplugin_removeredeyes.dir/detection/locators/haarclassifier/haarclassifierlocator.cpp.o:
> In function
> `KIPIRemoveRedEyesPlugin::HaarClassifierLocator::allocateBuffers()':
> haarclassifierlocator.cpp:(.text+0x3ea): undefined reference to
> `cvFillImage' haarclassifierlocator.cpp:(.text+0x3fe): undefined
> reference to `cvFillImage'
> CMakeFiles/kipiplugin_removeredeyes.dir/detection/locators/haarclassifier/haarclassifierlocator.cpp.o:
> In function
> `KIPIRemoveRedEyesPlugin::HaarClassifierLocator::findBlobs(_IplImage*,
> int)': haarclassifierlocator.cpp:(.text+0x809): undefined reference to
> `cvFillImage' collect2: error: ld returned 1 exit status
> extra/kipi-plugins/removeredeyes/CMakeFiles/kipiplugin_removeredeyes.dir/build.make:696:
> recipe for target 'lib/kipiplugin_removeredeyes.so' failed make[2]: ***
> [lib/kipiplugin_removeredeyes.so] Error 1 make[2]: Leaving directory
> '/tmp/SBo/digikam-4.14.0/build' CMakeFiles/Makefile2:4682: recipe for
> target
> 'extra/kipi-plugins/removeredeyes/CMakeFiles/kipiplugin_removeredeyes.dir/all'
> failed make[1]: ***
> [extra/kipi-plugins/removeredeyes/CMakeFiles/kipiplugin_removeredeyes.dir/all]
> Error 2 make[1]: Leaving directory '/tmp/SBo/digikam-4.14.0/build'
> Makefile:141: recipe for target 'all' failed make: *** [all] Error 2
> 
> 
> again, appreciate any help/pointers. thanks and regards, subash

i would recompile opencv again after ffmpeg is being rebuilt
opencv <-> ffmpeg is a circular dependency

or even better, recompile all digikam's dependency using sqg -p digikam;
sbopkg -i digikam


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://sbopkg.org/pipermail/sbopkg-users/attachments/20151115/a68a0d5d/attachment.asc>


More information about the sbopkg-users mailing list