Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: TheGuy on December 24, 2006, 10:03:01 pm

Title: Allegro problems
Post by: TheGuy 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:


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
Title: Re: Allegro problems
Post by: lubos 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
Title: Re: Allegro problems
Post by: Vampyre_Dark 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 (http://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.
Title: Re: Allegro problems
Post by: bluekid on December 25, 2006, 09:42:36 am
http://forums.codeblocks.org/index.php?topic=2558.0