DX on Dev-CPP problem

This is a discussion on DX on Dev-CPP problem within the Game Programming forums, part of the General Programming Boards category; I'm kinna new to game programming but no C++. I am currently using Dev-Cpp (the latest build) and DirectX. I ...

  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    8

    DX on Dev-CPP problem

    I'm kinna new to game programming but no C++. I am currently using Dev-Cpp (the latest build) and DirectX. I downloaded the SDK from microsoft.com and using the libraries I got there. I am linking against d3d9.lib and d3dx9.lib, everything is defined and everything compiles fine untill ld.exe crashes. Then I get about 1000 error messages that say " .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized " and " [Linker error] undefined reference to `??3@YAXPAX@Z' ".
    Does anyone have any clue on how to resolve this problem?

  2. #2
    Registered User
    Join Date
    Jul 2004
    Location
    Phoenix, Arizona
    Posts
    26
    There was a directX devpak for DevC++ some where. I got it to compile easily with that. Try searching google for it. The Devpak extremely smaller than the SDK from microsoft. I think it was somewhere around 7MB.

  3. #3
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    Only one site out there seems to have the Devpak. I don't remember it off hand but Google should find it almost immediately. The reason it was removed from various sites was because it is believed the existance of it violates the license on it. In order for it to work under MinGW (the compiler that DevC++ uses), you have to modify the headers and stuff. As far as I know the DX SDK license does not allow headers to be distributed unless it is part of the DX SDK.

  4. #4
    Tropical Coder Darryl's Avatar
    Join Date
    Mar 2005
    Location
    Cayman Islands
    Posts
    503
    You can down;oad the DX devpak right from within the dev-c update interface

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Starting with Dev C ; a problem
    By mabauti in forum C++ Programming
    Replies: 18
    Last Post: 12-05-2007, 11:16 AM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 09:38 AM
  4. Bin packing problem....
    By 81N4RY_DR460N in forum C++ Programming
    Replies: 0
    Last Post: 08-01-2005, 06:20 AM
  5. Dev C++ problem
    By Bluehead in forum Windows Programming
    Replies: 1
    Last Post: 08-21-2002, 06:33 PM

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