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) - opencv-git

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

Package Details: opencv-git 3.2.0.r133.ga2fed4c79-1

Git Clone URL: https://aur-dev.archlinux.org/opencv-git.git (read-only)
Package Base: opencv-git
Description: Open Source Computer Vision Library
Upstream URL: http://opencv.org/
Licenses: BSD
Conflicts: opencv, opencv-git
Provides: opencv=3.2.0.r133.ga2fed4c79
Submitter: chenxing
Maintainer: andrewSC
Last Packager: andrewSC
Votes: 38
Popularity: 0.301779
First Submitted: 2012-07-31 00:21
Last Updated: 2017-02-03 14:37

Required by (139)

Sources (2)

Pinned Comments

andrewSC commented on 2016-12-06 16:19

Hi all, I've adopted this package and have made the following changes:
- Removal of ARM support (please comment if you would like it back)
- Added opencv_contrib to the build process

Right now this is a fairly vanilla PKGBUILD. As time goes on and I understand how the community uses the opencv package, I can make changes where appropriate.

If there's options or other things you would like to suggest for addition/removal to the PKGBUILD please feel free to comment! Thanks!

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 ... Next › Last »

pyp22 commented on 2015-09-26 03:15

# fix ippicv downloading by changing url. Corrupted file or hash pb on Sourceforge

sed -i -e "s#http://sourceforge.net/projects/opencvlibrary/files/3rdparty/ippicv#http://ie.archive.ubuntu.com/disk1/disk1/download.sourceforge.net/pub/sourceforge/o/op/opencvlibrary/3rdparty/ippicv#g" 3rdparty/ippicv/downloader.cmake

theodore commented on 2015-08-11 19:10

In case anyone gets the following error:

/usr/lib/libX11.so.6: error adding symbols: DSO missing from command line opencv

he can solve by adding the '-DOPENCV_LINKER_LIBS=X11' CMake variable in the PKGBUILD under the _cmakeopts section. Look in the following link as well for more info:

https://github.com/Itseez/opencv/issues/5067

theodore commented on 2015-08-11 19:08

In case anyone gets the following error:

/usr/lib/libX11.so.6: error adding symbols: DSO missing from command line opencv

he can solve by adding the '-DOPENCV_LINKER_LIBS=X11' CMake variable. Look in the following link as well for more info:

https://github.com/Itseez/opencv/issues/5067

tom1103 commented on 2015-07-10 21:40

I've this error when I install the pkg :
http://0bin.net/paste/zV0DpnqRRo9h+rbY#gzITkZNLcYrS14JjkPd92o80l15+x0aCCvH2Nsz1s67

v01d commented on 2015-07-09 03:48

I believe so. Actually, they get built from opencv's cmake file.

wallnuss commented on 2015-07-09 02:50

@v01d does opencv-extras require the opencv sources to be around during compile time? If not I would prefer it being a separate package.

v01d commented on 2015-07-04 23:23

shouldn't this pull also the sources from opencv_extras? I've downloaded this and modified it to do so.

theodore commented on 2015-06-10 13:01

@wallnuss actually it was my bad, because I was using the files from the old aur. So, I do not know if there was actual need for removing the pkgconfig patch. Now it compiles though without problem. It only gives a lot of warning and note messages, which I do not know if it is normal, considering that I have also enabled other options into the _cmakeopts, or not. For example:

/opencv-git/src/opencv/modules/core/include/opencv2/core/operations.hpp: In static member function ‘static void cv::SVD::compute(const cv::Matx<_Tp, m, n>&, cv::Matx<_Tp, nm, 1>&)’:
/opencv-git/src/opencv/modules/core/include/opencv2/core/base.hpp:281:124: warning: typedef ‘CV_StaticAssert_failed_at_312’ locally defined but not used [-Wunused-local-typedefs]
typedef cv::CV_StaticAssert_test< sizeof(cv::CV_StaticAssert_failed< static_cast<bool>(condition) >) > CVAUX_CONCAT(CV_StaticAssert_failed_at_, __LINE__)
^
/opencv-git/src/opencv/modules/core/include/opencv2/core/base.hpp:254:32: note: in definition of macro ‘CVAUX_CONCAT_EXP’
#define CVAUX_CONCAT_EXP(a, b) a##b
^
/opencv-git/src/opencv/modules/core/include/opencv2/core/base.hpp:281:111: note: in expansion of macro ‘CVAUX_CONCAT’
typedef cv::CV_StaticAssert_test< sizeof(cv::CV_StaticAssert_failed< static_cast<bool>(condition) >) > CVAUX_CONCAT(CV_StaticAssert_failed_at_, __LINE__)
^
/opencv-git/src/opencv/modules/core/include/opencv2/core/operations.hpp:312:5: note: in expansion of macro ‘CV_StaticAssert’
CV_StaticAssert( nm == MIN(m, n), "Invalid size of output vector.");

