Package Details: opencv-samples-git 4.6.0.r213.gbb64db98d8-1

Git Clone URL: https://aur.archlinux.org/opencv-git.git (read-only, click to copy)
Package Base: opencv-git
Description: Open Source Computer Vision Library (samples)
Upstream URL: https://opencv.org/
Licenses: BSD
Conflicts: opencv, opencv-samples, python-opencv
Submitter: chenxing
Maintainer: andrewSC
Last Packager: andrewSC
Votes: 43
Popularity: 0.000014
First Submitted: 2012-07-31 00:21 (UTC)
Last Updated: 2022-08-27 19:50 (UTC)

Dependencies (25)

Required by (3)

Sources (3)

Latest Comments

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

andrewSC commented on 2018-02-26 14:28 (UTC)

trougnouf: Can you provide a dump (via gist or ptpb.pw, etc) of the full build on your system with the current/unmodified pkgbuild? I'm not getting errors compiling locally.

trougnouf commented on 2018-02-18 15:14 (UTC)

still getting an error, --expt-relaxed-constexpr should be added to CUDA_NVCC_FLAGS somehow

trougnouf commented on 2018-02-18 14:02 (UTC)

Needs '-DCUDA_HOST_COMPILER=/usr/bin/gcc-6' in _cmakeopts and gcc6 in makedepends

andrewSC commented on 2018-01-05 14:53 (UTC) (edited on 2018-01-05 14:53 (UTC) by andrewSC)

hellraise007: Last successful build on my machine was around 1am EDT 05/01/2018: opencv-git-3.4.0.r59.g16821b877c-1-x86_64.pkg.tar

EDIT: Are you having trouble compiling?

hellraise007 commented on 2018-01-05 14:51 (UTC)

Does this package build without errors?

a36233 commented on 2017-11-22 14:56 (UTC)

Please build with gcc-6 because of cuda, please add dependencies and build using CC and CCX pointing to gcc-6 and g++-6. [ 5%] Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o In file included from /opt/cuda/include/host_config.h:50:0, from /opt/cuda/include/cuda_runtime.h:78, from <command-line>:0: /opt/cuda/include/crt/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported! #error -- unsupported GNU version! gcc versions later than 6 are not supported! ^~~~~ CMake Error at cuda_compile_generated_gpu_mat.cu.o.cmake:206 (message): Error generating

andrewSC commented on 2017-05-12 15:36 (UTC)

davini: I just updated the PKGBUILD. The error you (and anyone using this PKGBUILD) were getting was related to https://github.com/opencv/opencv/pull/8582. Should be all fixed now. Let me know if there are any other issues.

davini commented on 2017-05-05 17:56 (UTC)

I'm not really sure how to fix this error: ... ==> Updated version: opencv-git 3.2.0.r571.g06b0fe35d-1 ==> Starting build()... CMake Error at CMakeLists.txt:11 (message): FATAL: In-source builds are not allowed. You should create separate directory for build files. -- Configuring incomplete, errors occurred! ==> ERROR: A failure occurred in build(). Aborting. Any ideas?

andrewSC commented on 2016-12-16 17:12 (UTC)

cyang: I've successfully built and updated this package on an Intel Core i7-4980HQ (Haswell-H). If someone else has trouble building on Ivy Bridge I can try to target that. Also, did you try adding `-D CMAKE_C_FLAGS="-march=ivybridge"` and `-D CMAKE_CXX_FLAGS="-march=ivybridge"` to cmakeopts already?

cyang commented on 2016-12-16 09:09 (UTC)

I got the following error when building: In file included from /home/cyang/src/opencv-git/src/opencv/modules/core/include/opencv2/core/hal/intrin.hpp:293:0, from /home/cyang/src/opencv-git/src/opencv/modules/core/src/precomp.hpp:84, from /home/cyang/src/opencv-git/src/opencv/modules/core/src/algorithm.cpp:43: /home/cyang/src/opencv-git/src/opencv/modules/core/include/opencv2/core/hal/intrin_sse.hpp: In function ‘cv::v_float32x4 cv::v_cvt_f32(const cv::v_float16x4&)’: /home/cyang/src/opencv-git/src/opencv/modules/core/include/opencv2/core/hal/intrin_sse.hpp:1721:42: error: ‘_mm_cvtph_ps’ was not declared in this scope return v_float32x4(_mm_cvtph_ps(a.val)); ^ /home/cyang/src/opencv-git/src/opencv/modules/core/include/opencv2/core/hal/intrin_sse.hpp: In function ‘cv::v_float16x4 cv::v_cvt_f16(const cv::v_float32x4&)’: /home/cyang/src/opencv-git/src/opencv/modules/core/include/opencv2/core/hal/intrin_sse.hpp:1726:45: error: ‘_mm_cvtps_ph’ was not declared in this scope return v_float16x4(_mm_cvtps_ph(a.val, 0)); ^ make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/build.make:91: modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o] Error 1 I was able to resolve it by adding '-D ENABLE_AVX=ON' to _cmakeopts in the PKGBUILD which for me adds the -mavx and -mf16c compiler flags. Not sure if others are seeing this error, or it is only my configuration/hardware (Intel Ivy Bridge).