Hi!
Have a fresh install of F24. The machine has Nvidia GTX 960 video card. I would like to enable GPU rendering in blender. Have installed nvidia drivers from rpmfusion repo and CUDA toolkit from nvidia. Can select now CUDA as rendering option in blender settings. However trying to render anything fails. Initially nvcc couldn't compile using gcc-6.1.1. After installing compat-gcc I have gcc-3.4. Added softlinks to it:
sudo ln -s /usr/bin/gcc34 /usr/local/cuda-7.5/bin/gcc
And same for g++
Now CUDA's kernel compilation fails with the following error:
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/cpp_type_traits.h (334): error: expected an identifier

1 error detected in the compilation of "/tmp/tmpxft_00001fa8_00000000-7_kernel.cpp1.ii".

As I understand the issue is still related to some uncompatible versions of C++. Maybe not the compiler itself but std standard. Is there workaround? Anyone using successfully CUDA under F24? There must be thousands of you! Please give me some hint.
--
Hiisi.
Registered Linux User #487982. Be counted at: https://linuxcounter.net/
--
Spandex is a privilege, not a right.