Sign in Join

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

Mailing lists / lazarus / 2018-06

64 bit Cocoa package (Mac)

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Ryan Joseph

I’ve been tasked to make a Lazarus package but I’m stuck in a loop trying to install it. Please note this is my first time using Lazarus.

I’m able to create and compile the package but when I try to install (“save and rebuild IDE") it I’m stuck in a loop:

1) by setting the Tools > Options compiler path to ppc386 I can rebuild but I get symbol not found error because the framework I’m linking is 64 bit only.
1) If I set the compiler to ppcx64 I get the "Identifier not found “ATSUFindFontFromName”” error and never get to the building of the actual package.

How can I get out of this loop? Apparently lazarus needs to compile the package and link everything but the IDE also demands I only build with the i386 compiler.

Regards,
Ryan Joseph

Reply by email

Dmitry Boyarintsev
to Ryan Joseph

On Sun, Jun 24, 2018 at 12:49 AM, Ryan Joseph via Lazarus <

Show quoted text 13 lines
wrote: 1) by setting the Tools > Options compiler path to ppc386 I can rebuild but I get symbol not found error because the framework I’m linking is 64 bit only. 1) If I set the compiler to ppcx64 I get the "Identifier not found “ATSUFindFontFromName”” error and never get to the building of the actual package. How can I get out of this loop? Apparently lazarus needs to compile the package and link everything but the IDE also demands I only build with the i386 compiler.

It's not IDE that demands the compiler to be i386, but the widgetset (Carbon).

You need to specify Lazarus to build for Cocoa instead. In this case you should be able to install the package into IDE.

thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180624/da4495de/attachment-0001.html>

Reply by email

Ryan Joseph
to Dmitry Boyarintsev
Show quoted text 5 lines
On Jun 25, 2018, at 9:38 AM, Dmitry Boyarintsev via Lazarus wrote: It's not IDE that demands the compiler to be i386, but the widgetset (Carbon). You need to specify Lazarus to build for Cocoa instead. In this case you should be able to install the package into IDE.

Yes I finally got it figured out with help from another person. It was the “Tools -> Configure …” settings I was missing.

When I turn on the Cocoa widget set I can install the package now but the IDE is basically broken. Menu items are missing, command key are wrong , size of the controls are all wrong (due to high resolution) and crashing in the source editor amongst others.

Is the IDE broken for the Cocoa widget set?

Regards,
Ryan Joseph

Reply by email

Dmitry Boyarintsev
to Ryan Joseph

On Sunday, June 24, 2018, Ryan Joseph via Lazarus <

Show quoted text 5 lines
wrote: Is the IDE broken for the Cocoa widget set?

I prefer the word “incomplete” for Cocoa widget. Are you using trunk for Lazarus, or an earlier release?

If an earlier release then it’s expected.
If trunk then a screenshot would worth a thousand words.

Thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180624/5a1fe6e0/attachment.html>

Reply by email