OpenCV can be built with libraw1394 and libdc1394, but the latest version still uses a slightly older libraw1394 (0.8.0) han the current one in portage (0.9.0), so I've disabled that. But everything else seems to be working well. I've locally assigned it to media-libs. All other details in ebuild. Reproducible: Always Steps to Reproduce:
Created attachment 43551 [details] OpenCV-0.9.6 ebuild
The opencv build fails if a newer version of libdc1394 is installed (I have it installed for another app). The configure script fails to check for this, and therefore fails. Here is a build that downloads a newer configure.in from the opencv cvs. It is ugly -- if anyone can fix it, please do.
Created attachment 48523 [details] opencv-0.9.6-r1.ebuild
Created attachment 48598 [details] opencv-cvs-0.01.ebuild This ebuild downloads and installs the current opencv cvs tree. The releases have some irritating bugs that are fixed in the cvs, so this may be useful to some. It may be useful to specify a particular revision to checkout, which I may add in the near future. Just a note, this ebuild has to go in a 'opencv-cvs' directory in portage, not 'opencv', as the previous ebuilds do.
I won't compile with linux26-headers, it needs linux-headers even if you are using a 2.6 kernel.
Created attachment 67843 [details] Dated CVS ebuild for OpenCV This ebuild will download the cvs version based on the trailing date. If 20050908 doesn't work for you, just change it to an older or more recent date.
Created attachment 67954 [details] Dated CVS ebuild for OpenCV (Fixed) Sorry -- there was a bug in the ECVS_CO_OPTS flags.
I just used Roman's CVS ebuild to put OpenCV on a fresh Gentoo install. I had to rename it opencv-cvs-20050916.ebuild to get a version that would compile against recent versions of ffmpeg. Of course, there are lots of changes in cvs since then, but that date at least gives something that compiles and installs. Thanks to Roman and everyone else for putting an ebuild together. Benedict
*** Bug 121923 has been marked as a duplicate of this bug. ***
Created attachment 79193 [details] This is an ebuild for the opencv 0.9.7 I made this ebuild to install the opencv-0.9.7 on my gentoo and it works. But I try a lot of things before, with ffmpeg, libdc1394, v4l in use flag... So it's working for me but it may not for you try it and comment please.
I suggest an addition to portage with and hard masked status. Is it possible ?
I can check out the code manually using cvs, but using the ebuild this ALWAYS occurs. * Fetching CVS module opencv into /usr/portage/distfiles/cvs-src ... * Running cvs -q -f -z3 -d ":pserver:anonymous:@cvs.sourceforge.net:/cvsroot/opencvlibrary" login Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/opencvlibrary cvs [login aborted]: unrecognized auth response from cvs.sourceforge.net: M -!- Client or Server timeout occurred! !!! ERROR: media-gfx/opencv-20060217 failed. Call stack: ebuild.sh, line 1894: Called dyn_unpack ebuild.sh, line 694: Called src_unpack ebuild.sh, line 1609: Called cvs_src_unpack cvs.eclass, line 503: Called cvs_fetch !!! cvs login command failed !!! If you need support, post the topmost build error, and the call stack if relevant. In the above case i removed the -D {PV} -dP and changed to just -P but same error occurs
this also sometimes occurs * Fetching CVS module opencv into /usr/portage/distfiles/cvs-src ... * Running cvs -q -f -z3 -d ":pserver:anonymous:@cvs.sourceforge.net:/cvsroot/opencvlibrary" login Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/opencvlibrary cvs [login aborted]: end of file from server (consult above messages if any)
Created attachment 83396 [details] Dated CVS ebuild with support for python wrapper I updated the previous cvs ebuild to allow the possibility of compiling the python wrapper support.
This package seems not to be gcc-4 safe :( ... cvcap.cpp: In function 'void icvCloseAVI_FFMPEG(CvCaptureAVI_FFMPEG*)': cvcap.cpp:1202: error: cannot convert 'AVCodecContext**' to 'AVCodecContext*' for argument '1' to 'int avcodec_close(AVCodecContext*)' cvcap.cpp:1213: warning: dereferencing type-punned pointer will break strict-aliasing rules cvcap.cpp: In function 'int icvOpenAVI_FFMPEG(CvCaptureAVI_FFMPEG*, const char*)': cvcap.cpp:1242: error: cannot convert 'AVCodecContext**' to 'AVCodecContext*' in initialization cvcap.cpp: In function 'int icvGrabFrameAVI_FFMPEG(CvCaptureAVI_FFMPEG*)': cvcap.cpp:1296: error: cannot convert 'AVCodecContext**' to 'AVCodecContext*' for argument '1' to 'int avcodec_decode_video(AVCodecContext*, AVFrame*, int*, uint8_t*, int)' cvcap.cpp: In function 'const IplImage* icvRetrieveFrameAVI_FFMPEG(CvCaptureAVI_FFMPEG*)': cvcap.cpp:1315: error: request for member 'pix_fmt' in 'capture->CvCaptureAVI_FFMPEG::video_st->AVStream::codec', which is of non-class type 'AVCodecContext*' cvcap.cpp:1316: error: request for member 'width' in 'capture->CvCaptureAVI_FFMPEG::video_st->AVStream::codec', which is of non-class type 'AVCodecContext*' cvcap.cpp:1316: error: request for member 'height' in 'capture->CvCaptureAVI_FFMPEG::video_st->AVStream::codec', which is of non-class type 'AVCodecContext*' cvcap.cpp: In function 'double icvGetPropertyAVI_FFMPEG(CvCaptureAVI_FFMPEG*, int)': cvcap.cpp:1353: error: request for member 'frame_rate' in 'capture->CvCaptureAVI_FFMPEG::video_st->AVStream::codec', which is of non-class type 'AVCodecContext*' cvcap.cpp:1354: error: request for member 'frame_rate_base' in 'capture->CvCaptureAVI_FFMPEG::video_st->AVStream::codec', which is of non-class type 'AVCodecContext*' cvcap.cpp:1357: error: request for member 'codec_tag' in 'capture->CvCaptureAVI_FFMPEG::video_st->AVStream::codec', which is of non-class type 'AVCodecContext*'cvcap.cpp: In function 'CvCapture* cvCaptureFromFile(const char*)': cvcap.cpp:1438: warning: dereferencing type-punned pointer will break strict-aliasing rules cvcap.cpp: In function 'CvVideoWriter* cvCreateVideoWriter(const char*, int, double, CvSize, int)': cvcap.cpp:1604: error: 'struct AVCodecContext' has no member named 'frame_rate' cvcap.cpp:1605: error: 'struct AVCodecContext' has no member named 'frame_rate_base' cvcap.cpp:1614: warning: dereferencing type-punned pointer will break strict-aliasing rules cvcap.cpp:1618: warning: dereferencing type-punned pointer will break strict-aliasing rules cvcap.cpp:1630: warning: dereferencing type-punned pointer will break strict-aliasing rules cvcap.cpp:1634: warning: dereferencing type-punned pointer will break strict-aliasing rules cvcap.cpp:1648: warning: dereferencing type-punned pointer will break strict-aliasing rules cvcap.cpp:1652: warning: dereferencing type-punned pointer will break strict-aliasing rules cvcap.cpp: In function 'void cvReleaseVideoWriter(CvVideoWriter**)': cvcap.cpp:1708: warning: dereferencing type-punned pointer will break strict-aliasing rules make[3]: *** [cvcap.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/opencv-0.9.7/work/opencv-0.9.7/otherlibs/highgui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/opencv-0.9.7/work/opencv-0.9.7/otherlibs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/opencv-0.9.7/work/opencv-0.9.7' make: *** [all] Error 2 !!! ERROR: media-libs/opencv-0.9.7 failed.
Created attachment 88262 [details] updated the URL to the CVS repository
They have made a 1.0rc1 which looks very promising.
Created attachment 97795 [details] opencv-0.9.9.ebuild Ebuild for opencv-0.9.9 (release candidate 1.0rc1. This ebuild compiles the 0.9.9 release without any problems on amd64 using gcc 4.1.1 -- it looks like this release of the opencv codebase does not have the gcc problems exhibited by earlier releases. Please include opencv in the standard portage tree.
Noticed that this bug report doesn't contain a description of opencv for the manifest file. Please find an appropriate description below: OpenCV is a library aimt at real time computer vision applications. Some example application areas include Human-Computer Interaction (HCI); Object Identification, Segmentation and Recognition; Face Recognition; Gesture Recognition; Motion Tracking; Ego Motion, Motion Understanding; Structure From Motion (SFM); and Mobile Robotics. The library is intended for use, incorporation, and modification by researchers, commercial software developers, government and camera vendors as reflected in the license. (http://www.intel.com/technology/computing/opencv/license.htm)
I would suggest that opencv be placed in the media-libs category in portage.
Created attachment 101824 [details] Ebuild for 2006-11-11 CVS snapshot New ebuild for cvs snapshot version of OpenCV.
Created attachment 101825 [details, diff] Patch for cvs ebuild to enable USE flags
Poke-Bump Version 1.0 is out according to the sourceforge web site.
Created attachment 103705 [details] Ebuild for 1.0.0 version Ebuild for 1.0.0 version of intel's OpenCV library.
Created attachment 103706 [details, diff] patch to enable USE flags, and to fix for some default C(XX)FLAGS patch to enable USE flags, and to fix for some default C(XX)FLAGS that are enabled by default OpenCV's configure.
*** Bug 159826 has been marked as a duplicate of this bug. ***
Created attachment 112287 [details] ebuild for the latest OpenCv CVS snapshot this checks out the most recent version of OpenCv from CVS; i had problems under linux with GTK in the 1.0.0 version (see http://tech.groups.yahoo.com/group/OpenCV/message/44276); those problems have been fixed in CVS, but have not been released officially yet;
Comment on attachment 112287 [details] ebuild for the latest OpenCv CVS snapshot one thing i forgot: use this together with the USE flag patch 'Patch for cvs ebuild to enable USE flags' provided by Bolek Tekielski (http://bugs.gentoo.org/attachment.cgi?id=101825)...
Created attachment 117653 [details, diff] revised patch file for ebuild posted 2007/03/06 I attempted to emerge the ebuild posted by sebastian on 2007/03/06. It failed at applying the 20061111 patch due to minor changes in the configure.in file in the latest cvs snapshot. The patch works; however the ebuild fails later during compilation of cvsmooth.cpp. I will attach the build log next...
Created attachment 117655 [details] build.log from failed attempt to emerge opencv-cvs.ebuild I attempted to emerge the latest (as of 2007/04/28) cvs snapshot using sebastian's opencv-cvs.ebuild (which I saved as /usr/local/portage/opencv-1.0.01.ebuild). To avoid a conflict between quicktime and xine, I ran the emerge as: USE="-xine" emerge opencv. I had to modify the 20061111 patch in order to conform to minor changes in the wording of the config.in file. The ebuild died again, requesting libtoolize --copy --force so I uncommented line 52 of the ebuild. That succeeded, but the ebuild died again during compilation of cvsmooth.cpp. I gave up...
Created attachment 118619 [details, diff] Proposed patch to fix compile errors related to cvcap_ffmpeg.cpp I was encountering some compile errors with the opencv-1.0.0 ebuild and found a solution on the opencv discussion board, which I made into a patch.
Created attachment 118622 [details, diff] Made a minor change to the previous patch.
Created attachment 118623 [details] Revised version of Bolek's 1.0.0 ebuild to include the cvcap_ffmpeg patch.
sci@g.o: can we put the ebuild in the science overlay, or maybe on Sunrise?
(In reply to comment #34) > sci@g.o: can we put the ebuild in the science overlay, or maybe on Sunrise? Hi, I would be glad to do it, and probably in main tree soon. Thanks all for the contributions! Please mark the unused attachments as obsolete. If I assume Neil's last ebuild for 1.0.0 is the correct one, a quick look at it tells me it still needs some work. I have not tested it, but here is a brief list of possible changes: - HOMEPAGE: one is enough - syntax in DEPENDS: gtk2 whereas gtk in use flags, spaces - USE flags: twice ffmpeg, make sure all these use flags are really useful and you don't miss any. According to the install docs, there are at least some language bindings and image libraries. - patches in src_unpack instead of src_compile - *flags: are you sure all this filtering is necessary? - autoconf stuff: put in in src_patch, also use eautoreconf and friends, from autotools eclass - make sure testing works, e.g. by enabling FEATURES=test while emerging, otherwise, create a src_test (almost mandatory for scientific packages) - honour the docs/examples with a doc and/or examples flag if any, and do not dodoc COPYING, which will end up in the licenses directory anyway. - LICENSES: are you sure the intel license is bsd? Sébastien
Created attachment 121328 [details] opencv-1.0.0.ebuild with fixes suggested by Sébastien Obsoletes all other ebuilds (except probably the CVS snapshots). Depends on patches: enable-use-flags-1.0.0.patch http://bugs.gentoo.org/attachment.cgi?id=103706 cvcap_ffmpeg-1.0.0.patch http://bugs.gentoo.org/attachment.cgi?id=118622
Created attachment 121331 [details] opencv-1.0.0.ebuild with fixes suggested by Sébastien - v2 Improved a few things.
(In reply to comment #35) > - HOMEPAGE: one is enough One was also out of date. Updated to the moved Intel website. > - syntax in DEPENDS: gtk2 whereas gtk in use flags, spaces Done. Not sure what you mean by "spaces" though. > - USE flags: twice ffmpeg, make sure all these use flags are really useful and > you don't miss any. According to the install docs, there are at least some > language bindings and image libraries. Fixed. Added use flags "jpeg jpeg2k zlib png tiff openexr" for images, and "python" for python language binding. > - patches in src_unpack instead of src_compile Done. > - *flags: are you sure all this filtering is necessary? No idea. I left these in there. > - autoconf stuff: put in in src_patch, also use eautoreconf and friends, from > autotools eclass src_patch? Does that exist? do you mean src_unpack? eautoreconf is now used. > - make sure testing works, e.g. by enabling FEATURES=test while emerging, > otherwise, create a src_test (almost mandatory for scientific packages) FEATURES=test appears to work. > - honour the docs/examples with a doc and/or examples flag if any, and do not > dodoc COPYING, which will end up in the licenses directory anyway. removed the dodoc COPYING. Not sure how to do the docs/examples use flags. > - LICENSES: are you sure the intel license is bsd? Yes. Although there is a notice in configure.in that says something like it becomes GPL when Xine is linked in.
Created attachment 130219 [details, diff] Patch for opencv-1.0.0 to remove ffmpeg related compile errors. I've added a patch for the cvcap_ffmpeg.cpp file from opencv-1.0.0 which removes all ffmpeg related compile errors by changing img_convert to sws_scale calls and adding the previous patches. This enables opencv-1.0.0 to compile cleanly on my machine.
*** Bug 200545 has been marked as a duplicate of this bug. ***
hi! thanks a lot for your work on the ebuilds! but could you please cleanup all the attachments or tell which fix belongs to which ebuild at least? :) (i have the sources of a very nice game which requires htis lib, and i'd like to refer to this bugreport as dependency when uploading the game ebuild)
hi, when i've installed last time opencv i've downloaded these ebuilds and i modified/recreated a patch - with a tgz, you should be able to install opencv
Created attachment 155303 [details] snapshot of dev-libs/opencv overlay on my system contents: dev-libs/opencv/ dev-libs/opencv/files/ dev-libs/opencv/files/digest-opencv-1.0.0 dev-libs/opencv/files/digest-opencv-9999 dev-libs/opencv/files/enable-use-flags-20061111.patch dev-libs/opencv/files/enable-use-flags-20061111.patch.orig dev-libs/opencv/files/enable-use-flags-1.0.0.patch dev-libs/opencv/files/cvcap_ffmpeg-1.0.0.patch dev-libs/opencv/files/cvcap_ffmpeg.cpp.patch dev-libs/opencv/files/cvcap_ffmpeg-img_convert.patch dev-libs/opencv/Manifest dev-libs/opencv/opencv-9999.ebuild dev-libs/opencv/opencv-1.0.0.ebuild
Thank you very much for your friendly help, Nagy! This saves me some time :)
It builds fine, but sth seems to be wrong with ffmpeg: undefined symbol: sws_getContext (/usr/lib/libhighgui.so) undefined symbol: sws_scale (/usr/lib/libhighgui.so) this also occurs when building with USE="-ffmpeg" i have media-video/ffmpeg-0.4.9_p20070616-r2 installed here
This ebuild has been added to the science overlay.
good to know, but this build also gives me a undefined symbol: sws_getContext (/usr/lib/libhighgui.so undefined symbol: sws_scale (/usr/lib/libhighgui.so) on ldd -r :(
(In reply to comment #47) > good to know, but this build also gives me a > undefined symbol: sws_getContext (/usr/lib/libhighgui.so > undefined symbol: sws_scale (/usr/lib/libhighgui.so) > on ldd -r :( > Is that from the package I added to the science overlay? I can't reproduce here.
> Is that from the package I added to the science overlay? I can't reproduce > here. Yes it is. I'm on ~x86, not on ~amd64 but i doubt that this is the problem. All useflags but debug and examples are set to yes here's my emerge --info in case it might help: emerge --info Portage 2.1.5.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 i686) ================================================================= System uname: 2.6.25-gentoo-r4 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ Timestamp of tree: Mon, 09 Jun 2008 13:36:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/enlightenment /usr/portage/local/layman/science /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac aalib accessibility acl aften aiglx akamaru alsa amr amrnb apache2 arts audacious audiofile avahi avi be berkdb bidi blender-game bluetooth br brnet buttons bzip2 cairo caps cddacddb cdinstall cdio cdr cg chipcard cjk cli clucene contrib cpudetection cracklib crypt cups curl cxx d daap dbus dc1394 de_tvtoday dedicated deprecated devil directfb dri dtaus dts dv dvb dvd dvdr dvdread emerald enblend enca encode exif fam fax fbcon fbcondecor ffmpeg filepicker firefox flac fontconfig fortran fpx ftp gcj gconf gdbm geldkarte ggi gif gii gimp glitz gmp gnokii gnome gnutls gpac gphoto2 gpm graphviz gs gsm gstreamer gtk gtk2 h323 hal hbci hou htmlhandbook httpd iconv icu id3 id3tag ieee1394 image imagemagick imlib ipod ipv6 isdnlog jack java javascript jbig jikes joystick jpeg jpeg2k kde kdeenablefinal kerberos kqemu krb4 ladspa lame layout-osx-like lcms ldap libcaca libffilibgcrypt libnotify libsamplerate lirc live lua lzma lzo mad madwifi matroska mbrola mdnsresponder-compat midi mikmod mjpeg mmx mmxext mng mod modplug mono mozilla-firefox mp2 mp3 mp4live mpeg mpeg2 mudflap musepack musicbrainz mysql mythtv nas ncurses neXt njb nls nptl nptlonly nsplugin nvidia objc ofx ogg openal openexr opengl openmp optimisememory oss pam pcre pdf perl php player plugins png pnm portaudio posix povray pppd pulseaudio pvr python qt3 qt3support qt4 quicktime radio rar rdesktopreadline real reflection rle rt73usb rtc rtsp samba samplerate scanner sdl sdl-image seamonkey session shared shout sid sift silc skins slang sndfile sou sound source sox speex spl srt sse sse2 sse3 ssl ssse3 startup-notification stream svg svga t38 taglib tcl tcltk tcpd tga themes theora threadsafe thunderbird tiff timidity tk transcode truetype twolame unicode upnp usb v4l v4l2 vala vcd vcdx vidcap videos vidix vlm vnc vorbis wavpack win32codecs wma wmf wxwindows x264 x86 xanim xcb xcompositexext xine xml xorg xosd xpm xv xvid xvmc yv12 zlib zvbi" ALSA_CARDS="via82xx cmipci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="hauppauge hauppauge_dvb" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #49) > > Is that from the package I added to the science overlay? I can't reproduce > > here. > > Yes it is. I'm on ~x86, not on ~amd64 but i doubt that this is the problem. Well, as it turns out, it is the problem. pchrist confirmed. Now I have to figure out why this is happening only on one architecture....
(In reply to comment #50) > (In reply to comment #49) > > > Is that from the package I added to the science overlay? I can't reproduce > > > here. > > > > Yes it is. I'm on ~x86, not on ~amd64 but i doubt that this is the problem. > > Well, as it turns out, it is the problem. pchrist confirmed. Now I have to > figure out why this is happening only on one architecture.... > I'm pleased to report the issues are fix in r1139 :) The fix was to add -lswscale to FFMPEGLIBS. Thanks much to pchrist for being my x86 arch monkey :) I still have no idea why it linked correctly on my amd64 box...
> > I'm pleased to report the issues are fix in r1139 :) Thanks a lot for fixing this! I can confirm it builds fine now for ~x86 time's up to work on the ebuild for the game i mentioned above :)
> I can confirm it builds fine now for ~x86 > time's up to work on the ebuild for the game i mentioned above :) If someone wants to try: http://bugs.gentoo.org/show_bug.cgi?id=226447
*** Bug 227975 has been marked as a duplicate of this bug. ***
I added an ebuild for OpenCV to the tree as media-libs/opencv without noticing this bug. Sorry. I will take the lead on getting all the patches in this bug applied to my email. sci@ guys, do you want me to assign this bug to myself? Also, for an example app that uses OpenCV, check out dev-python/PyQrcodec, which can encode and decode QR codes, which are used to quickly open URIs on Japanese mobile phones.
Hi Josh, Indeed, Thomas work on the overlay is pretty much complete and avoid automagic. It will be nice if you could merge it with the one in the portage tree. Re-assigning. Thanks.
Hi, After fixing opencv up I'd like to continue to help out with this package. Could I be a secondary maintainer? It doesn't matter if it's through the science herd or not, but I'd like to keep my eye on this package.. :) Also Josh, I'll be sending my fixes upstream this week.
Fixed in CVS, opencv is in gentoo-x86!! :)