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 / DarkGDK w/VS 2008 Standard

Author
Message
CSTeacher
15
Years of Service
User Offline
Joined: 13th May 2009
Location:
Posted: 13th May 2009 23:30
I've read the previous posts on this and have done the required library additions as noted. However, I still have several compile errors all relating to "unresolved external links". These are noted from several libraries such as display.lib and input.lib. Is there another setting I am missing? I've been "playing" around with this for over a week, so I might have reset something I wasn't supposed to . Any ideas?
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 14th May 2009 10:35
compiling in Release more or debug?

try Release mode
jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 14th May 2009 19:43
Have you added the lib files to additional dependencies and the lib file locations to tools>options

CSTeacher
15
Years of Service
User Offline
Joined: 13th May 2009
Location:
Posted: 14th May 2009 20:33
I have now tried the release mode and I double-checked that I have the two include dependencies as well as the lib file locations. I'm also using the supplied "wizards" (that are automatically installed in express) so that the properties of the project are OK. I can do a basic compile of the single .cpp file in the project, but cannot build an executable.
ABXG
15
Years of Service
User Offline
Joined: 1st Apr 2009
Location: Canada
Posted: 14th May 2009 20:52
Can you provide the full error output of your project when you try and build your .exe?

------------------------------------
Currently 1500+ lines of code into an "over-the-shoulder" action RPG with combat based on rag-doll physics.
CSTeacher
15
Years of Service
User Offline
Joined: 13th May 2009
Location:
Posted: 14th May 2009 23:10
Here is a partial list of the errors. There are 264 - all basically the same concerning different library files (all of which should be available since I updated the library list).
Error 1 error LNK2019: unresolved external symbol _Direct3DCreate9@4 referenced in function "bool __cdecl Constructor(void)" (?Constructor@@YA_NXZ) display.lib Dark GDK - 2D Game3
Error 2 error LNK2019: unresolved external symbol _DirectInput8Create@20 referenced in function "void __cdecl Constructor(struct HINSTANCE__ *)" (?Constructor@@YAXPAUHINSTANCE__@@@Z) input.lib Dark GDK - 2D Game3
Error 3 error LNK2019: unresolved external symbol _IID_IDirectInput8A referenced in function "void __cdecl Constructor(struct HINSTANCE__ *)" (?Constructor@@YAXPAUHINSTANCE__@@@Z) input.lib Dark GDK - 2D Game3
Error 4 error LNK2019: unresolved external symbol _c_dfDIKeyboard referenced in function "void __cdecl SetupKeyboard(void)" (?SetupKeyboard@@YAXXZ) input.lib Dark GDK - 2D Game3
Error 5 error LNK2019: unresolved external symbol _GUID_SysKeyboard referenced in function "void __cdecl SetupKeyboard(void)" (?SetupKeyboard@@YAXXZ) input.lib Dark GDK - 2D Game3
Error 6 error LNK2019: unresolved external symbol _c_dfDIMouse referenced in function "void __cdecl SetupMouse(void)" (?SetupMouse@@YAXXZ) input.lib Dark GDK - 2D Game3
Error 7 error LNK2019: unresolved external symbol _GUID_SysMouse referenced in function "void __cdecl SetupMouse(void)" (?SetupMouse@@YAXXZ) input.lib Dark GDK - 2D Game3
Error 8 error LNK2019: unresolved external symbol _c_dfDIJoystick2 referenced in function "int __stdcall EnumerateControllerCallback(struct DIDEVICEINSTANCEA *,void *)" (?EnumerateControllerCallback@@YGHPAUDIDEVICEINSTANCEA@@PAX@Z) input.lib Dark GDK - 2D Game3
Error 9 error LNK2019: unresolved external symbol _GUID_ConstantForce referenced in function "bool __cdecl DB_CreateFFDirectionEffect(short,int,bool)" (?DB_CreateFFDirectionEffect@@YA_NFH_N@Z) input.lib Dark GDK - 2D Game3
Error 10 error LNK2019: unresolved external symbol _GUID_Damper referenced in function "bool __cdecl DB_CreateFFWaterEffect(int,int,bool)" (?DB_CreateFFWaterEffect@@YA_NHH_N@Z) input.lib Dark GDK - 2D Game3
Error 11 error LNK2019: unresolved external symbol _D3DXLoadSurfaceFromFileA@32 referenced in function "void __cdecl LoadBitmapCore(char *,int)" (?LoadBitmapCore@@YAXPADH@Z) bitmap.lib Dark GDK - 2D Game3
Error 12 error LNK2001: unresolved external symbol _D3DXLoadSurfaceFromFileA@32 image.lib Dark GDK - 2D Game3
Error 13 error LNK2019: unresolved external symbol _D3DXGetImageInfoFromFileA@8 referenced in function "void __cdecl LoadBitmapCore(char *,int)" (?LoadBitmapCore@@YAXPADH@Z) bitmap.lib Dark GDK - 2D Game3
Error 14 error LNK2001: unresolved external symbol _D3DXGetImageInfoFromFileA@8 image.lib Dark GDK - 2D Game3
Error 15 error LNK2019: unresolved external symbol _D3DXMatrixRotationZ@8 referenced in function "void __cdecl MultiplyVector2(int,float)" (?MultiplyVector2@@YAXHM@Z) 3dmaths.lib Dark GDK - 2D Game3
Error 16 error LNK2001: unresolved external symbol _D3DXMatrixRotationZ@8 matrix.lib Dark GDK - 2D Game3
Error 17 error LNK2001: unresolved external symbol _D3DXMatrixRotationZ@8 matrix.lib Dark GDK - 2D Game3
Error 18 error LNK2001: unresolved external symbol _D3DXMatrixRotationZ@8 world.lib Dark GDK - 2D Game3
Error 19 error LNK2001: unresolved external symbol _D3DXMatrixRotationZ@8 particles.lib Dark GDK - 2D Game3
Error 20 error LNK2001: unresolved external symbol _D3DXMatrixRotationZ@8 basic3D.lib Dark GDK - 2D Game3
Error 21 error LNK2001: unresolved external symbol _D3DXMatrixRotationZ@8 basic3D.lib Dark GDK - 2D Game3
Error 22 error LNK2001: unresolved external symbol _D3DXMatrixRotationZ@8 basic3D.lib Dark GDK - 2D Game3
Error 23 error LNK2001: unresolved external symbol _D3DXMatrixRotationZ@8 basic3D.lib Dark GDK - 2D Game3
Error 24 error LNK2001: unresolved external symbol _D3DXMatrixRotationZ@8 sound.lib Dark GDK - 2D Game3
Error 25 error LNK2001: unresolved external symbol _D3DXMatrixRotationZ@8 light.lib Dark GDK - 2D Game3
Error 26 error LNK2001: unresolved external symbol _D3DXMatrixRotationZ@8 camera.lib Dark GDK - 2D Game3
Error 27 error LNK2001: unresolved external symbol _D3DXMatrixRotationZ@8 basic3D.lib Dark GDK - 2D Game3
Error 28 error LNK2001: unresolved external symbol _D3DXMatrixRotationY@8 particles.lib Dark GDK - 2D Game3
Error 29 error LNK2001: unresolved external symbol _D3DXMatrixRotationY@8 3dmaths.lib Dark GDK - 2D Game3
Error 30 error LNK2001: unresolved external symbol _D3DXMatrixRotationY@8 basic3D.lib Dark GDK - 2D Game3
Error 31 error LNK2001: unresolved external symbol _D3DXMatrixRotationY@8 matrix.lib Dark GDK - 2D Game3
Error 32 error LNK2001: unresolved external symbol _D3DXMatrixRotationY@8 matrix.lib Dark GDK - 2D Game3
Error 33 error LNK2001: unresolved external symbol _D3DXMatrixRotationY@8 world.lib Dark GDK - 2D Game3
Error 34 error LNK2001: unresolved external symbol _D3DXMatrixRotationY@8 basic3D.lib Dark GDK - 2D Game3
Error 35 error LNK2001: unresolved external symbol _D3DXMatrixRotationY@8 basic3D.lib Dark GDK - 2D Game3
Error 36 error LNK2001: unresolved external symbol _D3DXMatrixRotationY@8 basic3D.lib Dark GDK - 2D Game3
Error 37 error LNK2001: unresolved external symbol _D3DXMatrixRotationY@8 basic3D.lib Dark GDK - 2D Game3
Error 38 error LNK2019: unresolved external symbol _D3DXMatrixRotationY@8 referenced in function "void __cdecl RotateListener(float,float,float)" (?RotateListener@@YAXMMM@Z) sound.lib Dark GDK - 2D Game3
Error 39 error LNK2001: unresolved external symbol _D3DXMatrixRotationY@8 light.lib Dark GDK - 2D Game3
Error 40 error LNK2001: unresolved external symbol _D3DXMatrixRotationY@8 camera.lib Dark GDK - 2D Game3
Error 41 error LNK2001: unresolved external symbol _D3DXMatrixRotationY@8 basic3D.lib Dark GDK - 2D Game3
Error 42 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 particles.lib Dark GDK - 2D Game3
Error 43 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 3dmaths.lib Dark GDK - 2D Game3
Error 44 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 matrix.lib Dark GDK - 2D Game3
Error 45 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 matrix.lib Dark GDK - 2D Game3
Error 46 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 world.lib Dark GDK - 2D Game3
Error 47 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 world.lib Dark GDK - 2D Game3
Error 48 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 basic3D.lib Dark GDK - 2D Game3
Error 49 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 basic3D.lib Dark GDK - 2D Game3
Error 50 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 basic3D.lib Dark GDK - 2D Game3
Error 51 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 basic3D.lib Dark GDK - 2D Game3
Error 52 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 basic3D.lib Dark GDK - 2D Game3
Error 53 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 basic3D.lib Dark GDK - 2D Game3
Error 54 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 basic3D.lib Dark GDK - 2D Game3
Error 55 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 basic3D.lib Dark GDK - 2D Game3
Error 56 error LNK2019: unresolved external symbol _D3DXMatrixMultiply@12 referenced in function "void __cdecl RotateListener(float,float,float)" (?RotateListener@@YAXMMM@Z) sound.lib Dark GDK - 2D Game3
Error 57 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 light.lib Dark GDK - 2D Game3
Error 58 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 camera.lib Dark GDK - 2D Game3
Error 59 error LNK2001: unresolved external symbol _D3DXMatrixMultiply@12 basic3D.lib Dark GDK - 2D Game3
Error 60 error LNK2001: unresolved external symbol _D3DXMatrixRotationX@8 3dmaths.lib Dark GDK - 2D Game3
Error 61 error LNK2001: unresolved external symbol _D3DXMatrixRotationX@8 matrix.lib Dark GDK - 2D Game3
Error 62 error LNK2001: unresolved external symbol _D3DXMatrixRotationX@8 matrix.lib Dark GDK - 2D Game3
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 16th May 2009 19:53
Did you install the proper version of Direct X? the D3DX is the clue.

