fatal error "math h" No such file

114 views
Skip to first unread message

alianza

unread,
Oct 26, 2018, 10:34:41 AM10/26/18
to Caffe Users
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 <command-line>: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

Reply all
Reply to author
Forward
0 new messages