![]() |
| [[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]] |
|
|
#1 |
|
Member
Join Date: Jan 2005
Location: Louisiana, USA
Posts: 72
|
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?
___________________________________________
If you're happy and you know it clap your hands... |
|
|
|
|
|
#2 |
|
DevMaster Staff
Join Date: Sep 2003
Location: Hell
Posts: 1,109
|
how are you including the libs?
And does directx9 come with the .a converted libs that dev c++ work with? |
|
|
|
|
|
#3 |
|
Member
Join Date: Jan 2005
Location: Louisiana, USA
Posts: 72
|
i included the libs in the parameters under the project options. im pretty sure dev-C++ can use .libs, but ill look for .a
___________________________________________
If you're happy and you know it clap your hands... |
|
|
|
|
|
#5 |
|
Member
Join Date: Jan 2005
Location: Louisiana, USA
Posts: 72
|
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?
___________________________________________
If you're happy and you know it clap your hands... |
|
|
|
|
|
#6 |
|
DevMaster Staff
Join Date: Sep 2003
Location: Hell
Posts: 1,109
|
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 |
|
|
|
|
|
#7 |
|
Member
Join Date: Jan 2005
Location: Louisiana, USA
Posts: 72
|
thank ya, spazuh!
___________________________________________
If you're happy and you know it clap your hands... |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|