Virtual Lazarus

Posted by ALB42 on 21. April 2016No Comments

Here you can download a Virtual machine for VMware Player. It’s a Linux with cross freepascal compilers for Amiga 3.x, AmigaOS 4, AROS (i386), MorphOS and a working Lazarus which can produce LCL – GUI applications for all this platforms (+ Linux of course).
 

Virtual machine with Lazarus Amiga, OS4, AROS, MorphOS:
VM Lazarus (1152 MB)
MD5: 2bb3c6c04e8489cb9db6dfa665112094

 

Introduction Video for this virtual machine use to show how easy it is:


Addition for AmigaOS4:

History

Version 2.0 (16.05.2016)

  • FIX: Redraw problems on AmigaOS3
  • FIX: Size problems
  • FIX: Mouse event crashes
  • ADD: Support for AmigaOS4
  • CHG: Striped image from unneeded things, reduced download size

Version 1.0

  • Inital release for AmigaOS3, AROS, MorphOS

 

Questions and Answers

Q: How to change the default keymap?

A: Open xterm and type “setxkbmap us”, replace the us (= american layout) by your favourite keyboard layout (de, us, fr, ….). To make it permanent for every boot, edit /home/test/.profile and add the setxkbmap call to end of the file.

 

Q: How did you transfer the compiled programs to the target computer?

A: I used the VMware shared folder on the host computer and used samba to access the program from MorphOS. Amiga/UAE and AROS can directly access the files on the harddisk or with samba on dedicated computers.

 

Q: The AROS compilation seems to be different from the previous AROS release?

A: Yes, the LCL diverted fro AROS on the one side and Amiga/MorphOS on the other side. This is the first try to join them, but its not on par currently. (For example Groupboxes does not work in this version also speedbuttons look weird and so on) So if you experience problems just compile your program at AROS again, or wait for bugfixes 😉

 

Q: How to compile for Amiga/AROS/MorphOS?

A: You can set by hand in Project Options. But I suggest you use my prepared config file as shown in the video. Open “Menu – Project -Project Options” press “Import” (Button on the lower edge) choose the “/home/test/AllAmigaPlatforms.xml”. Now you have build settings for all four platforms.

 

Q: Synedit (or other package) is missing in the component icon list?

A: Make sure this package is already supported for Amiga style systems (SynEdit is 😉 ) and go to Package – Install/Uninstall Packages and choose to install. Lazarus have to compile again after installing/uninstalling an package.

 

Q: Are there examples/How to know which components are availabel for our systems?

A: Examples are available at GitHub. If you want to download directly to this virtual machine, open a xterm and type “git clone https://github.com/alb42/fpc-tests.git”. You will find a directory named fpc-tests in your home directory with a sub directory LCL, where you can find many test code examples to use and test which elements are working, or not.

 

Q: I get errors on code completion if the compile mode is other than Linux

A: Yes, thats a Bug, I still have no idea why this happen, so remember to turn back to Default (=Linux) before write code. The Option “build many modes” seems also to have a Bug, if you include “Default” into the compilation, so uncheck it before start, like shown in the video

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.