math.h file not found #4069
Replies: 3 comments
-
|
The same happens with |
Beta Was this translation helpful? Give feedback.
-
|
I tried to sort it out again this evening. No success. The exact linted error is |
Beta Was this translation helpful? Give feedback.
-
|
I found this old discussion in my inbox. For C and C++ projects, they can be more difficult to configure because there are pretty much no standards for C and C++ projects. When the compiler can't find standard library files, that usually means My recommendation for all C and C++ projects is to use CMake to set them up with |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am happily using
ALEfor developingCcode but I have a problem that I cannot get rid off:math.h file not founderror.My setup is as follows: I build the software on a Docker image (that has its own
/usr/includeand the software perfectly builds) but I develop the code locally where I have all myvim's the bells & whistles. I am not allowed to install myvimwith all the bells & whistles on the Docker image.However, when I edit some
.cfile I getmath.h file not founderror BUT I have a local/usr/includefolder. 😄Hence, to circumnavigate the issue, I added
let g:ale_c_cppcheck_options = '--enable=style -I /usr/include'to my.vimrcbut the problem is not solved. I also tried withlet g:ale_c_cppcheck_options = '--enable=style -isystem /usr/include'but... nothing changed.Inspection of
ALEInfolooks OK.How to fix?
Beta Was this translation helpful? Give feedback.
All reactions