Page 1 of 1
Need a Lib TUT
Posted: Fri Oct 23, 2009 4:44 pm
by killercoder
If any one could please post a good tutorial on how to set up a library and where to download this library.
I don't care what Lib it is as long as its easy to use and compatible with dev-c++
thank you all very much.
Re: Need a Lib TUT
Posted: Fri Oct 23, 2009 5:15 pm
by Pickzell
I don't know what you mean...
Here's a tutorial on setting up SDL...
http://lazyfoo.net/SDL_tutorials/lesson01/index.php
Yes, it is compatible with dev-c++
Re: Need a Lib TUT
Posted: Fri Oct 23, 2009 5:48 pm
by davidthefat
You really dont need a tut, setup is usually similar for all API's and if its a decent API, it SHOULD have a API Doc, I know all major apis have them... Read the Docs
Re: Need a Lib TUT
Posted: Fri Oct 23, 2009 6:39 pm
by Moosader
Google "Allegro DevPak"
Download Allegro DevPak
Double click Allegro.pak or whatever it's called.
Done.
Re: Need a Lib TUT
Posted: Fri Oct 23, 2009 8:01 pm
by Falco Girgis
"This" library? Am I missing something? Libraries are distributed as .lib files (Windows) or .a files (*nix) along with header files. These are simply precompiled object files that you are linking with your code.
Link to the library
Include the header files
If you want more help, you are going to have to be more specific. Which library? What platform? What IDE? Define your pronouns, and I will define a solution.
Re: Need a Lib TUT
Posted: Sat Oct 24, 2009 5:53 am
by K-Bal
You have to tell us what your problem is and we can help you. In general you just have to make your IDE know where the include folder of the lib is and tell it which libraries it should include.
GyroVorbis wrote:.a files (*nix)
Static linking in Unix-style systems ist really rare
Re: Need a Lib TUT
Posted: Sat Oct 24, 2009 6:39 pm
by Falco Girgis
K-Bal wrote:You have to tell us what your problem is and we can help you. In general you just have to make your IDE know where the include folder of the lib is and tell it which libraries it should include.
GyroVorbis wrote:.a files (*nix)
Static linking in Unix-style systems ist really rare
Not really when you consider the fact that most gaming consoles (and microprocessors in general) are Unix-style and also link against .a rather than .lib.
Re: Need a Lib TUT
Posted: Sun Oct 25, 2009 8:57 am
by K-Bal
True, I was unconsciously referring to desktop computers. Although, I don't know what .lib has to do with *nix
Do you mean .so?
Re: Need a Lib TUT
Posted: Sun Oct 25, 2009 4:06 pm
by killercoder
Pickzell and Moosador i tried to do both of what you said to do to download and set up those things but it's not working if you have teamveiwer and have free time to show me what i am doing wrong
sorry to be such a bother