Dark GDK not working

Started by
20 comments, last by xx6heartless6xx 14 years, 3 months ago
Quote:I went to the Additional Dependencies but the space is blank.


That's kinda the point. You're supposed to fill in the blank.
Either by clicking on the space or by clicking on a button next to it. There should probably be a button named 'Add new path' or something similar. I don't recall right now.

Edit: Unless you want to remove the dependency on dxerr9.lib altogether, but then you better make sure there's no code calling anything from that lib.
Advertisement
Quote:Original post by eFoDay
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


I checked in my
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\Lib\x86
and there is a file named 'DxErr' but no 'dxerr9'.

Also where is the #pragma comment(lib, "dxerr9.lib") you are talking about?
I found this post at another forum

dxerr9.lib missing in directX SDK august 2009

Quote:Posted: 18th Dec 2009 21:43
The only way to get it to work was to install the 2007 directx sdk that microsoft has in the darkGDK page. Also had to install an older (6.0) windows platform sdk. This SDKs are now installed along the newer ones, but I had to reference the older ones on the visual studio compiler directories.

Bottom line: GDK needs the older sdks.


You may just need the March 2009 SDK not back to 07 because dxerr9.lib is still in mine.

You could just try getting a copy of that file and sticking it in your current installation.
Quote:Original post by xx6heartless6xx
Also where is the #pragma comment(lib, "dxerr9.lib") you are talking about?


it would be in any of the .h or .cpp files in your project

since you do have the file dxerr.lib then you would just need to change it to
#pragma comment(lib, "dxerr.lib") if its there

the only two ways I know Visual Studio tries linking with libs is either
Additional Dependencies or the #pragma comment in the code
maybe there is another way

some way though it is trying to link with dxerr9.lib and you want it to link with dxerr.lib

maybe you could even try renaming the file from dxerr9 to dxerr and see if that works
Should i uninstall my DirectX SDK first and then install the March version or just install the March version over it?
you can have both installed at the same time so it doesn't really matter

but maybe just try renaming the file
if it is the exact same file with a different name then it should work

edit from my last post I mean rename dxerr to dxerr9 :)
well actually that may mess up something else
so instead of renaming actually copy the file and rename the new file dxerr9
Ok, so I renamed the dxerr to dxerr9 in the lib folder and I think that fixed the problem.

But now theres another problem. Now when I try to run it, it says
cannot open file 'dplayx.lib'
and no it is not in the lib folder
are you using the newest version of DarkGDK?
its trying to link with DirectPlay? that seems weird

I'm not very familiar with the GDK but can you build it from source?
perhaps it is whats linking these libs?

maybe a rebuild of the GDK is needed?

you can get the dplayx file from here
http://www.cubic.org/player/doc/node69.htm
http://cubic.org/player/dx9wat.zip

but It seems kinda silly since Microsoft pushes the GDK on the Visual Studio page that it would be not compatible with the newest DirectX
AH Here we go

http://gdk.thegamecreators.com/?f=system_requirements

Quote:You must have the August 2007 DirectX 9.0c SDK installed
Quote:Original post by eFoDay
AH Here we go

http://gdk.thegamecreators.com/?f=system_requirements

Quote:You must have the August 2007 DirectX 9.0c SDK installed


I added the dplayx.lib and then it came up with 12 more errors as I ran it.

And ohhh so I MUST have the August 2007 version?

This topic is closed to new replies.

Advertisement