Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - opencv2

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: opencv2 2.4.13-1

Git Clone URL: https://aur-dev.archlinux.org/opencv2.git (read-only)
Package Base: opencv2
Description: Open Source Computer Vision Library (Legacy Version)
Upstream URL: http://opencv.org/
Licenses: BSD
Conflicts: opencv
Submitter: reisub
Maintainer: reisub
Last Packager: reisub
Votes: 11
Popularity: 2.150483
First Submitted: 2016-04-25 13:35
Last Updated: 2016-05-25 10:57

Latest Comments

davidmcinnis commented on 2016-11-22 21:02

Could you please remove eigen2 from the make dependencies? I've been able to build opencv2 without eigen2 installed and it seems to work fine.


fireion commented on 2016-08-30 14:38

Could someone please modify the PKGBUILD now that gcc5 is in official repos as dependency of cuda ? (Add some comment to enable cuda, and compile cuda parts using gcc-5/g++-5)

Lindhe commented on 2016-08-02 12:04

Have you happened to have time to fix stuff yet?

reisub commented on 2016-06-27 15:55


I tried to make them compatible at first, but didn't have the time to make it work.

I'm currently busy with exams and will probably have time for this at the end of july. If you get it to work, feel free to send me a diff and I will incorporate that in the package.


evorster commented on 2016-06-20 08:05

I have software that depends on opencv3, and maintain slowmovideo package in aur that depends on opencv2.

Currently this package conflicts with the opencv package. On the opencv website it says that it's quite possible to run both version 2 and version 3 of opencv on the same machine together.

Of course the install directory would have to change so that the two packages do not overwrite each others files.

Would you be interested to do this? If not I can create a clone of this package that would be able to be installed concurrently with opencv3, and which I can link to from slowmovideo.

reisub commented on 2016-05-24 13:46

* Bump to 2.4.13
* Add CPU Extension Options

geosam commented on 2016-05-11 22:01

Thanks @reisub for your prompt response. I have managed to update the package SAGA GIS with this dependency.

reisub commented on 2016-05-10 17:56

I added two patches to fix the incompatibilities with gcc 6.1 until upstream has a new release.
Also note that I disabled CUDA support for now, as gcc 6.1 does not work with nvcc yet

reisub commented on 2016-05-10 09:02

it looks like the gcc upgrade to 6.1.1 broke some things, I'm looking into this.

geosam commented on 2016-05-10 01:36

I get the next error:

I've reported in: https://github.com/Itseez/opencv/issues/6517

[ 0%] Built target opencv_core_pch_dephelp
[ 0%] Generating precomp.hpp.gch/opencv_core_Release.gch
cc1plus: aviso: la opción de línea de órdenes ‘-Wmissing-prototypes’ es válida para C/ObjC pero no para C++
cc1plus: aviso: la opción de línea de órdenes ‘-Wstrict-prototypes’ es válida para C/ObjC pero no para C++
In file included from /usr/include/c++/6.1.1/bits/stl_algo.h:59:0,
from /usr/include/c++/6.1.1/algorithm:62,
from /tmp/packerbuild-1001/opencv2/opencv2/src/opencv-,
from /tmp/packerbuild-1001/opencv2/opencv2/src/opencv-
/usr/include/c++/6.1.1/cstdlib:75:25: error fatal: stdlib.h: No existe el fichero o el directorio
#include_next <stdlib.h>
compilación terminada.
modules/core/CMakeFiles/pch_Generate_opencv_core.dir/build.make:62: fallo en las instrucciones para el objetivo 'modules/core/precomp.hpp.gch/opencv_core_Release.gch'
make[2]: *** [modules/core/precomp.hpp.gch/opencv_core_Release.gch] Error 1
CMakeFiles/Makefile2:862: fallo en las instrucciones para el objetivo 'modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all'
make[1]: *** [modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all] Error 2
Makefile:160: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2