Welcome, Guest. Please login or register.

Author Topic: Free Pascal and WinUAE  (Read 1309 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline TheMagicMTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2857
    • Show only replies by TheMagicM
    • http://www.BartonekDragRacing.com
Free Pascal and WinUAE
« 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.
PowerMac G5 dual 2.0ghz/128meg Radeon/500gb HD/2GB RAM, MorphOS 3.9 registered, user #1900
Powerbook G4 5,6 1.67ghz/2gb RAM, Radeon 9700/250gb hd, MorphOS 3.9 registered #3143
 

Offline Ilwrath

Re: Free Pascal and WinUAE
« Reply #1 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.)
 

Offline TheMagicMTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2857
    • Show only replies by TheMagicM
    • http://www.BartonekDragRacing.com
Re: Free Pascal and WinUAE
« Reply #2 on: July 23, 2004, 03:20:59 AM »
never thought of that!  I'll check it out...Thanks !!! :)
PowerMac G5 dual 2.0ghz/128meg Radeon/500gb HD/2GB RAM, MorphOS 3.9 registered, user #1900
Powerbook G4 5,6 1.67ghz/2gb RAM, Radeon 9700/250gb hd, MorphOS 3.9 registered #3143
 

Offline whabang

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 7270
    • Show only replies by whabang
Re: Free Pascal and WinUAE
« Reply #3 on: July 23, 2004, 07:51:21 AM »
I never managed to get FreePascal running under WinUAE. :-(
Beating the dead horse since 2002.
 

Offline TheMagicMTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2857
    • Show only replies by TheMagicM
    • http://www.BartonekDragRacing.com
Re: Free Pascal and WinUAE
« Reply #4 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.
PowerMac G5 dual 2.0ghz/128meg Radeon/500gb HD/2GB RAM, MorphOS 3.9 registered, user #1900
Powerbook G4 5,6 1.67ghz/2gb RAM, Radeon 9700/250gb hd, MorphOS 3.9 registered #3143