[fpc-pascal] sdlutils on linux 64 bits

Daniel Gaspary dgaspary at gmail.com
Sun Jul 31 23:11:40 CEST 2011


Hi,

    I was trying to run the example from [1], but I have noticed
fpcmake from sdl package does not compile sdlutils for my environment,
Linux (ubuntu 11.04) 64 bits.

   sdlutils is the only unit with restrictions in fpmake.pp . Tyring
to compile myself I got errors like the following:

   "Typecast has different size (4 -> 8) in assignment"

   PUInt8( Addr )^ := R or G or B;

   The last activity on this unit seems to be from 2008. Any new
solution or workaround to make the code compatible ?


   Thanks.


[1] http://www.pascalgamedevelopment.com/content.php?15-Artillery-Game-Tutorial-Part-1-Introduction



More information about the fpc-pascal mailing list