Hello there everyone. I was trying to to install the directx sdk kit. I was just wondering is there a specific location I am supposed to install this kit too or should it not matter
Hello there everyone. I was trying to to install the directx sdk kit. I was just wondering is there a specific location I am supposed to install this kit too or should it not matter
If you have given the oppurtunity to change the installation path on installation, then it shouldn't matter, because the important stuff during the installation procedure will probably send everything the place where it needs to go so that the DirectX SDK is at least partly functional lol. You could always go with guess/check, it wouldn't hurt to try ;)
I would imagine it would actually depend on your compiler. Most of the time, location isn't dependant upon how the SDK is set up. It all depends on how the linker / IDE expects your file structure to be set up. What are you using?
The compiler that I have is Visual Studion 6.0, the reason that I ask is that I have just recently purchased a book on game programming and one of the libraries that is in some of the example code is ddraw.h and every time I compile the code I get an error that says and I quote
"int __cdecl Draw_Rectangle(int,int,int,int,int,struct IDirectDrawSurface4 *)" (?Draw_Rectangle@@YAHHHHHHPAUIDirectDrawSurface4@@ @Z)
paddleball.obj : error LNK2001: unresolved external symbol "struct IDirectDrawSurface4 * lpddsback" (?lpddsback@@3PAUIDirectDrawSurface4@@A)
paddleball.obj : error LNK2001: unresolved external symbol "int __cdecl DD_Shutdown(void)" (?DD_Shutdown@@YAHXZ)
paddleball.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl Wait_Clock(unsigned long)" (?Wait_Clock@@YAKK@Z)
paddleball.obj : error LNK2001: unresolved external symbol "int __cdecl DD_Flip(void)" (?DD_Flip@@YAHXZ)
paddleball.obj : error LNK2001: unresolved external symbol "int __cdecl Draw_Text_GDI(char *,int,int,int,struct IDirectDrawSurface4 *)" (?Draw_Text_GDI@@YAHPADHHHPAUIDirectDrawSurface4@@ @Z)
paddleball.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl Start_Clock(void)" (?Start_Clock@@YAKXZ)
paddleball.obj : error LNK2001: unresolved external symbol "int __cdecl DD_Init(int,int,int)" (?DD_Init@@YAHHHH@Z)
Debug/dudewtf.exe : fatal error LNK1120: 8 unresolved externals
Error executing link.exe.
dudewtf.exe - 9 error(s), 0 warning(s)
now does anyone have any idea what all of this means
Have you tried linking the DirectX libraries into your project? Try some google searches real quick and come back if you still have problems:
Unresolved External Symbols
Unresolved External Symbols DirectX Visual Studio 6