Smith Ray wrote 11 lines
Hi There,
(I haven't received any email for months ... so I don't know if I will
receive an answer!)
Has anyone successfully created bindings for Allegro to work with FreePascal?
I'm more interested in the Windows version but would love to hear that
it is possible to create a game and compile it for DOS, Windows and Linux
without changing the source!!!
Hello,
I tried to create bindings for Allegro under Linux some time ago, but I didn't succeed. If I remember well, the problem was related to the C macros used by Allegro (END_OF_MAIN).
I used the Delphi bindings ( http://www.caladon.de/allegro/ ) as a base, because h2pas was not able to do it automatically (crashes) and converting directly from the .h seemed quite difficult for me.
I didn't attempt a new try with the last version of Free Pascal though.