caffe icon indicating copy to clipboard operation
caffe copied to clipboard

Fatal Error: math.h not found

Open alianza165 opened this issue 7 years ago • 1 comments

Hey,

alianza@alianza-Latitude-XT3:~/caffe$ make pycaffe NVCC src/caffe/solvers/adam_solver.cu In file included from /usr/include/crt/math_functions.h:8835:0, from /usr/include/crt/common_functions.h:271, from /usr/include/common_functions.h:50, from /usr/include/cuda_runtime.h:115, from :0: /usr/include/c++/6/cmath:45:23: fatal error: math.h: No such file or directory #include_next <math.h> ^ compilation terminated.

System is UBUNTU 18.04 Compiler is CUDA GPU

I have checked the file math.h and it is present in the specified directory. I believe the issue has to do with the #include_next header as opposed to it just being #include, but thats just speculation.

would appreciate help

alianza165 avatar Oct 26 '18 14:10 alianza165

hello, have you been able to resolve this issue? I'm stuck at this point too

coderbusy7 avatar Feb 05 '21 11:02 coderbusy7