Recent

Author Topic: [SOLVED] Building IDE 64 Bit cocoa fails  (Read 164 times)

wittbo

  • Jr. Member
  • **
  • Posts: 64
[SOLVED] Building IDE 64 Bit cocoa fails
« on: August 23, 2019, 11:43:41 am »
This morning I downloaded R2.0.4 macos in order to build an new fresh IDE with 64 Bit / cocoa.
The settings were as follows (settings.png).
On compiling there were many messages like those in Errormessages.png
Compiler was /usr/local/bin/fpc

It's seems to me, that there is a general settings problem, but I can't find it.


« Last Edit: August 23, 2019, 12:33:27 pm by wittbo »
-wittbo-
Lazarus 2.0.4  with FPC 3.0.4a
MBAir with MacOS 10.14.5
iMac with MacOS 10.13.6

wittbo

  • Jr. Member
  • **
  • Posts: 64
Re: Building IDE 64 Bit cocoa fails
« Reply #1 on: August 23, 2019, 12:32:29 pm »
Problem solved.
There is a directory ./lazarus in the users homedirectory on the mac. All settings and much more seem to be saved there.
When it's not there, Lazarus builds a new one with initial settings, no problem. So I deleted it, no compiler errors. Fine.

Finally upon building the IDE there were some errors (Permissions.png) concerning directory permissions. These result from the fact that I do the installation as a non-admin user, but the installation creates all data in /Developer/lazarus with owner root, group admin  and rwxrwxr-x permission. Therefore the new IDE cannot be created as a standard MacOS user without admin rights. And I am doing my work always as a standard user.
Logging in as user root in the terminal and running chmod -R o+w /Developer/Lazarus also solved this problem.
Now I have a 64 bit IDE with Cocoa. It looks good, no problem so far.

Thanks to the Lazarus development team. They are doing a great job!
« Last Edit: August 23, 2019, 12:36:45 pm by wittbo »
-wittbo-
Lazarus 2.0.4  with FPC 3.0.4a
MBAir with MacOS 10.14.5
iMac with MacOS 10.13.6