This shows you the differences between two versions of the page.
mgl:knownissues [2018/12/23 22:25] |
mgl:knownissues [2020/07/19 23:03] |
||
---|---|---|---|
Line 57: | Line 57: | ||
SDKROOT='/Developer/SDKs/MacOSX10.5.sdk' | SDKROOT='/Developer/SDKs/MacOSX10.5.sdk' | ||
MACOSX_DEPLOYMENT_TARGET='10.5' | MACOSX_DEPLOYMENT_TARGET='10.5' | ||
+ | </code> | ||
+ | |||
+ | In later SDKs, (e.g. SDK=10.13), you can also compile MGL using clang rather than the default c compiler, by: | ||
+ | - setting the optf in mglMake (e.g. line 209, as of 7/20/20):<code> optf = sprintf('-f %s',fullfile(fileparts(which('mglOpen')),'clang_maci64.xml')); | ||
+ | </code> | ||
+ | - and changing the clang_maci64.xml file to find the 10.13 sdk (e.g. line 120 and 136): <code> | ||
+ | <dirExists name="$$/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk" /> | ||
+ | <cmdReturns name="find $$ -name MacOSX10.13.sdk" /> | ||
</code> | </code> | ||