You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i try to build the project i get the following error:
src\main.c(30,10): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
I'm using Windows 11, vscode with C/C++ Tools and CMake Tools extensions. I allow cmake to configure the project which it seems to do without a problem. But when I try to build I get the above compilation errors.
After searching I found that unistd.h (and possibly other header files) are specific to UNIX operating systems. I have run the project in WSL (Linux kernal on Windows) and it works fine. Maybe this project hasn't been ported to windows yet? Any help or insight into the matter is deeply appreciated.
Thank you :)
The text was updated successfully, but these errors were encountered:
When i try to build the project i get the following error:
I'm using Windows 11, vscode with
C/C++ Tools
andCMake Tools
extensions. I allow cmake to configure the project which it seems to do without a problem. But when I try to build I get the above compilation errors.After searching I found that
unistd.h
(and possibly other header files) are specific to UNIX operating systems. I have run the project in WSL (Linux kernal on Windows) and it works fine. Maybe this project hasn't been ported to windows yet? Any help or insight into the matter is deeply appreciated.Thank you :)
The text was updated successfully, but these errors were encountered: