Skip to main content
Known Participant
February 7, 2015
Question

Error compiling Illustrator CS6 plugin on Mac OS 10.10 (Yosemite)

  • February 7, 2015
  • 3 replies
  • 1468 views

Hi @9264381,

if i try to compile a Illustrator (CS6) plugin on Mac OS 10.10 (Yosemite) and use the MacOS 10.5 SDK, I get the following error:

/MySDKPath/Illustrator/cs6/illustratorapi/pica_sp/SPFiles.h:84:9: error: mac68k

      alignment pragma is not supported on this target

#pragma options align=mac68k

Did anybody know how to solve this problem?

Thanks in advance

Best Regards

This topic has been closed for replies.

3 replies

Rick E Johnson
Inspiring
July 22, 2015

Hi NoRulez,

Are you still stuck with the 68K alignment error? I got that tool. All was well until my hard drive failed and I restored a replacement from a TimeMachine backup. Now I have a clean Yosemite install (10.10.4) rather than an upgraded one, and a few things broke. One was that Xcode 5.1.1 had to be reinstalled, and after running the XcodeLegacy script and adding "${SDKROOT}" in front of the search path "/Developer/Headers/FlatCarbon/" I got the same error you did. I tried running the XcodeLegacy script with the latest Xcode, 6.4, expecting even worse failure, but after adding the "${SDKROOT}" to the search path it compiled with only a warning that Mac68K alignment was depreciated. What version of Xcode are you using?

Rick

Rick E Johnson
Inspiring
July 22, 2015

I guess I have to take that back. The plugin compiles but it crashes AI CS6 on startup. Dang.

Inspiring
May 4, 2015

Please use XcodeLegacy script .

Following is the link devernay/xcodelegacy · GitHub

Rick E Johnson
Inspiring
May 5, 2015

Thanks for the post, losetemper. I don't know if your message was for NoRulez or me, but it gave me a spark of hope. I did install XcodeLegacy.sh, but after reading your post I went back and found there was an updated script. I uninstalled and then reinstalled it in Xcode 5.1.1 and still get the error that Carbon.h is missing.

FWIW, I first ran the terminal command "chmod +x XcodeLegacy.sh" and then ran the script with "./XcodeLegacy.sh buildpackages" etc.

Are you able to compile CS6 plugins running Yosemite? If so, what version of Xcode are you using? Is XcodeLegacy script the only thing you tweaked to get it to work?

TIA

Inspiring
May 7, 2015

Yes, Currently i am using Yosemite, and my Xcode version is latest one(6.1.1)

Rick E Johnson
Inspiring
April 21, 2015

I'm surprised there's a 68K setting at all, given that CS6 had been on Intel architecture for so long. Have you had any luck since then?

I tried compiling the sample AI6 plugins with OS X 10.8 (I think) and it worked fine, although I wasn't able to make any headway because the loss of ADM made for a very, very steep learning curve. Anyway, fast-forward a couple of years and I have time again to give this another shot, hoping to use Xcode to build a Mac interface, but I'm having a different puzzling error. I'm on a late 2012 iMac now with Yosemite 10.10.3. I downloaded Xcode 5.1.1 and am using that (after my system automatically updated to Xcode 6) and am getting an error:

Carbon.h file not found

Is it just not possible to compile for CS6 under Yosemite?

I'd really, really appreciate any suggestions.

Rick

Rick E Johnson
Inspiring
April 26, 2015

Carbon.h file not found in IllustratorSDK.h error persists under OS X 10.8.5 with Xcode 4.6.3, even with XcodeLegacy.sh script installed. Using base SDKs 10.5, 10.6, 10.7, and 10.8 make do difference, as does letting Xcode update the project to its recommended settings and trying 32 rather than 64 bit. Any thoughts on where one might find the missing Carbon.h file? TIA