Dark GDK not working

Started by
20 comments, last by xx6heartless6xx 14 years, 3 months ago
On Dark GDK i tried to open up a new 2d game project and try to run it but it says cannot open file 'dxerr9.lib' Do you guys know what the problem is? Help greatly appreciated
Advertisement
I've not used Dark GDK but possibly you need to install the DirectX SDK.
Quote:Original post by eFoDay
I've not used Dark GDK but possibly you need to install the DirectX SDK.


I have installed the newest DirectX SDK and I am not sure where the lib would go, but I did not adjust any of the default settings. Anybody else have this problem?
I did a search for dxerr9.lib on my pc

it found it here
C:\Program Files\Microsoft DirectX SDK (March 2009)\Lib\x86

make sure you have this folder (or wherever your install is) in your lib directories
Quote:Original post by eFoDay
I did a search for dxerr9.lib on my pc

it found it here
C:\Program Files\Microsoft DirectX SDK (March 2009)\Lib\x86

make sure you have this folder (or wherever your install is) in your lib directories


So I went to
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\Lib\x86

and there a bunch of stuff in there. How do I put this folder in my lib directories?
I imagine your using Visual Studio Express?

Go to Tools >> Options >> Projects and Solutions >> VC++ Directories
Now on the right you should see a drop down that says
Show directories for:
Change it to Library files and make sure the folder is in there
Quote:Original post by eFoDay
I imagine your using Visual Studio Express?

Go to Tools >> Options >> Projects and Solutions >> VC++ Directories
Now on the right you should see a drop down that says
Show directories for:
Change it to Library files and make sure the folder is in there


Yes I am using Visual Studio C++ 2008 Express.

Yes, the folder is in there as well, it is on the top of the list, but still not working for some reason.

Have an idea why?
Sorry I'm out of ideas.
If the lib is in there it should be able to find it.

You could remove dxerr9.lib from your linker options
as long as there is no code calling the lib

Go to Project >> (name) Properties >> Configuration Properties >> Linker >> Input

then on the right side it will show you Additional Dependencies

delete dxerr9.lib and it won't need it anymore
but if there is code calling it then you will get link errors when you try to build
Quote:Original post by eFoDay
Sorry I'm out of ideas.
If the lib is in there it should be able to find it.

You could remove dxerr9.lib from your linker options
as long as there is no code calling the lib

Go to Project >> (name) Properties >> Configuration Properties >> Linker >> Input

then on the right side it will show you Additional Dependencies

delete dxerr9.lib and it won't need it anymore
but if there is code calling it then you will get link errors when you try to build


I went to the Additional Dependencies but the space is blank.

Also I was looking this problem up online as well and it said something about the August 2009 DirectX SDK either changed 'dxerr9.lib' to 'dxerr.lib' or completely removed it. Is that the problem? Just throwing stuff out there
did it make files for you automatically in the project?
check through them and see if you can find
#pragma comment(lib, "dxerr9.lib")

check back in your folder
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\Lib\x86
and see if either of the files dxerr9.lib or dxerr.lib is actually in there

This topic is closed to new replies.

Advertisement