hi, I build OpenCV 2.4.9 from source with Visual Studio 2012 + Cuda 5.5 + Cmake 2.8 on Windows 7 32bit. My computer with Gigabyte Gefore 9800 GTX+ (Compute capability = 1.1).
If i set CUDA_ARCH_BIN = 2.0 2.1 3.0 3.5, the OpenCV build is OK. I run the sample bgfg_segm of cuda, it raises an error: "OpenCV Error: Gpu Api Call <invalid device="" function="">, file .../gpubgsegm/src/cuda/mog.cu. line 328"
But if i set CUDA_ARCH_BIN = 1.1 1.2 1.3 2.0 2.1(2.0) 3.0 3.5, the OpenCV build will raises an error:__longlong_as_double" is undefined....
Could you pls tell me how to build OpenCV 2.4.9 from source with VS2012 + Cuda 5.5 + CMake 2.8 to run the samples with my card above.
Thanks,