Lazarus

Programming => Operating Systems => macOS / Mac OS X => Topic started by: Martin V on July 24, 2010, 05:16:33 pm

Title: Program crashes on 10.5, works on 10.6
Post by: Martin V on July 24, 2010, 05:16:33 pm
Hello,

I have ported my two editors to Lazarus and published MacOSX versions. See Third party announcements and:
http://www.hypermake.com/english/betatest.html (http://www.hypermake.com/english/betatest.html)

A user which uses Leopard (10.5) reports for both editors:

--------------------
OS X gives the following error message:

/Applications/wsedit.app/Contents/MacOS/wsedit ; exit;
GriffWoodiMac:~ DrPhilGA$
/Applications/wsedit.app/Contents/MacOS/wsedit ; exit;dyld: unknown
required load command 0x80000022
Trace/BPT trap
logout
--------------------

On my 10.6 system, all works fine. Any ideas? What are your test results?

Martin
Title: Re: Program crashes on 10.5, works on 10.6
Post by: skalogryz on July 24, 2010, 08:31:48 pm
It appears you have compiled the program without 10.5 compatibility!

add a linker option to your project compiler's option:
Code: [Select]
-macosx_version_min 10.5
Of course, your Xcode must be installed with 10.5 support!

added to the wiki (http://wiki.freepascal.org/Carbon_interface_FAQ#User_friendly_OS_version_requirement)
TinyPortal © 2005-2018