do you get these note and warning messages as well, are you aware if it is normal?

theodore commented on 2015-06-10 12:29

@wallnuss actually it was my bad, because I was using the files from the old aur. So, I do not know if there was actual need for removing the pkgconfig patch. It compiles though without problem. It only gives a lot of warning and note messages, which I do not know if it is normal, considering that I have also enabled other options into the _cmakeopts. For example:

/home/theodore/Desktop/packages/opencv-git/src/opencv/modules/core/include/opencv2/core/operations.hpp: In static member function ‘static void cv::SVD::compute(const cv::Matx<_Tp, m, n>&, cv::Matx<_Tp, nm, 1>&)’:
/home/theodore/Desktop/packages/opencv-git/src/opencv/modules/core/include/opencv2/core/base.hpp:281:124: warning: typedef ‘CV_StaticAssert_failed_at_312’ locally defined but not used [-Wunused-local-typedefs]
typedef cv::CV_StaticAssert_test< sizeof(cv::CV_StaticAssert_failed< static_cast<bool>(condition) >) > CVAUX_CONCAT(CV_StaticAssert_failed_at_, __LINE__)
^
/home/theodore/Desktop/packages/opencv-git/src/opencv/modules/core/include/opencv2/core/base.hpp:254:32: note: in definition of macro ‘CVAUX_CONCAT_EXP’
#define CVAUX_CONCAT_EXP(a, b) a##b
^
/home/theodore/Desktop/packages/opencv-git/src/opencv/modules/core/include/opencv2/core/base.hpp:281:111: note: in expansion of macro ‘CVAUX_CONCAT’
typedef cv::CV_StaticAssert_test< sizeof(cv::CV_StaticAssert_failed< static_cast<bool>(condition) >) > CVAUX_CONCAT(CV_StaticAssert_failed_at_, __LINE__)
^
/home/theodore/Desktop/packages/opencv-git/src/opencv/modules/core/include/opencv2/core/operations.hpp:312:5: note: in expansion of macro ‘CV_StaticAssert’
CV_StaticAssert( nm == MIN(m, n), "Invalid size of output vector.");

do you get these note and warning messages as well, are you aware if it is normal?

theodore commented on 2015-06-10 12:27

@wallnuss actually it was my bad, because I was using the files from the old aur. So, I do not know if there was actual need for removing the pkgconfig patch. It compiles though without problem. It only gives a lot of warning and note messages, which I do not know if it is normal, considering that I have also enabled other options into the _cmakeopts. For example:

/home/theodore/Desktop/packages/opencv-git/src/opencv/modules/core/include/opencv2/core/operations.hpp: In static member function ‘static void cv::SVD::compute(const cv::Matx<_Tp, m, n>&, cv::Matx<_Tp, nm, 1>&)’:
/home/theodore/Desktop/packages/opencv-git/src/opencv/modules/core/include/opencv2/core/base.hpp:281:124: warning: typedef ‘CV_StaticAssert_failed_at_312’ locally defined but not used [-Wunused-local-typedefs]
typedef cv::CV_StaticAssert_test< sizeof(cv::CV_StaticAssert_failed< static_cast<bool>(condition) >) > CVAUX_CONCAT(CV_StaticAssert_failed_at_, __LINE__)
^
/home/theodore/Desktop/packages/opencv-git/src/opencv/modules/core/include/opencv2/core/base.hpp:254:32: note: in definition of macro ‘CVAUX_CONCAT_EXP’
#define CVAUX_CONCAT_EXP(a, b) a##b
^
/home/theodore/Desktop/packages/opencv-git/src/opencv/modules/core/include/opencv2/core/base.hpp:281:111: note: in expansion of macro ‘CVAUX_CONCAT’
typedef cv::CV_StaticAssert_test< sizeof(cv::CV_StaticAssert_failed< static_cast<bool>(condition) >) > CVAUX_CONCAT(CV_StaticAssert_failed_at_, __LINE__)
^
/home/theodore/Desktop/packages/opencv-git/src/opencv/modules/core/include/opencv2/core/operations.hpp:312:5: note: in expansion of macro ‘CV_StaticAssert’
CV_StaticAssert( nm == MIN(m, n), "Invalid size of output vector.");

do you get these note and warning messages as well?