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 / And it still doesn't work

Author
Message
MrNick
20
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 24th Nov 2006 20:37 Edited at: 24th Nov 2006 20:44
Yes, i have followed all the instructions in the 'Getting started' help file. I added all include directories and viola:
Quote: "--------------------Configuration: Main - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "d3dx8.lib"
Error executing link.exe.

Main.exe - 1 error(s), 0 warning(s)"


The file doesn't even exist in the DX SDK directory, and yes I have install the latest version...

My brain hurts.

confusious said: "a man who stands on toilet is high on pot"
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 24th Nov 2006 21:13
Under the linker project options, under the import section, place d3dx8.lib into the Ignore specific libraries section.

Paul.

MrNick
20
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 24th Nov 2006 22:52
where would i find linker settings in vc++ 6.0?

confusious said: "a man who stands on toilet is high on pot"
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 24th Nov 2006 23:06
Project menu, select settings.

Select the Linker Tab, and change the Category to Input

Place into the field called 'Ignore libraries' the dx lib filename.

Paul.

Miguel Melo
19
Years of Service
User Offline
Joined: 8th Aug 2005
Location:
Posted: 24th Nov 2006 23:28
Quote: "where would i find linker settings in vc++ 6.0?"


Does the latest version of the GDK still work with VC 6? I didn't think so...

I have vague plans for World Domination
MrNick
20
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 24th Nov 2006 23:31
it said in the product description that it does... i have VS.net... i just dont want to install it as it takes up major diskspace

confusious said: "a man who stands on toilet is high on pot"
MrNick
20
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 24th Nov 2006 23:34
Quote: "Under the linker project options, under the import section, place d3dx8.lib into the Ignore specific libraries section.
"


heres what happens when i do that:

Quote: "--------------------Configuration: Main - Win32 Debug--------------------
Linking...
Creating library Debug/Main.lib and object Debug/Main.exp
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
input.lib(CInputC.obj) : error LNK2001: unresolved external symbol _IID_IDirectInput8A
sound.lib(dsutil.obj) : error LNK2001: unresolved external symbol _DirectSoundCreate8@12
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMTextureFilename
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _IID_IDirectXFileData
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMMaterial
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _IID_IDirectXFileDataReference
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _DXFILEOBJ_SkinWeights
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _DXFILEOBJ_XSkinMeshHeader
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMMeshMaterialList
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMMeshVertexColors
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMMeshTextureCoords
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMMeshNormals
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMAnimationOptions
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMAnimationKey
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMAnimation
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMAnimationSet
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMMesh
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMFrameTransformMatrix
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMFrame
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
animation.lib(CAnimation.obj) : error LNK2001: unresolved external symbol _IID_IDvdControl2
animation.lib(CAnimation.obj) : error LNK2001: unresolved external symbol _IID_IDvdInfo2
multiplayer.lib(CNetwork.obj) : error LNK2001: unresolved external symbol _IID_IDirectPlay4A
system.lib(dxdiaginfo.obj) : error LNK2001: unresolved external symbol _CLSID_DxDiagProvider
system.lib(dxdiaginfo.obj) : error LNK2001: unresolved external symbol _IID_IDxDiagProvider
strmbase.lib(dllsetup.obj) : error LNK2001: unresolved external symbol "class CFactoryTemplate * g_Templates" (?g_Templates@@3PAVCFactoryTemplate@@A)
strmbase.lib(dllentry.obj) : error LNK2001: unresolved external symbol "class CFactoryTemplate * g_Templates" (?g_Templates@@3PAVCFactoryTemplate@@A)
strmbase.lib(dllsetup.obj) : error LNK2001: unresolved external symbol "int g_cTemplates" (?g_cTemplates@@3HA)
strmbase.lib(dllentry.obj) : error LNK2001: unresolved external symbol "int g_cTemplates" (?g_cTemplates@@3HA)
Debug/Main.exe : fatal error LNK1120: 27 unresolved externals
Error executing link.exe.

Main.exe - 30 error(s), 1 warning(s)
"


confusious said: "a man who stands on toilet is high on pot"
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 24th Nov 2006 23:42
:/ This'll be the second time I've had to upload these files. Download the DirectX 8 files from here:

http://www.apexnow.co.uk/directx8.rar

Create a folder somewhere and extract the lib files. Setup Visual Studio's linker library paths (Tools menu/Options/Directories tab)

Remove the entry I had previously suggested in earlier post from your ignore libraries entry.

Paul.

