Mail Archives: djgpp/1998/09/01/05:45:20
Arthur wrote:
> > I finally got my first c++ program working in RHIDE!!! Now i downloaded the
> > the Allegro game library, and i tried to complie thier examples and thier
> > demo, but got SOOO many erros i cant list them here. What am i suppose to do
> > to get allegro to work with RHIDE? Thanks
>
> Don't compile Allegro with RHIDE. In the Allegro directory there is a file called
> MAKEFILE. This means that if you go to that directory in DOS prompt and type MAKE,
> Allegro will be compiled.
>
> Note that Allegro doesn't come with the game library pre-compiled. To compile an
> Allegro program, you need to link it with liballeg.a (using -lalleg). However if this
> file does not exist, you have problems. The makefile takes all the source files and
> compiles them into the library, then compiles all the example programs.
>
> James Arthur
> jaa AT arfa DOT clara DOT net
> ICQ#15054819
Yes, compile Allegro using MAKE. But when you have done that, you can use RHIDE to
edit/compile programs that use Allegro; it's so much easier to debug programs with the
integrated debugger of RHIDE.
Dont forget to include 'alleg' (NOT 'liballeg') in the list of libraries
(Options->Libraries window) and to check the checkbox next to it.
Daniël Hörchner
dbjhorchner AT hotmail DOT com
- Raw text -