Forum > macOS / Mac OS X

can't compile anything in macOS 15.4

<< < (2/2)

Jeff_t:
Have you tried to add -WM10.15 or -WM11.0 into the options. That might help.
Options:
1: the FPC options in Setup+ when using fpcupdeluxe.
2: the custom compiler options when compiling a project.

I saw people suggest add -WM10.15
But I cannot find 'options' in order to do that.
Or 'custom compiler options'
I cannot find these words anywhere in 'Settings', for example.

the FPC options in Setup+ when using fpcupdeluxe.
The install instructions I followed don't include any reference to fpcupdeluxe.


Why do people seem to blatantly ignore that solution even if given by multiple mac users?

Not ignoring it - unable to find any way to do it.

Jeff_t:
I have found someone who was prepared to describe what was meant by the solution.

For the benefit of other real newcomers who struggled with this like me...

Open Lazarus.
Click the Project menu.
In there, choose Project options.
When that opens, there are two sections, Project Options and Compiler Options.
We need 'Compiler Options'
Under that is Compilation and Linking. This is NOT the place to put these compiler options.
Instead, open Custom Options
In the Custom Options text box, add -WM10.15
(WM11.0 didnt work for me)

Thaddy:
15 is higher than 5. That's true  :D
Glad to know it works for you too.

Jeff_t:
If anyone continues to have trouble compiling an app in MacOS 10.15.6
I too couldn't compile with project options set to 10.15
Lazarus wouldnt even run in debug if I tried 11.0

But changing it to 10.14 allows me to build a working app

rich2014:
complete solution: https://forum.lazarus.freepascal.org/index.php/topic,72497.0.html

Navigation

[0] Message Index

[*] Previous page

Go to full version