This is so I can check the next time I forget…
To get Relion 2 to build on Ubuntu 16.04/Mint 18(.1) with the in-Ubuntu-repo CUDA 7.5, add the following to the cmake flags…
cmake .. -DCUDA_NVCC_FLAGS="-D_FORCE_INLINES"
And it’ll build without whining at you.
Of course, another option is just use CUDA 8…