MrNick
20
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 25th Nov 2006 00:09
grrr. it STILL doesn't work.
Quote: "--------------------Configuration: Main - Win32 Debug--------------------
Linking...
Creating library Debug/Main.lib and object Debug/Main.exp
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
input.lib(CInputC.obj) : error LNK2001: unresolved external symbol _IID_IDirectInput8A
sound.lib(dsutil.obj) : error LNK2001: unresolved external symbol _DirectSoundCreate8@12
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMTextureFilename
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMMaterial
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _DXFILEOBJ_SkinWeights
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _DXFILEOBJ_XSkinMeshHeader
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMMeshMaterialList
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMMeshVertexColors
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMMeshTextureCoords
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMMeshNormals
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMAnimationOptions
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMAnimationKey
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMAnimation
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMAnimationSet
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMMesh
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMFrameTransformMatrix
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMFrame
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
animation.lib(CAnimation.obj) : error LNK2001: unresolved external symbol _IID_IDvdControl2
animation.lib(CAnimation.obj) : error LNK2001: unresolved external symbol _IID_IDvdInfo2
multiplayer.lib(CNetwork.obj) : error LNK2001: unresolved external symbol _IID_IDirectPlay4A
system.lib(dxdiaginfo.obj) : error LNK2001: unresolved external symbol _CLSID_DxDiagProvider
system.lib(dxdiaginfo.obj) : error LNK2001: unresolved external symbol _IID_IDxDiagProvider
strmbase.lib(dllsetup.obj) : error LNK2001: unresolved external symbol "class CFactoryTemplate * g_Templates" (?g_Templates@@3PAVCFactoryTemplate@@A)
strmbase.lib(dllentry.obj) : error LNK2001: unresolved external symbol "class CFactoryTemplate * g_Templates" (?g_Templates@@3PAVCFactoryTemplate@@A)
strmbase.lib(dllsetup.obj) : error LNK2001: unresolved external symbol "int g_cTemplates" (?g_cTemplates@@3HA)
strmbase.lib(dllentry.obj) : error LNK2001: unresolved external symbol "int g_cTemplates" (?g_cTemplates@@3HA)
Debug/Main.exe : fatal error LNK1120: 25 unresolved externals
Error executing link.exe.

Main.exe - 28 error(s), 1 warning(s)
"


confusious said: "a man who stands on toilet is high on pot"
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 25th Nov 2006 00:16
You might need to add the .lib files into your library list. Clearly it's not finding functions either because the libs are not being included (DX libs), or it's no longer supported on VC6.

Aside from that, I can only suggest that you DO install VS.NET

Paul.

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 25th Nov 2006 00:42 Edited at: 25th Nov 2006 00:43
Apex read Miguel's post way above.
Apparently it doesnt work with vc++ anymore, not that I agree with him taking every opportunity to trash-talk in every thread

Miguel Melo
19
Years of Service
User Offline
Joined: 8th Aug 2005
Location:
Posted: 25th Nov 2006 01:03
Quote: "not that I agree with him taking every opportunity"


Now that was totally uncalled for!!

My answer was not a pot shot at all - I was really trying to help just then and was not being sarcastic or anything!

For what it's worth, let me stress that when you locked the other thread you did not see me complaining - in fact I (silently) agreed to your comments that it had run its course.

CR, you always came across as a sensible person so I'll just assume that your comments were due to a missunderstanding of my intentions rather than you somehow having it in for me.

I have vague plans for World Domination
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 25th Nov 2006 02:16
I took your post above as a pot shot, sorry if I misunderstood.
I don't have it in for you mate, honestly.

Miguel Melo
19
Years of Service
User Offline
Joined: 8th Aug 2005
Location:
Posted: 25th Nov 2006 02:24
No worries... As I said, I was sure it was just a misunderstanding.

I have vague plans for World Domination
MrNick
20
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 26th Nov 2006 04:19 Edited at: 26th Nov 2006 15:29
Umm... so it works now, kinda, but i get random errors, even when running the sample programs:
Quote: "Unhandled exception at 0x0042c4da in Dark Dungeon.exe: 0xC0000005: Access violation reading location 0x00000004."

on this line:


not to mention the flood of compile warninings, such as:
Quote: "Dark Dungeon warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
"


For god's sake... i followed all the instructions correctly...

confusious said: "a man who stands on toilet is high on pot"
Argon Knight
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Gastonia, NC, USA
Posted: 26th Nov 2006 16:08 Edited at: 26th Nov 2006 16:09
Quote: "Dark Dungeon warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
""


This time, that has nothing to to with DGDK. I think every copy of VC comes out of the box with that warning.

/EDITANDCONTINUE turns ON that wonderful feature that allows you to change code during a break in debugging.

/INCREMENTAL:NO tells the compiler to build the whole exe at once and not to build it in smaller pieces. IIRC, means that it doesnt store the needed info for Edit and Continue mode.

If both are turned on, /EDITANDCONTINUE would only give you the option to restart your program every time you made a change during debug mode. Basically, the default behaviour of every c compiler.
MrNick
20
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 26th Nov 2006 21:08
Thats alright, but what about it crashing every time i call a sound-related (and some others) function?

confusious said: "a man who stands on toilet is high on pot"
Argon Knight
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Gastonia, NC, USA
Posted: 26th Nov 2006 22:10
Dont know. I only use vs2005. That command worked on my 2 machines.

is your sound card driver dx9 compatible? I've had problem with sound cards not able to run on newer dx runtimes cause of the drivers.
MrNick
20
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 27th Nov 2006 01:17
well... yes, other games based on directx work just fine

confusious said: "a man who stands on toilet is high on pot"
MrNick
20
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 27th Nov 2006 01:26
this is angering me, why wont these sound commands work - i mean its one thing to not compile - but they cause a hard crash in the program...

confusious said: "a man who stands on toilet is high on pot"

Login to post a reply

Server time is: 2024-11-19 09:34:32
Your offset time is: 2024-11-19 09:34:32