FS#32342 - [opencv] undefined symbols
Attached to Project:
Arch Linux
Opened by schlmm (schlmm) - Wednesday, 31 October 2012, 22:18 GMT
Last edited by Ray Rashif (schivmeister) - Friday, 09 November 2012, 19:59 GMT
Opened by schlmm (schlmm) - Wednesday, 31 October 2012, 22:18 GMT
Last edited by Ray Rashif (schivmeister) - Friday, 09 November 2012, 19:59 GMT
|
Details
Description:
somehow the opencv library is not exporting its symbols right. i dont know why this is happening. didnt find something useful to solve these problems. maybe it is something about the headers of opencv? using latest opencv from the repo (2.4.2-5) Steps to reproduce: melt <yourfilehere> -filter frei0r.facebl0r or: melt <yourfilehere> -filter frei0r.facedetect both output: melt: symbol lookup error: /usr/lib/frei0r-1/facedetect.so: undefined symbol: cvSetNumThreads or: gst-launch-0.10 videotestsrc ! ffmpegcolorspace ! frei0r-filter-opencvfacedetect ! ffmpegcolorspace ! autovideosink also while compiling newest (git version) of gst-plugins-bad, where opencv <= 2.4.2 is enabled, im getting: make check-TESTS make[3]: Entering directory `/home/schlmm/stuff/abs/gst-plugins-bad/src/gst-plugins-bad/tests/check' (gst-plugin-scanner:27000): GStreamer-WARNING **: Failed to load plugin '../../ext/opencv/.libs/libgstopencv.so': ../../ext/opencv/.libs/libgstopencv.so: undefined symbol: cvReleaseImageHeader |
This task depends upon
Closed by Ray Rashif (schivmeister)
Friday, 09 November 2012, 19:59 GMT
Reason for closing: Fixed
Additional comments about closing: opencv 2.4.3-2, frei0r-plugins 1.3-6
Friday, 09 November 2012, 19:59 GMT
Reason for closing: Fixed
Additional comments about closing: opencv 2.4.3-2, frei0r-plugins 1.3-6
also gst-plugins-bad (1.0.2 with opencv >= 2.4.3 enabled in configure.ac) compiles just fine and the opencv elements are all available and working.
Thx!
still getting an error while using the gst-launch cmd. didnt recompiled gst-plugins-bad-0.10 yet, but also happens in new compiled gst-plugins-bad (1.0.2)
dont know if its enough to add
mv OpenCV opencv
after:
cd "$pkgdir/usr/share"
in the PKGBUILD
http://code.opencv.org/issues/2512
I will push a patch converting them all to lowercase.
Anyway, I believe the gst issue is something different. Will have to look at that later, and I'll keep this open as long as that's not fixed.