Lilith, Night Butterfly
I'm not a programmer but I play one in the office
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 17th May 2009 04:28
Last I knew, I think you have to use last August's version of DirectX. I cannot remember for certain though, do you have the most up to date DGDK?



A book? I hate book. Book is stupid.
(Formerly Yellow)
OceanJeff
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: Ocean Shores, WA
Posted: 19th May 2009 11:36 Edited at: 19th May 2009 11:41
Make sure your directories all point to the correct location for your .lib files for direct x in the compiler configuration.

You have to show Visual C++ where to find the .lib files for Direct X.

Ok, if you load your project, and then go to Tools menu, go down to Options submenu.

A Box will appear...on the left hand side, go down under Projects and Solutions...highlight the VC Directories.

Then, look to the top, right hand side, and the pull down box: Show Directories for...

It starts out saying Executable Files...pull it down, and you can change include files or library files...

That is where you enter the proper directories on your hard drive for Visual C++ to find your lib and inc files.

Hope this helps,

Jeff C

P.S. You must have Microsoft’s DirectX 9.0c SDK from August 2007.

CSTeacher
15
Years of Service
User Offline
Joined: 13th May 2009
Location:
Posted: 19th May 2009 19:02
I do have the August 2007 DirectX SDK installed. I also have the library and include references. I was able to do a clean install of VS 2008 Standard w/Dark GDK on my home PC with no issues. Everything compiles and runs just fine. So apparently there is something I did on my office computer that is screwing things up. The two differences between the installs that I can see are 1) my office computer is a 64-bit - yes, I chose the 64-bit version of DirectX SDK and 2)VS 2008 is installed on a different drive from the DirectX SDK. DirectX gave no options - it simply installed on the C drive. My C drive is very full, so I had installed VS on the D drive, then put the Dark GDK also on the D drive.

Is there a "hidden" mechanism in the Dark GDK that insists on the C drive?

Thanks for all the responses!

Login to post a reply

Server time is: 2024-10-01 01:28:00
Your offset time is: 2024-10-01 01:28:00