`Prev Menu Next`

## Setup

### Windows

#### Set up (Lazarus)

Download 32bit version of Lazarus1.8.4 and install it into the folder that has no space character on its path name.
Lazarus Download (SourceForge)

#### Set up (ParactBASIC)

ParactBASIC should be extracted into a regular folder on which the user has write permission.
The name of the folder must not contain any space characters.
For example, Desktop is not suitable. USB flush drives shall be suitable.
When the system is updated by overwriting, the OUTPUT folder must be cleared.
Afterward, execute ParactBASIC.exe, and set up two paths.
Click "Set Up" and select "Path".
"fpc path" is the path to the folder on which fpc.exe exists.
"Lazarus path" is the full path name of the folder that contains lazarus.exe.
If you have installed win32 Lazarus + fpc 3.0.4. on C drive, the two paths are following.

    C:\Lazarus\fpc\3.0.4\bin\i386-win32
    C:\Lazarus

Note.
If you use 64bit Windows, Lazarus 1.8.4 win64 also can be used.
Lazarus Win64
Select Setup - Path menu to set Target CPU to 64bit and set the paths.
Note that FPC win64 does not support 80 bit extended precision floating point, thus power operation or some irrational functions may perform inaccurate.
Note.
When cros-x86_64 add-on is installed to 32 bit Lazarus, the fpc path is same as the path to 32 bit fpc.

### Linux (i386)

#### Set up (fpc and Lazarus)

Download and install fpc 3.0.2, fpc-src 3.0.2 and Lazarus 1.6.4
Lazarus Dwonload (SourceForge)
For DEB format, Lazarus i386 DEB

#### Set up (ParactBASIC)

This system should be installed into a regular folder on which the user has write permission.

#### Troubleshootings

Can't find unit fileutil
When you see this error, modify Lazarus Path on the SetUp menu.
Folders such as components and units are put on the folder that the Lazarus Path directs.
That may as follows.
/usr/lib/lazarus/0.9.30.4/
or
/usr/share/lazarus/1.0

### Linux (x86_64)

#### Set up (fpc and Lazarus)

Download fpc 3.0.2, fpc-src 3.0.2 and Lazarus 1.6.4 from
Lazarus Download (SourceForge).
For DEB format files, download from
Lazarus AMD64 DEB.

#### Set up (ParactBASIC)

This system should be installed into a regular folder on which the user has write permission.

### MAC(Intel)

#### Set up（Xcode tools）

Install the Apple Developer Tools (or Xcode tools).

1.
  install Xcode.
  This can be done on Apple App Store, Xcode needs no pay but Apple ID reqiured.
2.
  On the terminal, type following two commands.
  `sudo xcodebuild -license`
  After license terms are displayed, enter `agree` .
  `xcode-select --install`
  After this, command line tools shall be installed.

See Installing Lazarus on MacOS X.
See also Installing Lazarus on Mac OS X - Free Pascal(PDF)
Note. BASICAcc does not require GDB. So you do not have to install GDB.

#### Set up（fpc and Lazarus）

Install FPC 3.0.4 and Lazarus 2.0.6, downloading from Lazarus Download

#### Set up (ParactBASIC)

Trouble Shooting
1. For the First Time
(1) Unabe to create file "/private/var/folders/0b ……
Move ParactBASIC icon (ParactBASIC.app) into the Application folder or another location, and then run ParactBASIC.
Once normally performed, ParactBASIC.app can be retured into the original folder.
For details, search "App Translocation" on the internet.
< Note. >
This system should be installed into the folder on which the user has write permission.
And the folder must not contain a space character. Note that when you use a USB drive, if it has a name such as "`NO NAME`", it must be renamed.
(2) For the first tme, NoName must be executed by clicking with control-key pressed .
(3) Empty ReportForm shown
If the first Run comannd yields empty ReportForm, this may caused by Unexecuted XCode license agreement.
On the terminal, run `sudo xcrun cc` and enter `agree` at the end.
(4) ReportForm shows `PPU Source :synedit.pp not found.`
Launch Lazarus IDE and select Package menu - Open Loaded packages.
And then Open and Compile the followings:
Synedit
Printer4lazarus
(5) "do setup Lazarus Path" shown.
Select path on the setup menu, and then rewrite Lazarus path correctly.
Lazarus path is
Library/lazarus
on Lazarus 2.0.6, while lazarus path was
Developer/lazarus
on former versions.

Known Faults
SET DRAW MODE (NOTXOR, MASK, MERGE, XOR) do not work.
MOUSE POLL statement does not work properly.
Behaviors of some graphics statements are no good as in Decimal BASIC Mac(Intel).