Forum > macOS / Mac OS X

Program crashes on 10.5, works on 10.6

(1/1)

Martin V:
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

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

skalogryz:
It appears you have compiled the program without 10.5 compatibility!

add a linker option to your project compiler's option:

--- Code: --- -macosx_version_min 10.5

--- End code ---
Of course, your Xcode must be installed with 10.5 support!

added to the wiki

Navigation

[0] Message Index

Go to full version