Need a Lib TUT

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

Post Reply
killercoder
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 29
Joined: Sat Oct 17, 2009 4:19 pm

Need a Lib TUT

Post 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. :)
User avatar
Pickzell
Chaos Rift Junior
Chaos Rift Junior
Posts: 233
Joined: Sat May 16, 2009 10:21 am

Re: Need a Lib TUT

Post 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++
I'm an altogether bad-natured Cupid.
User avatar
davidthefat
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 529
Joined: Mon Nov 10, 2008 3:51 pm
Current Project: Fully Autonomous Robot
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: California
Contact:

Re: Need a Lib TUT

Post 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
User avatar
Moosader
Game Developer
Game Developer
Posts: 1081
Joined: Wed May 07, 2008 12:29 am
Current Project: Find out at: http://www.youtube.com/coderrach
Favorite Gaming Platforms: PC, NES, SNES, PS2, PS1, DS, PSP, X360, WII
Programming Language of Choice: C++
Location: Kansas City
Contact:

Re: Need a Lib TUT

Post by Moosader »

Google "Allegro DevPak"

Download Allegro DevPak

Double click Allegro.pak or whatever it's called.

Done.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: Need a Lib TUT

Post 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.
K-Bal
ES Beta Backer
ES Beta Backer
Posts: 701
Joined: Sun Mar 15, 2009 3:21 pm
Location: Germany, Aachen
Contact:

Re: Need a Lib TUT

Post 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 ;)
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: Need a Lib TUT

Post 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. ;)
K-Bal
ES Beta Backer
ES Beta Backer
Posts: 701
Joined: Sun Mar 15, 2009 3:21 pm
Location: Germany, Aachen
Contact:

Re: Need a Lib TUT

Post 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?
killercoder
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 29
Joined: Sat Oct 17, 2009 4:19 pm

Re: Need a Lib TUT

Post 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
Post Reply