-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can someone tell me what to do for a "unistd.h" not found? Issue on a windows machine. #34
Comments
you should be more specific with issues...the problem is, that unistd.h isn't available on windows. If I remember correctly, it is io.h on windows, should give it a try, but otherwise, look for open source unistd header/c files to get it working, or compile with Cygwin, it does have unistd headers, and hence Benny used CMake system to set up the build environment, it shouldn't be much of a problem to build with makefiles :) or generate a codeblocks project, it does have POSIX headers by default whilst Visual Studio does not...but I strongly encourage to use Visual Studio over C::B |
I used Cmake to build but it. Still throws the error in Visual Studio. Tried io.h as well but it won't work either. I'm not sure what the issue is really. |
post the build logs, or a picture with errors in visual studio. Also which version of VS do you use, on which windows version? |
unistd.h is the "standard UNIX header". That means it's only available on Linux and Mac |
No description provided.
The text was updated successfully, but these errors were encountered: