DevMaster.net Forums
[[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]]

Go Back   DevMaster.net Forums > Hosted Sites > TripleBuffer
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old 01-25-2005, 06:00 PM   #1
haxorphreak
Member
 
Join Date: Jan 2005
Location: Louisiana, USA
Posts: 72
Thumbs up

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...
haxorphreak is offline   Reply With Quote
Old 01-25-2005, 10:43 PM   #2
bladder
DevMaster Staff
 
bladder's Avatar
 
Join Date: Sep 2003
Location: Hell
Posts: 1,109
Default

how are you including the libs?

And does directx9 come with the .a converted libs that dev c++ work with?
___________________________________________
- TripleBuffer
- Me blog
bladder is offline   Reply With Quote
Old 01-26-2005, 01:28 PM   #3
haxorphreak
Member
 
Join Date: Jan 2005
Location: Louisiana, USA
Posts: 72
Default

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...
haxorphreak is offline   Reply With Quote
Old 01-26-2005, 11:06 PM   #4
bladder
DevMaster Staff
 
bladder's Avatar
 
Join Date: Sep 2003
Location: Hell
Posts: 1,109
Default

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 a link to some directx sdk dev packs (and others as well).
___________________________________________
- TripleBuffer
- Me blog
bladder is offline   Reply With Quote
Old 01-27-2005, 05:04 PM   #5
haxorphreak
Member
 
Join Date: Jan 2005
Location: Louisiana, USA
Posts: 72
Default

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...
haxorphreak is offline   Reply With Quote
Old 01-27-2005, 10:32 PM   #6
bladder
DevMaster Staff
 
bladder's Avatar
 
Join Date: Sep 2003
Location: Hell
Posts: 1,109
Default

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
___________________________________________
- TripleBuffer
- Me blog
bladder is offline   Reply With Quote
Old 01-30-2005, 12:03 AM   #7
haxorphreak
Member
 
Join Date: Jan 2005
Location: Louisiana, USA
Posts: 72
Default

thank ya, spazuh!
___________________________________________
If you're happy and you know it clap your hands...
haxorphreak is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump


All times are GMT -7. The time now is 01:48 AM.


Powered by vBulletin
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.