I’m now studying CUDA with the book “CUDA By Example”. My environment is VS2015 and my system is Win10. CUDA version is the latest.
Any example codes that include “cpu_anim.h” will report thousands of errors like “Variable ‘EMIT’ is not a type name”, "undefined symbol ‘_m64’ "and so on. The first error occurs in multiple head files such as cmath, emmintrin.h, exception, immintrin.h, iosfwd.
However, those codes can still be successfully built and executed with the correct result.
How can I solve this? Is that a matter of the compiling environment or the header file “cpu_anim.h”?
By the way, did the author provide any update of those example codes to fit latest CUDA and VS?