fatal error C1083: Cannot open include file: 'sys/cdefs.h':
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
It depends on what you have in the folders and in the includes paths brah. $(includepath) is an environment variable with the path to the includes for vc++. If you use your own path you don't use the env var.
Chili
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
Well deleting the other (includepath) thing didn't work either unfortunately.
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
Hmm, sorry brah. Not much I can do from here I'm afraid.
Chili
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
Thanks for the help, anyway. I appreciate the effort. I just hope I can get this fixed on my own somehow. Keep up the good work on the tutorials, mate.
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
Just thought I'd say that I got some help from a guy on reddit, so everything is cool now. I can get working on some projects now
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
Awesome bro, what was the problem?
Chili
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
I'm not even really sure, he had me move the priority of one of the paths over the other one or something like that.
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
Fredark, Buddy im having the same problem here for about a week could you please help me find the solution. I have the exact problema as you. More specifically:
//
1>------ Build started: Project: Chili DirectX Framework, Configuration: Release Win32 ------
1> D3DGraphics.cpp
1>C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\include\d3d9.h(37): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
1> Game.cpp
1>C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\include\d3d9.h(37): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
1> Timer.cpp
1>c:\users\imgest89\documents\visual studio 2012\projects\chili directx framework\assets\Timer.h(23): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1> Windows.cpp
1>..\Assets\Windows.cpp(21): fatal error C1083: Cannot open include file: 'Windows.h': No such file or directory
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
//
Thanks.
Edit: I have the same problem when installing the allegro library (Facepalm)
//
1>------ Build started: Project: Chili DirectX Framework, Configuration: Release Win32 ------
1> D3DGraphics.cpp
1>C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\include\d3d9.h(37): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
1> Game.cpp
1>C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\include\d3d9.h(37): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
1> Timer.cpp
1>c:\users\imgest89\documents\visual studio 2012\projects\chili directx framework\assets\Timer.h(23): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1> Windows.cpp
1>..\Assets\Windows.cpp(21): fatal error C1083: Cannot open include file: 'Windows.h': No such file or directory
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
//
Thanks.
Edit: I have the same problem when installing the allegro library (Facepalm)