Skip to content
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

Open
dreamerjunaid opened this issue Mar 4, 2015 · 4 comments

Comments

@dreamerjunaid
Copy link

No description provided.

@dreamerjunaid dreamerjunaid changed the title Can someone tell me what to do for a "unistd.h" not found? Trying to get the 3DEngineCPP to work. Can someone tell me what to do for a "unistd.h" not found? Issue on a windows machine. Mar 4, 2015
@citruslee
Copy link

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

@dreamerjunaid
Copy link
Author

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.

@citruslee
Copy link

post the build logs, or a picture with errors in visual studio. Also which version of VS do you use, on which windows version?

@ahsoltan
Copy link

unistd.h is the "standard UNIX header". That means it's only available on Linux and Mac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants