Volker wrote:
iLeshik wrote:
I think COCOA not available on old versions of Mac OS, carbon more old then cocoa.
The question is, is carbon available on newer Mac OS and if it is, why it's not possible to link against it correctly. Or is the IF statement always true, even if the framework is not available. Then the solution with testing on Cocoa first won't run on Mac OS system where it is not available.
To clarify fully:
* Cocoa is the native framework of Mac OS X, and is available on all versions of Mac OS X.
* Carbon is a C++ compatability layer for the Classic Mac OS, which is available to 32-bit programs on all versions of Mac OS X to date. It is officially deprecated, will never be available for 64-bit applications, and will likely be removed entirely in future versions of the OS.
* On 10.6, GCC defaults to 64-bit mode, so no Carbon applications will compile without compiler configuration tweaks, which are slightly tricky to force from within CMake.
GLFW-lite (from the glfw subversions server) has a fully functional Cocoa backend, which runs Horde fine on 10.6. Unfortunately, I lost my Mac hard drive (and subsequently my Mac) before I was able to submit the proper patch to Horde - though it looks like you have done an excellent job without me