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 / Dark SDK errors mystery

Author
Message
Enfusion
20
Years of Service
User Offline
Joined: 26th Oct 2004
Location:
Posted: 12th Aug 2005 22:53
Hi guys I`m trying to get dark sdk to work on my machine with little success at the moment. I am running Visual Studio 6 SP5 with the latest Dark SDK and Directx 9.0c the october edition and the october extras pack that goes with it. I cant seem to compile anything I just keep getting link errors. I`ve made sure that the source and lib directories are correct in the order as follows:
C:\PROGRAM FILES\THE GAME CREATORS\DARK GAME SDK - FREEWARE EDITION\INCLUDE
C:\PROGRAM FILES\MICROSOFT DIRECTX 9.0 SDK (OCTOBER 2004)\INCLUDE
C:\DXSDK\Include

Here is an example of the compiler errors I get.
--------------------Configuration: Terrain - Win32 Release--------------------
Compiling resources...
Compiling...
Demo.cpp
Linking...
Creating library Release/Terrain.lib and object Release/Terrain.exp
input.lib(CInputC.obj) : error LNK2001: unresolved external symbol _IID_IDirectInput8A
sound.lib(dsutil.obj) : error LNK2001: unresolved external symbol _DirectSoundCreate8@12
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
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
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_D3DRMMaterial
convx.lib(ConvX.obj) : error LNK2001: unresolved external symbol _TID_D3DRMTextureFilename
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)
Release/Terrain.exe : fatal error LNK1120: 22 unresolved externals
Error executing link.exe.

Terrain.exe - 25 error(s), 0 warning(s)

I have no idea what else I can do please help me!!

Early to rise and late to bed makes a man healthy wealthy and dead
Enfusion
20
Years of Service
User Offline
Joined: 26th Oct 2004
Location:
Posted: 12th Aug 2005 23:44
Just to add I`ve played ping pong with the directories for lib and include to no avail

Early to rise and late to bed makes a man healthy wealthy and dead
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 13th Aug 2005 10:59
What order are your library files?

AtomZ - its got an A. Its got a Z. Now its just needs U
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
Enfusion
20
Years of Service
User Offline
Joined: 26th Oct 2004
Location:
Posted: 15th Aug 2005 00:04
My library files are currently in the order of :
Directx October 2004
Directx SDK
Dark Game SDK

Early to rise and late to bed makes a man healthy wealthy and dead
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 15th Aug 2005 14:34
Step 1 - Read the FAQ at the top of the forum
Step 2 - Carry out the fix I listed in the FAQ



*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
Mike Johnson
TGC Developer
22
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 17th Aug 2005 00:04
Enfusion - have you been able to resolve this now?
Enfusion
20
Years of Service
User Offline
Joined: 26th Oct 2004
Location:
Posted: 17th Aug 2005 05:08
Nope the problems are still there. Tried it on a different machine I have gone through every forum that relates to these issues and tried all that I've supposed to try. Still getting errors like these:

--------------------Configuration: FX - Win32 Release--------------------
Linking...
animation.lib(CAnimation.obj) : error LNK2001: unresolved external symbol _IID_IDvdControl2
animation.lib(CAnimation.obj) : error LNK2001: unresolved external symbol _IID_IDvdInfo2
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)
Release/FX.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.

Thanks for your help so far.

Listen I just want to say something and I think I am speaking for all DarkSDK users when I say it. To the guys who are making this software will you please provide proper install documentation for DarkSDK both VC++ 2003 .Net and VC++ 6. Looking around the forums the software seems to be excessively flawed with problems like the broken pixel and vertex shaders. The install for alot of people is horrendous they cant even compile samples let alone there own work. I Have been trying for over a month to get this software running and its been brick wall after brick wall. I am telling you this because I like darkbasic I have the lite version, professional and now SDK but you cant go releasing products that dont function properly and have barely any install documents. I hope this criticism goes down well in that it proves constructive.

Early to rise and late to bed makes a man healthy wealthy and dead
Mike Johnson
TGC Developer
22
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 17th Aug 2005 19:15
When using Visual Studio 6 and the DirectX 9 SDK from October 2004 an extra step is required. The reason for this is that Microsoft started dropping support for Visual Studio 6 and as a result this has caused problems. Download and install the October 2004 extras from here http://www.microsoft.com/downloads/details.aspx?FamilyID=d6f237de-a6ee-4ded-8bb6-139536162eb8&DisplayLang=en. Ideally when using Visual Studio 6 it is preferable to be using an earlier version of DirectX 9.

I can only apologise for any problems you have encountered and I understand that it can be frustrating for you with getting things up and running.

Documentation is being improved and we'll provide further information about how to get things up and running and explain about the common problems that can be encountered.

As far as the state of the software goes in the main it is very stable and as far as pixel and vertex shaders go I think it is mainly a case of us demonstrating how to use the functions correctly.

Before too long we'll be seeing further updates to the SDK including new functions, new functionality, fixes for several issues, much improved documentation and many more demonstration programs showing things like shaders and also a collection of tutorials from getting started to more advanced techniques.
MiR
21
Years of Service
User Offline
Joined: 13th Jul 2003
Location: Spain
Posted: 17th Aug 2005 23:08
Quote: " also a collection of tutorials from getting started to more advanced techniques."

That`s sounds interesting. Especial the "advanced techniques" part. I`ve been wondering how to use the SDK without resulting to a DBPro style of coding. I can`t wait to see this. Do you have a rust estimate of when we can expect this update or updates?


Gimme teh votez!!!!
frostzero
19
Years of Service
User Offline
Joined: 18th Aug 2005
Location: San Diego, CA
Posted: 19th Aug 2005 02:29
This is what I am getting also trying to compile the samples, I just purchased this a couple of days ago.

Heres what I did so far(VC6 sp5 installed already):

1)install DarkSDK
2)install DirectX SDK(october 04 version)
3)install extras(october 04 version)
4)copied all includes/lib to the VC6 includes/lib (same as directory adding in options)

compiled and got the same errors Enfusion did.

No Luck

Any Fix?

btw - the FAQ points to the summer edition 04 and the link above to the october 04 for the EXTRAs (meaning the d3dx9.lib file) but both have same result when copying the .lib

Also found these errors are related to DirectShow and that they are listed in an include file. I just don't think they're actually defined in a lib somewhere.

Thanks!!
frostzero
19
Years of Service
User Offline
Joined: 18th Aug 2005
Location: San Diego, CA
Posted: 19th Aug 2005 20:08
Ok,

found the fix...

add Darksdk - Lib/include directory first in the Tools/Options/Directories order for VS6.

probably because strmbase.lib is there(must be old or modifed version?)

anyways I am good...
Enfusion
20
Years of Service
User Offline
Joined: 26th Oct 2004
Location:
Posted: 20th Aug 2005 20:53
Can someone post the order of all the libs and includes for directx and vc++ stuff.

Early to rise and late to bed makes a man healthy wealthy and dead
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 21st Aug 2005 00:38
With mine, I use the following order :

Headers :
DirectX SDK
DarkSDK
<standard include files>

Libary :
DirectX SDK
DarkSDK
<standard library files>

Come to the third DarkBasic Pro Sci Fi Con - Be there and be square
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk

Login to post a reply

Server time is: 2024-11-19 01:41:23
Your offset time is: 2024-11-19 01:41:23