''No such file or directory' whilst the directory already exists. (c)
Whilst trying to compile my C project with GCC, I keep getting an error that goes something like this:
main.c:2:10: fatal error: ./include/windows.h: No such file or directory
#include <./include/windows.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
What confuses me most is that the 'include' directory already exists. If anyone has encountered a similar problem and knows how to fix the error that'd be great, thanks :)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|