haxenme/nme

mac build issue ('CarbonSound/CarbonSound.h' file not found)

Closed this issue · 2 comments

  1. cd project
  2. neko build.n mac

Expected: Should build
Result: Fails to build with error

Compiling group: native-toolkit-sdl
g++ -I/Users/thomasuster/haxe/haxe_libraries/nme-toolkit/6.2.0/haxelib/sdl/include/ -I/Users/thomasuster/haxe/haxe_libraries/nme-toolkit/6.2.0/haxelib/sdl/include/configs/mac/ -DHAVE_LIBC -DUSING_GENERATED_CONFIG_H -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -D_THREAD_SAFE -mmmx -msse -msse2 -c -fvisibility=hidden -stdlib=libc++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -O2 -I/Users/thomasuster/haxe/haxe_libraries/hxcpp/4.0.0/github/56653aa4fb23b346c36e7ec1c7421d20272a1137/include -DHX_MACOS -m32 -Wno-parentheses -Wno-unused-value -Wno-format-extra-args -Wno-overflow -DSTATIC_LINK(static) -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=0(haxe) ... tags=[]
 - /Users/thomasuster/haxe/haxe_libraries/nme-toolkit/6.2.0/haxelib/sdl/src/video/cocoa/SDL_cocoakeyboard.m 
 - /Users/thomasuster/haxe/haxe_libraries/nme-toolkit/6.2.0/haxelib/sdl/src/video/cocoa/SDL_cocoamodes.m 
Error: In file included from /Users/thomasuster/haxe/haxe_libraries/nme-toolkit/6.2.0/haxelib/sdl/src/video/cocoa/SDL_cocoakeyboard.m:31:
/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
#include <CarbonSound/CarbonSound.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Error: In file included from /Users/thomasuster/haxe/haxe_libraries/nme-toolkit/6.2.0/haxelib/sdl/src/video/cocoa/SDL_cocoamodes.m:36:
/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
#include <CarbonSound/CarbonSound.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
#### Error building m32

This is a duplicated of #269

Yeah, I think they deprecated it. Could see if sdl can be configured without those files, or may need an sdl update