Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-07

sdlutils on linux 64 bits

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Daniel Gaspary

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

Reply by email

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

It's a third party unit that was imported from JEDI-SDL. It was even deleted in the past because it wasn't part of the interface to the SDL library and not really tested, only to be brought back because the newly started sdlgraph unit (which never got finished) depended on it. So if you want help with it, I think that contacting the JEDI-SDL people is your best shot.

Jonas

Reply by email