Page 1 of 1

building LC for MacOSX: "BUILD FAILED"

Posted: Thu Nov 12, 2015 12:13 pm
by Thierry
Hi,

Trying to build the Livecode engine with Xcode 7.1 and against MacOS.10.11 SDk
I'm stuck with :

** BUILD FAILED **

Code: Select all

./livecode/engine/src/coretextfonts.cpp:495:21: error: 
                  use of undeclared identifier 'ATSUFindFontFromName'
        t_success = ATSUFindFontFromName(t_name, t_name_length, kFontPostscriptName, ....
                    ^
17 warnings and 1 error generated.


The following build commands failed:
	CompileC ./livecode/_cache/mac/Debug/kernel.build/Objects-normal/i386/coretextfonts.o src/coretextfonts.cpp normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
make[1]: *** [compile-mac] Error 65
make: *** [all-mac] Error 2
Thanks for any help,

Thierry

Re: building LC for MacOSX: "BUILD FAILED"

Posted: Fri Nov 13, 2015 6:20 am
by monte
@LCFraser is in the middle of implementing 64 bit support for Mac which also resolves all or most of the reasons we can't currently build against anything higher than 10.9. Here's the relevant PR to your error https://github.com/livecode/livecode/pull/3167

Re: building LC for MacOSX: "BUILD FAILED"

Posted: Fri Nov 13, 2015 8:41 am
by Thierry
monte wrote:we can't currently build against anything higher than 10.9
Thanks, back to 10.9 then...

Re: building LC for MacOSX: "BUILD FAILED"

Posted: Fri Dec 18, 2015 12:17 pm
by peter-b
Unfortunately the MacOSX 10.11 SDK has removed quite a lot of APIs that the 32-bit version of LiveCode relies on. I'm actually installing Xcode 6.4 at the moment so that I can get LiveCode to build on OS X 10.11!

I know that Fraser currently plans to update all those bits as part of the 64-bit Mac support work.

Re: building LC for MacOSX: "BUILD FAILED"

Posted: Wed Apr 19, 2017 11:18 am
by Thierry
Hi,

What are the official latest versions of Xcode and MacOS SDK to
be able to build liveCode on OS X 10.12?

Thanks,

Thierry