Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / fatal error LNK1104: cannot open file 'dxerr9.lib'

Author
Message
Aboudi
14
Years of Service
User Offline
Joined: 4th Apr 2010
Location:
Posted: 4th Apr 2010 09:46
Hello,
I've got this error when I try to compile:

fatal error LNK1104: cannot open file 'dxerr9.lib'

I have set everything but the only difference is that I have Microsoft DirectX SDK (August 2009) instead of 2007.. Is this the cause of the problem or it's a linking problem?

Please help me.
Cetobasilius
14
Years of Service
User Offline
Joined: 29th Dec 2009
Location: Mexico
Posted: 4th Apr 2010 11:54
i think you have the answer to your question but if you need another opinion, Yes thats the problem

hi
Aboudi
14
Years of Service
User Offline
Joined: 4th Apr 2010
Location:
Posted: 4th Apr 2010 15:29
Thx
I was wondering if there was another solution than installing the Microsoft DirectX SDK 2007. But, it seems to be the only solution.
thanks again and I will work more on my English language
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 9th Apr 2010 15:51
Go to Program Files Directory on C:
Find MicroSoft DirectX SDK directory
Find the LIB Directory
find the 'dxerr.lib' file and copy it as 'dxerr9.lib'

works
Bran flakes91093
15
Years of Service
User Offline
Joined: 13th Sep 2008
Location: Crazy Land
Posted: 9th Apr 2010 17:46 Edited at: 9th Apr 2010 17:48
If you want to use a newer version of Directx, you need to be willing to sacrifice the multiplayer networking aspect of DarkGDK. It's based on DirectPlay, which was deprecated and was left out of the newer versions.

Open your DarkGDK directory and go into Lib->vs9 and rename Multiplayer.lib to Multiplayer_old.lib or something like that.

I attached a dummy Multiplayer.lib (one that has everything defined, but empty) because I couldn't find the thread about it.

Just put the attached lib into the folder, and you should be able to use August 2009.

PS: Your English is great.

"A computer once beat me at chess, but it was no match for me at kick boxing."
Emo Philips

Attachments

Login to view attachments
Todd Riggins
19
Years of Service
User Offline
Joined: 29th Oct 2004
Location: Texas, USA
Posted: 18th Apr 2010 07:12 Edited at: 4th Sep 2010 07:23
If I'm not to late...

Here's that link to show ya how to create your own dummy multiplayer library to use the latest DirectX with.

http://forum.thegamecreators.com/?m=forum_view&t=139830&b=22&msg=1627765#m1627765

ExoDev.Com - A Game Development Community Website! Featuring: XBOX360 CONTROLLER LIBRARY

Login to post a reply

Server time is: 2024-04-25 14:40:09
Your offset time is: 2024-04-25 14:40:09