Recent

Author Topic: Does Lazarus compiled app require X11?  (Read 5331 times)

alex80

  • New Member
  • *
  • Posts: 13
Does Lazarus compiled app require X11?
« on: July 19, 2008, 01:50:11 pm »
Hi!

Sorry for may be silly question, I'm newbie in Mac OS. I've switched from Win32/Delphi.

I can't find answer - do my app will need X11 to run?
I have to create a console app - it reads file from the current directory and writes to another.
AFAIK GUI apps will need X11, but will such app require X11 installed?

Thanks!

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: Does Lazarus compiled app require X11?
« Reply #1 on: July 19, 2008, 03:22:07 pm »
Lazarus has a modular design in which the backend gui library can be changed. The default backend in Mac OS X in Lazarus 0.9.24 was Gtk 1, which requires X11.

The default backend starting in 0.9.25 is the native Carbon interface which doesn't require X11. If you compile your programs against Carbon they won't need X11. Here is more information:

http://wiki.lazarus.freepascal.org/Carbon_Interface

alex80

  • New Member
  • *
  • Posts: 13
RE: Does Lazarus compiled app require X11?
« Reply #2 on: July 19, 2008, 03:24:18 pm »
Thank you!  

P.S. I don't need GUI at all.

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1186
    • Burdjia
Re: RE: Does Lazarus compiled app require X11?
« Reply #3 on: July 22, 2008, 10:50:49 am »
Quote from: "alex80"
Thank you!  

P.S. I don't need GUI at all.
Then it doesn't require X11.
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

 

TinyPortal © 2005-2018