I am learning caffe. When I compile openCV framework, I meet this problem:
"/usr/local/cuda/include/host_config.h:115:2: error: #error -- unsupported GNU version! gcc versions later than 4.9 are not supported!"
However, I have installed the gcc-4.7 g++-4.7 and created a symlink for them. But it didn't work.The problem is still there.