Created attachment 313547 [details] emerge --info OpenCV 2.4.0 ebuild contains check to disable CUDA support if GCC > 4.4 is used. This is no longer correct for new versions of CUDA and OpenCV. This version of OpenCV can be built with CUDA 4.1 and GCC 4.5.3. With dev-util/nvidia-cuda-toolkit-4.1, version check seems to be the following in /opt/cuda/include/host_config.h: #if defined(__GNUC__) #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5) #error -- unsupported GNU version! gcc 4.6 and up are not supported! #endif /* __GNUC__> 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5) */ #endif /* __GNUC__ */
Fixed, thanks!