This is my first post, please accept my apologies if I am unclear or fail to completely abide with posting rules. I have in any case sought far and wide in prep for my own question.
Working with:
- Windows 7 Enterprise version 6.1.7600
- Intel Xeon CPU Quadcore 3.07GHz
- NVidia Quadro 4000 GPU
- CUDA v5.0 Toolkit for Windows x64 build
- OpenCV v2.4.4
- OpenCV Cuda Package belonging to opencv v2.4.4
- Microsoft Visual Studios C++ 2010 Express ('vc10')
- (!) Without CMake (!)
steps, tutorials & checks I've done:
- I have installed and configured software I required for opencv 2.4.4 following the opencv.org tutorial....
- with vc10, following the opencv.org tutorial on building opencv in vc10 (applying the there-described global method and placing the gpu-related dlls on top), but
- I have not installed CMake software and never had any need for it, until I attempted moving calculations to the gpu.
- I've furthermore copy-pasted all the .dll files I'm applying in this vc10-solution into the 'Debug'-folder (placed in the same folder as where the .sln file of this solution is).
- Lastly, I've followed the NVidia developer Zone CUDA 5.0 Getting Started Guide up to the 'Verify Installation' paragraph, with successful outcome, and also configured the Build configurations to include CUDA compilation following the 'build customization for existing projects' instructions.
This question is about trying to speed up a win32 console .cpp that I've made in debug-mode (i.e. an visual studios solution using the win32 OpenCV library a rather simple image processing project, but with a blur with a large kernel that's taking much time) by making it run on the gpu. However, I am experiencing trouble running opencv with cuda 5.0 (even though OpenCV Cuda Package's readme.txt tells me to download and install Cuda 5.0).
Upon compiling and running in vc10 (=hitting F5, with Win32 Platform) - or likewise upon running the corresponding .exe executable-, I get an system error saying that "The program could not be started because cudart32_42_9.dll is missing on my computer".
Apparantly , even though opencv's readme tells me to use cuda5.0, it's still looking for the cuda-libraries belonging to 32bits cuda 4.2 toolkit (cudart 32 _42_9.dll) - and obviously not finding them because they're not installed.
In this question it is mentioned that OpenCV v2.4.4 simply hasn't been compiled with cuda 5.0 and the only way to make this run is to compile my own libraries using CMake.
My Question:
I am wondering if in the meantime allowing OpenCV v2.4.4 to run using x64 cuda 5.0 has become possible but WITHOUT having to compile my own libraries using CMake.
I would kindly like to ask any of you to share with me precisely what steps to take. In your solution, please write in detail, as this is only my third week of using C++ language, compilers libraries dlls and all such.
Many thanks in advance!
EDIT
This question has actually now (due to @talonmies 's comment) become much more like a question asked by
- user 'duttasankha' titled 'OpenCV with cuda MS Visual Studio 2008', and
- user 'zebullon' titled 'Do I need a 64 bit SDK on a 64 bit machine'.