The study of Programming and computer aplication in my department (agricultural engineering) was used delphi for basic programming study. The lecturer teacing how to make application for information system in agriculture, this application based on pascal language with Delphi IDE. Delphi regular run in windows environment, perhaps we can replace this tool with opensource application, ie kylix or lazarus.
What’s Lazarus?
Lazarus is the class libraries for Free Pascal that emulate Delphi. Free Pascal is a GPL’ed compiler that runs on Linux, Win32, OS/2, 68K and more. Free Pascal is designed to be able to understand and compile Delphi syntax, which is of course OOP. Lazarus is the part of the missing puzzle that will allow you to develop Delphi like programs in all of the above platforms. Unlike Java which strives to be a write once run anywhere, Lazarus and Free Pascal strives for write once compile anywhere. Since the exact same compiler is available on all of the above platforms it means you don’t need to do any recoding to produce identical products for different platforms.
source from lazarus homepage
We will try to using this application to make some application same as previous project as based on Delphi. Fisrtly we need to install Lazarus on my machine, this is step by step installation on my ubuntu 8.10 (Intrepid Ibex):
- Open the Synaptic Package Manager , “System > Administration > Synaptic Package Manager”
- Add lazarus repositories for get the newer version(now on this letter 0.9.26), lazarus 0.9.24 available on ubuntu 8.10. Add the repositories ” Settings > Repositories”. and choose the” Third-Party Software” tab, and add the line repositories below :
deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universedeb http://www.hu.freepascal.org/lazarus/ lazarus-testing universe
- Check the updates using “Reload” button to get the newest update from source repostitory.
- Search the application using keyword “lazarus”
- Checklist for installation on packages
fpc-source, lazarus, lazarus-doc, lazarus-ide , lazarus-src. Right click on list package > Mark for Installation - Installation completed
- Launch the lazarus from menu bar, “Application > Programming > Lazarus”
- After launched the application, may be find error message “
Free Pascal Source Directory not found“, don’t worry it will be add for next step, please chose the “ignore” button. - The next step is adding the Free Pascal Source Directory path, En vironment > Environment Options, an then chose the FPC source directory,  browse to FPC path “
/usr/share/fpcsrc/2.2.0/” . Ok - Configuration completed
Related Posts
- No related posts found
Comments
Powered by Facebook Comments
Mas, ada ga contoh dari lazarus untuk pemula….
kalo ada di upload dong, mungkin kawan2 yang pengen belajar lazarus bisa dari blog ini
Contoh aplikasi ya?
insya Alloh nanti contoh aplikasi praktikum yang bisa berjalan lancar akan di upload disini…
regards
Susah sangat belajar Lazarus… tolong mas contoh program yang sederhana….
mas/mba tolong buatin contoh sederahana buat pengenalan aja dong tentang lazarus kami penasaran banget sama ide lazarus ini
mana om… contoh aplikasinya…
thanks
Belajar bahasa Pascal dulu baru lazarus/freePascal…
iya nieh mas, saya juga lagi mulai nyoba2 belajar lazarus….
please banget sample coding nya..
thanks
pernah coba untuk hack game gak? tlg aku di kasih contohnya, makasih