Package Details: opencv-cuda 4.1.1-1

Git Clone URL: https://aur.archlinux.org/opencv-cuda.git (read-only)
Package Base: opencv-cuda
Description: Open Source Computer Vision Library with CUDA support
Upstream URL: http://opencv.org/
Licenses: BSD
Conflicts: opencv, opencv-samples
Provides: opencv, opencv-samples
Submitter: billypilgrim
Maintainer: billypilgrim
Last Packager: billypilgrim
Votes: 2
Popularity: 0.864237
First Submitted: 2018-08-11 08:14
Last Updated: 2019-09-03 14:18

Dependencies (24)

Required by (233)

Sources (4)

Latest Comments

1 2 Next › Last »

reikdas commented on 2019-09-07 23:21

In file included from /home/reik/.cache/yay/opencv-cuda/src/opencv-4.1.1/modules/python/src2/cv2.cpp:1657:
/home/reik/.cache/yay/opencv-cuda/src/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_text_createERFilterNM2(PyObject*, PyObject*, PyObject*)’:
/home/reik/.cache/yay/opencv-cuda/src/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:38305:1: internal compiler error: Segmentation fault
38305 | }
      | ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
make[2]: *** [modules/python3/CMakeFiles/opencv_python3.dir/build.make:63: modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:18245: modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2

reikdas commented on 2019-09-04 14:36

Error-

[ 39%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/eltwise_layer.cpp.o
nvcc error   : 'ptxas' died due to signal 11 (Invalid memory reference)
nvcc error   : 'ptxas' core dumped
CMake Error at cuda_compile_1_generated_remap.cu.o.Release.cmake:279 (message):
  Error generating file
  /home/reik/.cache/yay/opencv-cuda/src/build/modules/cudawarping/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_remap.cu.o


make[2]: *** [modules/cudawarping/CMakeFiles/opencv_cudawarping.dir/build.make:79: modules/cudawarping/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_remap.cu.o] Error 1

billypilgrim commented on 2019-09-03 14:18

Thanks for that. I've updated the PKGBUILD.

billypilgrim commented on 2019-09-03 14:18

Thanks for that. I've updated the PKGBUILD.

DWestCoast commented on 2019-09-03 13:01

Add -DEIGEN_INCLUDE_PATH to PKGBUILD

-DOPENCV_GENERATE_PKGCONFIG=ON \
-DOPENCV_ENABLE_NONFREE=ON \
-DEIGEN_INCLUDE_PATH=/usr/include/eigen3

reikdas commented on 2019-09-02 17:13

fatal error: Eigen/Core: No such file or directory

Is there a way to fix this?

huyizheng commented on 2019-03-30 10:44

@billypilgrim It built success now. Thx.

Another thing: The cuda in the official repository now depends on gcc8, so you'd better change the PKGBUILD to compile it with gcc8, or add a gcc7 dependency.

I successfully compiled it with gcc8.

billypilgrim commented on 2019-03-29 17:34

I've added a patch which fixes things for me.

Can you let me know if it works for you now, please?

huyizheng commented on 2019-03-29 05:24

Failed to build against cuda 10.1:

/home/abc/.cache/yay/opencv-cuda/src/opencv-4.0.1/modules/core/include/opencv2/core/cvstd_wrapper.hpp(45): error: incomplete type is not allowed
        detected during:
            instantiation of "cv::sfinae::has_parenthesis_operator<C, Ret, Args...>::check [with C=cv::DefaultDeleter<<unnamed>::LookUpTableImpl>, Ret=void, Args=<<unnamed>::LookUpTableImpl *>]" based on template argument <cv::DefaultDeleter<<unnamed>::LookUpTableImpl>> 
(49): here
            instantiation of class "cv::sfinae::has_parenthesis_operator<C, Ret, Args...> [with C=cv::DefaultDeleter<<unnamed>::LookUpTableImpl>, Ret=void, Args=<<unnamed>::LookUpTableImpl *>]" 
(138): here
            instantiation of "cv::Ptr<_Tp> cv::makePtr<_Tp,A1...>(const A1 &...) [with _Tp=<unnamed>::LookUpTableImpl, A1=<cv::_InputArray>]" 
/home/abc/.cache/yay/opencv-cuda/src/opencv_contrib-4.0.1/modules/cudaarithm/src/cuda/lut.cu(207): here

/home/abc/.cache/yay/opencv-cuda/src/opencv-4.0.1/modules/core/include/opencv2/core/cvstd_wrapper.hpp(49): error: template instantiation resulted in unexpected function type of "std::true_type (std::integral_constant<__nv_bool, false> *)" (the meaning of a name may have changed since the template declaration -- the type of the template is "std::true_type (std::is_same<std::decay<decltype((<expression>))>::type, void>::type *)")
        detected during:
            instantiation of "cv::sfinae::has_parenthesis_operator<C, Ret, Args...>::check [with C=cv::DefaultDeleter<<unnamed>::LookUpTableImpl>, Ret=void, Args=<<unnamed>::LookUpTableImpl *>]" based on template argument <cv::DefaultDeleter<<unnamed>::LookUpTableImpl>> 
(49): here
            instantiation of class "cv::sfinae::has_parenthesis_operator<C, Ret, Args...> [with C=cv::DefaultDeleter<<unnamed>::LookUpTableImpl>, Ret=void, Args=<<unnamed>::LookUpTableImpl *>]" 
(138): here
            instantiation of "cv::Ptr<_Tp> cv::makePtr<_Tp,A1...>(const A1 &...) [with _Tp=<unnamed>::LookUpTableImpl, A1=<cv::_InputArray>]" 
/home/abc/.cache/yay/opencv-cuda/src/opencv_contrib-4.0.1/modules/cudaarithm/src/cuda/lut.cu(207): here

/home/abc/.cache/yay/opencv-cuda/src/opencv-4.0.1/modules/core/include/opencv2/core/cvstd_wrapper.hpp(52): error: name followed by "::" must be a class or namespace name
        detected during:
            instantiation of class "cv::sfinae::has_parenthesis_operator<C, Ret, Args...> [with C=cv::DefaultDeleter<<unnamed>::LookUpTableImpl>, Ret=void, Args=<<unnamed>::LookUpTableImpl *>]" 
(138): here
            instantiation of "cv::Ptr<_Tp> cv::makePtr<_Tp,A1...>(const A1 &...) [with _Tp=<unnamed>::LookUpTableImpl, A1=<cv::_InputArray>]" 
/home/abc/.cache/yay/opencv-cuda/src/opencv_contrib-4.0.1/modules/cudaarithm/src/cuda/lut.cu(207): here

3 errors detected in the compilation of "/tmp/tmpxft_00005e8c_00000000-14_lut.compute_75.cpp1.ii".
CMake Error at cuda_compile_1_generated_lut.cu.o.Release.cmake:279 (message):
Error generating file
/home/abc/.cache/yay/opencv-cuda/src/build/modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/./cuda_compile_1_generated_lut.cu.o


make[2]: *** [modules/cudaarithm/CMakeFiles/opencv_cudaarithm.dir/build.make:163: modules/cudaarithm/CMakeFiles/cuda_compile_1.dir/src/cuda/cuda_compile_1_generated_lut.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2696: modules/cudaarithm/CMakeFiles/opencv_cudaarithm.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

DCengineer commented on 2019-02-12 18:44

Minor issue: pkgbase is undefined, which means that the source file is -4.0.1.tar.gz instead of opencv-4.0.1.tar.gz. I don't think this affects the build process, but it does cause tar to print a warning and doesn't play nicely with many other utilities.