Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: TheMagicM on July 23, 2004, 02:13:31 AM

Title: Free Pascal and WinUAE
Post by: TheMagicM on July 23, 2004, 02:13:31 AM
anyone tried compiling the demo 'stars.pas' under WinUAE?

I'm running 3.1 workbench using Picasso 96 graphics (or CGX, cannot remember which).. well when I compile stars.pas for example, fpc returns:
asl.pas(4,55) Fatal: Can't find unit WORKBENCH

I've tried disabling graphics card so it just boots like a regular Amiga but I still get the error.

Any ideas why?  I would love to get this thing working.
Title: Re: Free Pascal and WinUAE
Post by: Ilwrath on July 23, 2004, 02:53:33 AM
Hmm...  Sounds like it's either botched or missing the include path.  

Can't find unit WORKBENCH

Sounds like it's looking for a file and not finding it.  Check it out with SnoopDOS and see if you can see where it's expecting to find the WORKBENCH unit.  (or check if you even HAVE a WORKBENCH unit, or if it's part of an API that is needed but not included in the basic install.)
Title: Re: Free Pascal and WinUAE
Post by: TheMagicM on July 23, 2004, 03:20:59 AM
never thought of that!  I'll check it out...Thanks !!! :)
Title: Re: Free Pascal and WinUAE
Post by: whabang on July 23, 2004, 07:51:21 AM
I never managed to get FreePascal running under WinUAE. :-(
Title: Re: Free Pascal and WinUAE
Post by: TheMagicM on July 23, 2004, 11:29:34 AM
I tried the -va option in fpc and it could not find workbench.ppu.. so I manually added the path.. then the next unit it couldnt find was exec.ppu... it was in that same dir..but it complained about a time difference between the obj and ppu or something.. never did work.. oh well.  another one bit the dust.