2015-02-12 04:39:54 -0600 | commented question | Building OpenCV with CUDA support Error All, I think I found the problem cause. Before I met such problem, I've already build and install OpenCV using older code from the git repo. So that there already have header files in my /usr/local/include/opencv2, especially there is /usr/local/include/opencv2/core/private.cuda.hpp. However, it is an older one that doesn't define the symbols reporting undefined in above question. At the same time I found during the building nvcc have -I/usr/local/include in the command line, so that it use wrong private.cuda.hpp. As you know it should use the one in OpenCVSource, not the older installed one. I think the solution is to gracefully remove the original installed OpenCV from my computer, then build again. I am trying and I will report later. |
2015-02-12 03:40:18 -0600 | commented question | Building OpenCV with CUDA support Error thank you for the suggestion |
2015-02-12 02:29:56 -0600 | asked a question | Building OpenCV with CUDA support Error Recently I am trying to build OpenCV with CUDA support, and I met problem while building the module cudaarithm. OpenCV source:git cloned from : http://github.com/Itseez/opencv.git OpenCV branch: master branch OpenCV commit: CUDA version: CUDA 6.5 Hardware: MacBook Pro (13-inch, Mid 2010) GPU: NVIDIA GeForce 320M 256 MB OS Version: OS X Yosemite Steps I used: Expect Result: Building success without error Actual Result: when building OpenCVSource/modules/cudaarithm/src/cuda/transpose.cu, error happend like below: Then what action I take:
Although this is a workable workaround, I would like know whether the original OpenCV source cannot be compiled. |