vtkfreetype will not compile on OS X when SDK is set to 10.4u and compiling on OS X 10.5
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
A compile error occurs when the OS X deployment target is set to 10.4 and the SDK is set to 10.4u while running on OS X 10.5. The issue is in the ftmac.c file where the following code is found:
/* The ResourceIndex type was only added in the 10.5 SDK */ #ifndef MAC_OS_X_VERSION_10_5 typedef short ResourceIndex; #endif
This does not resolve correctly under the conditions above. Using the following will fix the problem:
/* The ResourceIndex type was only added in the 10.5 SDK */ #if (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5) typedef short ResourceIndex; #endif
This also affects ParaView CVS.