View Full Version : trouble with tutorial
haxorphreak
01-25-2005, 06:00 PM
i downloaded the second tutorial (turorial #1) and modified it a little to work on my computer. using dev-C++, the linker gives an error code of 1 and says something about direct3d9 but it went away and the error code 1 remains. im using dev-C++ 4.9.9.1 and directx9 sdk december 2004 release. could it be that im not includign the libraries and header files incorrectly?
bladder
01-25-2005, 10:43 PM
how are you including the libs?
And does directx9 come with the .a converted libs that dev c++ work with?
haxorphreak
01-26-2005, 01:28 PM
i included the libs in the parameters under the project options. im pretty sure dev-C++ can use .libs, but ill look for .a
bladder
01-26-2005, 11:06 PM
Here you go. You might want to go to tools->updates (i think) in devcpp to see what the latest packages for it are. But here's (http://www.g-productions.net/list.php?c=files_devpak) a link to some directx sdk dev packs (and others as well).
haxorphreak
01-27-2005, 05:04 PM
i did that and the .as worked. thanks very much. but what if i wanted to use another sdk that had no devpack or .a files? whould i need to make one or can i load them?
bladder
01-27-2005, 10:32 PM
You'd need to convert the .libs into .as. You can do this with a program called reimp that comes with mingw (the compiler that dev-cpp uses). You just call it from teh command line
reimp mylib.lib
and it will output a .a
haxorphreak
01-30-2005, 12:03 AM
thank ya, spazuh!
vBulletin, Copyright ©2000-2010, Jelsoft Enterprises Ltd.