|
From: Elias P. <Eli...@ao...> - 2000-12-31 02:09:56
|
> hi, > > i've downloaded allegro. There are instructions and read.me files with it > but i am confused as to how it should be set up to work with devc++. is > anyone familiar with allegro and has maybe set their version up with dev > c++? Yes - you can use the mingw version of allegro. But it only comes as sourcecode. So to use the library, you first have to compile it. There should be a file readme.mgw in your allegro directory, it tells you all the software you need to download, and what you have to do (you have to read carefully because it won't work if you forget anything). After everything has been compiled and installed, you can set up dev-c++ to use allegro. To do so, i had to copy the following files: from c:\mingw\include\allegro\*.* to c:\dev-c++\include from c:\mingw\include\allegro.h to c:\dev-c++\include from c:\mingw\lib\liballeg.a to c:\dev-c++\lib To use allegro in your dev-c++ project, you have to write -lalleg to 'further object files or linker options' in the project options. You should now be able to just copy any of the example source-codes and compile and run them from dev-c++. |