Xcode 4.3 can't find Carbon libs on 10.7

前提是你 提交于 2019-12-25 07:29:23

问题


I am trying to compile a legacy Carbon app on Xcode 4.6, that used to compile nicely on 10.6, but doesn't on 10.8 and can't see to be able to find the Carbon or QT libs.

How can I connect them back?

Thanks,

Bill


回答1:


It turned out that I needed to copy the 10.6 SDK to the the XCode app:

I found an old version and dragged a copy of:

/Developer/SDKs/MacOSX10.6.sdk

to:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs

It now sits along side the MacOSX10.7.sdk and MacOSX10.8.sdk

After restarting XCode, remember to go into build settings and set the Base SDK to OS X 10.6

See: https://stackoverflow.com/a/11705378/123777



来源:https://stackoverflow.com/questions/17615420/xcode-4-3-cant-find-carbon-libs-on-10-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!