Recent

Author Topic: Lazarus on Leopard using X11  (Read 6919 times)

baumwollschaf

  • Guest
Lazarus on Leopard using X11
« on: February 09, 2009, 04:20:17 pm »
Hi there,

I am using Lazarus on a Mac/Mac OSX Leopard and X11.
Where can I find my compiled project in the Mac-environment out of X11? Lazarus seems to have its own structure regarding files.

I can't find neither my project files nor any other lazarus file?

Any help/advice?

Thanks

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Lazarus on Leopard using X11
« Reply #1 on: February 09, 2009, 04:29:19 pm »
The current releases of Lazarus are compiled for native Carbon not X11 and by default create Carbon apps, not X11.

Are you trying to compile for GTK/X11 for some reason?

Thanks.

-Phil

baumwollschaf

  • Guest
Re: Lazarus on Leopard using X11
« Reply #2 on: February 10, 2009, 04:47:36 pm »
Hi,

thanks for your good advice.

What about the installation? Is that still that hard to install lazarus and carbon on Leopard, mac os 10.5.x? do you have installation tips?

> Are you trying to compile for GTK/X11 for some reason?
Nope, X11 was just the easiest way for me to run lazarus on a mac. i am newbie to macosx and thought it was just as simple as delphi for windows...

Thanks
« Last Edit: February 10, 2009, 04:51:01 pm by baumwollschaf »

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Lazarus on Leopard using X11
« Reply #3 on: February 10, 2009, 05:00:41 pm »
Installing on Mac should now be fairly straightforward. There's lots of info here although some of it can be confusing since it still includes X11/GTK instructions:

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

This should be all you need to do:

(1) Make sure you have installed Apple Developer Tools from your OS X distribution disk installed.

(2) Uninstall any existing Lazarus. If it's a fairly recent version, you can run the uninstall.sh script. It's generally a good idea to delete the lazarus.pkg from Receipts too.

(3) Run the two FPC .dmg's if you haven't already done this.

(4) Run the Lazarus .dmg.

(5) Drag Lazarus from Applications to the Dock. Click it to make sure Lazarus starts. If not, drag the Lazarus app (not the lazarus executable) from /Developer/lazarus to the Dock.

(6) Optionally you can move the Lazarus folder from /Developer to anywhere else you want. I usually put it in my home folder.

Thanks.

-Phil

baumwollschaf

  • Guest
Re: Lazarus on Leopard using X11
« Reply #4 on: February 10, 2009, 05:17:06 pm »
Thank you.

I will try it this evening.

BTW, must i previously install carbon? if yes, where can i get the latest version?

Thanks.

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Lazarus on Leopard using X11
« Reply #5 on: February 10, 2009, 06:00:25 pm »
If you mean the Carbon.framework, that's part of OS X.

If you mean the Carbon widgetset, that's included and precompiled with Lazarus.

Thanks.

-Phil

 

TinyPortal © 2005-2018