fatal error C1083: Cannot open include file: 'sys/cdefs.h':
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
Weird. A quick google search says cdefs is a BSD header file.
I think those other header's you downloaded and injected are incompatible, and now you've poisoned your include directories.
I think those other header's you downloaded and injected are incompatible, and now you've poisoned your include directories.
Chili
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
Damn! So I changed my include and lib path to what you said (with the lib set to lib instead of include), and it fixed the annoying fatal error, which is a big relief, but now its giving me this error
EDIT: I've been searching around and I can't find dxerr.lib anywhere, where is it supposed to be?
Code: Select all
1>LINK : fatal error LNK1104: cannot open file 'dxerr.lib'
Last edited by fredark on August 17th, 2012, 6:07 pm, edited 1 time in total.
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
chili wrote:Weird. A quick google search says cdefs is a BSD header file.
I think those other header's you downloaded and injected are incompatible, and now you've poisoned your include directories.
I dont think this happened, since everything seems better with that file now
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
Alright, so the dxerr.h file is in the SDK include folder, but including that file doesn't actually fix my problem. Why isn't it opening?
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
Read your error. It says cannot find dxerr.lib.
Chili
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
I understand that, but putting the path to that file in the lib section didn't fix it.
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
Did you add the library to the list of libraries to be linked to?
Chili
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
Yes. This is what I have:
$(IncludePath)C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86$(IncludePath)C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib$(DXSDK_DIR)lib\x86;C:\Program Files\boost_1_49_0\stage\lib;$(LibraryPath)
I don't know what the boost is, but the other two should be working. The first one is the one that should be linking to dxerr.lib. I read that renaming it dxerr9.lib would fix it, but that didn't work.
$(IncludePath)C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86$(IncludePath)C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib$(DXSDK_DIR)lib\x86;C:\Program Files\boost_1_49_0\stage\lib;$(LibraryPath)
I don't know what the boost is, but the other two should be working. The first one is the one that should be linking to dxerr.lib. I read that renaming it dxerr9.lib would fix it, but that didn't work.
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
There is a library path and then there is a list of actual modules to include. These are not one in the same thing and you need to set both. Use google and research this topic and then correct it at your end.
Chili
Re: fatal error C1083: Cannot open include file: 'sys/cdefs.
Sorry, if I'm being a nuisance or something, but I tried googleing for about 20 minutes but since I don't even really know what you're talking about I haven't come up with anything useful. If you don't mind, could you explain a bit better? I would really appreciate it.