0

I'm trying to update an older Mac app which is being built with SDK 4. When I change it to SDK 5 in the project settings, compilation fails doing just the Carbon/Carbon.h file. It comes back with LP64 is not defined, MATH64_USE_INLINE is not defined and so on.

There must be a project setting that I am missing since the compiler never even gets to any code in the project, but I can't find it.

Any suggestions appreciated.

john elemans
  • 2,578
  • 2
  • 15
  • 26

1 Answers1

0

Apple did not create a 64-bit version of the Carbon API. Make sure you only compile for 32bit in project settings.

Follow this guide: 64-Bit Transition Guide

And: 64-Bit Guide for Carbon Developers

Léo Natan
  • 56,823
  • 9
  • 150
  • 195