How to install SDK

This is a discussion on How to install SDK within the Game Programming forums, part of the General Programming Boards category; Hello there everyone. I was trying to to install the directx sdk kit. I was just wondering is there a ...

  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    78

    How to install SDK

    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

  2. #2
    UT2004 Addict Kleid-0's Avatar
    Join Date
    Dec 2004
    Posts
    656
    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 ;)

  3. #3
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    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?

  4. #4
    Registered User
    Join Date
    Apr 2003
    Posts
    78

    The tools

    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

  5. #5
    UT2004 Addict Kleid-0's Avatar
    Join Date
    Dec 2004
    Posts
    656
    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Did I Install the Platform SDK Correctly?
    By bengreenwood in forum C++ Programming
    Replies: 7
    Last Post: 07-14-2008, 10:33 AM
  2. Error when trying to install platform sdk
    By Shamino in forum Windows Programming
    Replies: 3
    Last Post: 08-20-2007, 01:59 PM
  3. DirectSound header issues
    By dxfoo in forum C++ Programming
    Replies: 0
    Last Post: 03-19-2006, 07:16 PM
  4. Win32 API or Win32 SDK?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 07-20-2005, 04:26 PM
  5. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21