Author Topic: Allegro problems  (Read 5083 times)

TheGuy

  • Guest
Allegro problems
« on: December 24, 2006, 10:03:01 pm »
I've been trying for 2 hours to get allegro to work with Code::Blocks and its proved to be extremely frustrating

This is what I did:

  • Used the devpak plugin to install allegro
  • tried to compile but got many 'undefined references' errors
  • downloaded a template for allegro posted somewhere on these forums
  • Project > Build Options > Linker tab and typed in "liballeg.a"

Now, I get this:

Checking for existence: C:\Documents and Settings\bk.AKPINAR-BK\Desktop\Yeni Klasör\Allegro.exe
Executing: "C:\Documents and Settings\bk.AKPINAR-BK\Desktop\Yeni Klasör\Allegro.exe"  (in .)
Process terminated with status 1 (0 minutes, 6 seconds)
0 errors, 0 warnings

and a window pops up saying "alleg40.dll" was not found

I have absolutely no idea what I'm doing wrong
« Last Edit: December 24, 2006, 10:06:49 pm by TheGuy »

Offline lubos

  • Almost regular
  • **
  • Posts: 131
Re: Allegro problems
« Reply #1 on: December 24, 2006, 10:27:06 pm »
i never used allegro but i think you must copy that dll to your game folder or to windows/system32 folder. you should have that dll in allegro drectory or just try to find it through explorel

Offline Vampyre_Dark

  • Regular
  • ***
  • Posts: 255
  • Hello!
    • Somewhere Over The Rainbow...
Re: Allegro problems
« Reply #2 on: December 24, 2006, 10:57:31 pm »
Quote
I've been trying for 2 hours to get allegro to work with Code::Blocks and its proved to be extremely frustrating
No library is frustrating to get it to work with code::blocks. It's just ignorance on how to use libraries in general. They all work the same. You have to link to them all the same way.

Place the DLL in your app folder (or better off, in your windows/system32/ folder, like the above poster said).


Check out Allegro.cc. It will link you to all the relevant .dll files, and the latest version of the library. It also has an online version of the allegro api reference for your convinience.
C::B Wishlist
~BOYCOTT THE EVIL YELLOW BOXES~

Offline bluekid

  • Multiple posting newcomer
  • *
  • Posts: 57
  • What is blue ? Blue is the invisible becoming visi
Re: Allegro problems
« Reply #3 on: December 25, 2006, 09:42:36 am »
What is blue ? Blue is the invisible becoming visible.