Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-10

Mac OS X : lclproc.pas not building in Revision 22022

7 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Hi all,
When building Lazarus under Mac OS X 10.5, lclproc.pas throws the following error...

lclproc.pas(4382,17) Error: Identifier not found "CreateCFString"
lclproc.pas(4383,39) Warning: Local variable "cf" does not seem to be
initialized
From searching it seems that CreateCFString is declared in carbonproc.pp

Adding carbonproc to lclproc.pas' uses clause causes the compile to complain about not finding carbonproc.
Has the build scripts for Mac OS X changed since yesterday or am I missing something?

I really wasn't planning on getting another SVN update today, but while trying to install the RichEdit component I messed up my Lazarus setting so thought it would be best to start from scratch.

As mentioned in the subject line, I was building with Revision 22022. I could always revert to a previous revision, but thought I would mention it in case anyone else was wondering.

Dominique.

Reply by email

Unknown author
to dmitry boyarintsev

Yes that fixed the build issue.

Only thing is that now I can't double click on the Lazarus app bundle to launch Lazarus.
I can only get it running via the startlazarus exe.

Their probably not related, but just so you know.

Dominique.

dmitry boyarintsev wrote
Sorry. Fixed in 22023 thanks, dmitry

Reply by email

dmitry boyarintsev
to Unknown author
Only thing is that now I can't double click on the Lazarus app bundle to launch Lazarus. ?I can only get it running via the startlazarus exe.

Could you find out at what revision has the behaviour started?

Try to launch the lazarus via Terminal:
lazarus.app/Contents/MacOS/lazarus
what is the output?

thanks,
dmitry

Reply by email

Unknown author
to dmitry boyarintsev

Hi Dmitry,
It was definitely working just after
Mattias Gaertner did a revision fix around Sat Oct 3 18:22:13 CEST 2009. As that is the one I was using yesterday until 22022.

So between Mattias' post and your revision fix of 22023. Sorry I can't be more precise.

Launching lazarus.app/Contents/MacOS/lazarus via terminal starts up lazarus.
Its is just double-clicking on the app bundle that seems to be broken. If I do that, I get the message
"You can't open the application 'lazarus' because it is not supported on this architecture."
Also the Lazarus app bundle has a "No smoking" type icon overlayed on the lazarus icon, so the OS definitely doesn't like the app bundle either.

I hope this helps.

Dominique.

dmitry boyarintsev wrote
Try to launch the lazarus via Terminal: lazarus.app/Contents/MacOS/lazarus what is the output?

Reply by email

dmitry boyarintsev
to Unknown author
Show quoted text 5 lines
Mattias Gaertner did a revision fix around Sat Oct 3 18:22:13 CEST 2009. As that is the one I was using yesterday until 22022. If I do that, I get the message "You can't open the application 'lazarus' because it is not supported on this architecture."

It seems, like a bundle structure (info.plist file?) has been broken on your side.
Maybe you've recompiled lazarus for powerpc and you're using Intel Mac? or vice versa? (check Lazarus build options for CPU target).

If there's nothing wrong with compiler options, try to do the following:
- goto lazarus dir
- erase the bundle: rm -rf lazarus.app
- update the bundle: svn update lazarus.app

open Finder, and try to launch the lazarus by double-click (or Cmd-O). See if it works.
It's drag the new bundle to Dock (if necessary).

thanks,
dmitry

Reply by email

Unknown author
to dmitry boyarintsev

deleting the app bundle and grabing it again from svn did the trick.

Thanks.

Dominique.

dmitry boyarintsev wrote 13 lines
It seems, like a bundle structure (info.plist file?) has been broken on your side. Maybe you've recompiled lazarus for powerpc and you're using Intel Mac? or vice versa? (check Lazarus build options for CPU target). If there's nothing wrong with compiler options, try to do the following: - goto lazarus dir - erase the bundle: rm -rf lazarus.app - update the bundle: svn update lazarus.app open Finder, and try to launch the lazarus by double-click (or Cmd-O). See if it works. It's drag the new bundle to Dock (if necessary).

Reply by email