Hi,
I’ve spent a long time trying to solve this…
I created CUDA + (openCV) console application… everything ok, runs fine.
Now I need to present the result. So I’m trying to use those functions in windows forms application - which is managed code
I added the unmanaged code with CUDA and openCV functions to the win forms application, set up linker…
It compiles, links… When I run the application and use a simple OpenFileDialog, it crashes no matter I’m in the debug or release mode
The only warning is: 1>LINK : warning LNK4098: defaultlib ‘MSVCRT’ conflicts with use of other libs; use /NODEFAULTLIB:library
If I set the linker, to Ignore specific library: LIBCMTD The warning disappears… But the program still crashes.
I have tried many things… I played with single trhread, multithread… seems fine.
The only thing I’m not able to set, as someone advice are these settings… can’t set them the same, there are some other errors then
C/C++ code generation is - Multi-threaded Debug DLL (/MDd)
and CUDA is - Multi-Threaded Debug (/MTd)
Really don’t know. Please, do you have some working example? Any Ideas?
Would be very thankful…
Hi
I wish to integrate opencv with cuda. I would really appretiate your help as you have already figured that out.
Thanks in anticipation!
Hi
I wish to integrate opencv with cuda. I would really appretiate your help as you have already figured that out.
Thanks in anticipation!