Recent

Author Topic: Another try at building Lazarus on OS X  (Read 12860 times)

Carbonide

  • New Member
  • *
  • Posts: 15
Another try at building Lazarus on OS X
« on: September 27, 2004, 03:08:27 pm »
Well, after the successfull and painless install of Lazarus on my desktop machine, I wanted to do the same on my Powerbook.

The compilation seems to work fine, but I get the following error at the linking stage:

Quote

Linking ./startlazarus
/usr/bin/ld: can't locate file for: -lgdk_pixbuf


Does anybody know what's going on?

Edit: I have Free Pascal Compiler (binary and source) and GTK installed

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2582
Another try at building Lazarus on OS X
« Reply #1 on: September 27, 2004, 04:21:34 pm »
you need also to install gdk_pixbuf (that is a separate package)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Lightning

  • Sr. Member
  • ****
  • Posts: 422
Another try at building Lazarus on OS X
« Reply #2 on: September 27, 2004, 07:13:25 pm »
I got this on Linux Mandrake 10.
Don't worry, you just have to install one of the development packages that came with your OS.
I installed Lazarus first ignoring the package but you can't compile apps. without it so...
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

Anonymous

  • Guest
Another try at building Lazarus on OS X
« Reply #3 on: September 27, 2004, 10:23:35 pm »
Sorry to bother you all again: I installed gdk_pixbuf and compilation went fine, but now I got the following errors when trying to launch Lazarus:

Quote

[TGtkWidgetSet.Destroy] WARNING: There are 2 unreleased DCs, a detailed dump follows:
[TGtkWidgetSet.Destroy]  DCs:   01A4DD84 002E0254
[TGtkWidgetSet.Destroy] WARNING: There are 7 unreleased GDIObjects, a detailed dump follows:
[TGtkWidgetSet.Destroy]   GDIOs: 01AE4114 01AE2FD4 01AE3394 002E0374 01B050D4 002DC664 002DC5B4
[TGtkWidgetSet.Destroy]   gdiBitmap: 1
[TGtkWidgetSet.Destroy]   gdiBrush: 2
[TGtkWidgetSet.Destroy]   gdiFont: 2
[TGtkWidgetSet.Destroy]   gdiPen: 2
Broken pipe


What do I miss this time?

Carbonide

  • New Member
  • *
  • Posts: 15
Another try at building Lazarus on OS X
« Reply #4 on: September 27, 2004, 10:25:40 pm »
Guest above was me. Seems like the forums do *not* remember you after some time, although I did check the option :(

Lightning

  • Sr. Member
  • ****
  • Posts: 422
Another try at building Lazarus on OS X
« Reply #5 on: September 27, 2004, 11:08:24 pm »
Ugly !
Out of ideas.
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2582
Another try at building Lazarus on OS X
« Reply #6 on: September 28, 2004, 12:00:47 pm »
Short answer: This is something internal, mostly not to worry about. Lazarus should work.

Long answer: The lcl <-> gtk interface internally uses device contects (DC) to draw on and graphic objects to draw with (GDI). If an app doesn't clear those objects you get a warning on close, since in normal operations those objects should have been cleared (if not, then you have a resource leak)
This cleanup fails mostly when you get some kind of exception.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Anonymous

  • Guest
Another try at building Lazarus on OS X
« Reply #7 on: September 28, 2004, 02:59:56 pm »
Thanks for your reply Marc, but the problem is (and it seems I wasn't specific enough in my previous message) that Lazarus doesn't launch. The error messages get dumped to ym terminal and then I'm back at the prompt. The "About" window (although without the picture, just a white rectangle) flashes briefly and then disappears.

Any idea what I could have done wrong?

Anonymous

  • Guest
Another try at building Lazarus on OS X
« Reply #8 on: November 20, 2004, 07:51:11 pm »
You can install gdk_pixbuf from Fink

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2582
Another try at building Lazarus on OS X
« Reply #9 on: November 22, 2004, 12:23:55 pm »
Ah, as I said, you get those messages if you had an exception :)
In your case you got one, which resulted in an exit before the splash screen came up. THis splash screen is the first graphical form/control what get shown. So if anything is wrong in the LCL, you get noticed there.
What and why I don't know. I don't have access to a ppc.
Maybe you can ask the mailinglist. (I don't know if Mattias reads the forum regulary)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018