Error, with in my DirectX game engine.

This is a discussion on Error, with in my DirectX game engine. within the C++ Programming forums, part of the General Programming Boards category; I've recently been reading a book, and followed instructions(I've learned a lot) on building a framework for several game engines ...

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    16

    Post Error, with in my DirectX game engine.

    I've recently been reading a book, and followed instructions(I've learned a lot) on building a framework for several game engines I will have to build on this course(that includes a full 3d one, woah this is gonna take 2 years or something. .. Anyways Im having these two ONLY errors, here they are.. can't fix it for some reason, even though I know its something to do with a missing external:
    Code:
    Linking...
    t3dlib2.obj : error LNK2001: unresolved external symbol _DirectInput8Create@20
    Debug/Game Engine.exe : fatal error LNK1120: 1 unresolved externals
    Error executing link.exe.
    P.S. Im not good when it comes to compilers, I understand the language, etc. but the compiler speaks in another language it seems like. I guess with time, and more experience , Ill get better at understanding these errors.

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    16

    Post

    I was wondering , what could be causing this? DirectX update needed? hrmm.. Ill be experiementing.

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    1,208
    You need to link with the correct libraries in order for it to work. Your book should tell you what libraries you need to link with.

  4. #4
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    link dinput8.lib and dxguid.lib
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  5. #5
    Registered User
    Join Date
    Jan 2005
    Posts
    16
    Thanks, that worked perfectly.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Game Engine Development
    By MacGyver in forum Tech Board
    Replies: 15
    Last Post: 10-26-2007, 09:41 PM
  2. 2D Game project requires extra C++ programmers, new or experienced
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 05-16-2007, 10:46 AM
  3. Simple Game Engine Programming
    By AoA in forum Tech Board
    Replies: 1
    Last Post: 05-26-2006, 12:50 AM
  4. Game Engine Link Prob
    By swgh in forum Game Programming
    Replies: 2
    Last Post: 01-25-2006, 11:14 PM
  5. DirectX engine nearing completion
    By VirtualAce in forum Game Programming
    Replies: 2
    Last Post: 01-12-2004, 04:07 PM

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