Thread overview
Allegro
Mar 19, 2002
Thomas Giesel
Mar 19, 2002
Jan Knepper
Mar 20, 2002
Thomas Giesel
March 19, 2002
Did anyone of you use the allegro library with DMC++?
What is the easiest way to do that (patches to
header-files or defines etc.)?

Thomas
March 19, 2002
Where can we find the Allegro library.
Jan



Thomas Giesel wrote:

> Did anyone of you use the allegro library with DMC++?
> What is the easiest way to do that (patches to header-files or
> defines etc.)?
>
> Thomas

March 20, 2002
It's a game portable programming library: http://sourceforge.net/projects/alleg/ and www.allegro.cc

Yesterday I had a look at the sources. As there is a port for MSVC it should not be hard to write a DMC-"port". The only disturbing thing is that they need GNU-make (e.g. from DJGPP) for *every* Compiler, even MSVC.

I will do that thing, but I have to come to a decision:
- Write an include makefile for GNU-make + DMC, that would fit into the
  makefile-scheme of Allegro. It could be attached to the official
  Allegro release. There would be no need to change this makefile for every
  minor new version. But one has to install GNU-make and maybe the
  GNU-assembler.
*or*
- Write a native makefile for Digital Mars make/smake and some source patches.
  There would be no need to install DJGPP, but the Allegro-people dont
  include this into their packege. Some guy wrote makefiles for MSVC,
  these are also only distributed seperated. Maybe this makefile had to be
  updated for every new release of Allegro.

Of course one can convert the MSVC-compiled libs. But nevertheless the headerfiles have to be patched.

What's your opinion?

IMHO DM make/smake cannot be used with these makefiles: e.g. they use "ifdef" and not "!IFDEF" and "A += foo" and not "A = $(A) foo"

Thomas


Jan Knepper schrieb:
> 
> Where can we find the Allegro library.
> Jan
> 
> Thomas Giesel wrote:
> 
> > Did anyone of you use the allegro library with DMC++?
> > What is the easiest way to do that (patches to header-files or
> > defines etc.)?
> >
> > Thomas