Ask Your Question

Nicola17's profile - activity

2016-02-25 10:44:38 -0600 received badge  Notable Question (source)
2014-02-13 17:47:52 -0600 received badge  Popular Question (source)
2013-08-05 02:38:45 -0600 commented answer Building OpenCV 2.4.6 with CUDA 5.5RC in VS2012

I can't find a CMakeLists.txt in my opencv directory... where did you find it? I've downloaded this file http://sourceforge.net/projects/opencvlibrary/

2013-02-28 08:02:26 -0600 received badge  Student (source)
2013-02-01 07:10:13 -0600 commented answer Visual Studio 2012 and RtlFreeHeap error

This isn't the problem... If you have correctly installed CUDA everithing will already checked.

Please relate to my post to read all the details:

answers.opencv.org/question/6734/building-opencv-243-in-visual-studio-2012-and-cuda/

2013-01-31 10:31:52 -0600 commented answer Building OpenCV 2.4.3 in Visual Studio 2012 and CUDA 5.0

I always build my OpenCV version from source with CMAKE... I figured out the problem... it seems that building directly from the solution generated with CMAKE is not specified the version of visual studio so nvcc send an error (only 9.0 and 10.0 supported).

If you change the solution accordingly to my original post, you'll have some code compiled with VS2010 and some other with 2012.

:/ Damn Nvidia... Come on!

2013-01-31 07:29:41 -0600 commented answer Building OpenCV 2.4.3 in Visual Studio 2012 and CUDA 5.0

I have needs to build it with Visual Studio 2012 and CUDA 5.0 There's no other way? When will be supported?

2013-01-31 06:03:44 -0600 commented answer Visual Studio 2012 and RtlFreeHeap error

Really nice tutorial... have you included CUDA in your build? I followed your step but I can't compile OpenCV due to some strange errors with Cuda 5.0...

For more detail please read: http://answers.opencv.org/question/6734/building-opencv-243-in-visual-studio-2012-and-cuda/

2013-01-31 05:12:37 -0600 received badge  Editor (source)
2013-01-31 05:10:55 -0600 asked a question Building OpenCV 2.4.3 in Visual Studio 2012 and CUDA 5.0

Hi everybody. I'm trying to compile OpenCV from source in Visual Studio 2012 with CUDA 5.0.

First of all I added CUDA to Visual Studio 2012 following this guide: http://blog.norture.com/2012/10/gpu-parallel-programming-in-vs2012-with-nvidia-cuda/

Everything is ok and i can compile my CUDA project.

Then, using CMake, I've created the solution for buildig OpenCV in Visual Studio 2012 and now my problems truly begin.

During CMake configuration/generation CUDA 5.0 is correctly found nevertheless Visual Studio projects hold no information about Cuda compilation.

So I specified in Custom Buil for opencv_core project CUDA 5.0 and "CUDA C/C++" in matrix_operations.cu as element type.

when I build the project I have several errors like: error C2065: 'greater_equal': undeclared identifier I:...\opencv_2_4_3\modules\core\src\gpumat.cpp error C2065: 'less_equal': undeclared identifier I:...\opencv_2_4_3\modules\core\src\gpumat.cpp

So I added

#include < functional >

and I can compile this project but I think this is only a temporary solution.

When I compile opencv_gpu come the bigger problem: For example when i compile fgd_bgfg.cu I receive the following errors error C2061: errore di sintassi: identificatore 'ParameterType' i:...\opencv_2_4_3\modules\gpu\include\opencv2\gpu\device\functional.hpp error C2039: 'ParameterType': non è un membro di 'cv::gpu::device::TypeTraits ' i:..\opencv_2_4_3\modules\gpu\include\opencv2\gpu\device\functional.hpp

And i can't get rid of it!

Can you please give me an help? I need to compile OpenCv as soon as possibile :(

I read several other post on the topic but no one has my very problem http://answers.opencv.org/question/3601/243rc-visual-studio-2012-cuda-50/

Thank you for the help