Jump to content
  • Advertisement
Sign in to follow this  
xx6heartless6xx

Dark GDK not working

This topic is 3157 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!