-
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?
-
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.
-
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.
-
You can down;oad the DX devpak right from within the dev-c update interface