Cannot include Carbon on Mojave
Cannot include Carbon on Mojave
- Subject: Cannot include Carbon on Mojave
- From: Vojtěch Meluzín <email@hidden>
- Date: Tue, 14 May 2019 17:29:07 +0200
Hey folks,
I have a brand new computer (as well as old one), newest XCode, Mojave
(unfortunately!). Compiling carbon.h ends up with this:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/
Carbon.framework/Headers/Carbon.h:34:10: fatal error:
'CarbonSound/CarbonSound.h' file not found
Here's the command line:
g++ -x c++ -g -fexceptions -std=c++17 -stdlib=libc++ -arch i386
-fexceptions -mfix-and-continue -gdwarf-2 -fvisibility=hidden
-fpascal-strings -fasm-blocks -c mlibrary/mlibrary.cpp -o !temp/mlibrary.o
Until now it worked just fine on every OSX version so far. The weird part
is that creating an empty project in XCode lets me include
<Carbon/Carbon.h>, so it seems Apple messed the toolset somehow. Any ideas?
Thanks for any help!
Vojtech
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden