[ オリジナルレポート ]

BugID: #07746

カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
コンパイル解決済み修正済み2020-09-09 01:282020-11-21 18:20
 
テスターDominus担当者balrogソース
バージョンN/A発生バージョン修正バージョン0.227GIT
フラグ
セット macOS 11
セット詳細
 
概 要Apple DTKでのコンパイルに失敗する。
詳 細I have an Apple DTK (the Apple Silicone device for developers) and have been asked to give it a try to compile and run mame. I'm failing with 
clang++ -MMD -MP -MP -DNDEBUG -DCRLF=2 -DLSB_FIRST -DFLAC__NO_DLL -DPUGIXML_HEADER_ONLY -DMAME_NOASM -DLUA_COMPAT_ALL -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -I"../../../../../src/osd" -I"../../../../../src/emu" -I"../../../../../src/devices" -I"../../../../../src/mame" -I"../../../../../src/lib" -I"../../../../../src/lib/util" -I"../../../../../3rdparty" -I"../../../../generated/mame/layout" -I"../../../../../3rdparty/libflac/include" -I"../../../../../3rdparty/glm" -I"../../../../../3rdparty/libjpeg" -I"../../../../../3rdparty/rapidjson/include" -I"../../../../../3rdparty/zlib" -m32 -arch i386 -pipe -Werror -O3 -fno-strict-aliasing -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-error=deprecated-declarations -Wno-cast-align -Wno-tautological-compare -Wno-unused-value -Wno-constant-logical-operand -fdiagnostics-show-note-include-stack -Wno-unknown-warning-option -Wno-extern-c-compat -Wno-unknown-attributes -Wno-ignored-qualifiers -Wno-pragma-pack -m32 -std=c++14 -Woverloaded-virtual -include ../../../../osx_clang/obj/x32/Release/emu.h -o "../../../../osx_clang/obj/x32/Release/src/mame/drivers/atari400.o" -c "../../../../../src/mame/drivers/atari400.cpp"
In file included from ../../../../../3rdparty/bgfx/src/glcontext_nsgl.mm:11:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:27:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionView.h:9:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:248:39: error:
unknown type name 'NSExtensionContext'; did you mean 'NSAnimationContext'?
@property (nullable, readonly,retain) NSExtensionContext *extensionConte...
^
In file included from ../../../../../3rdparty/bgfx/src/glcontext_nsgl.mm:11:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:17:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAnimationContext.h:19:12: note:
'NSAnimationContext' declared here
@interface NSAnimationContext : NSObject
^
Compiling src/mame/drivers/bmcpokr.cpp...
clang++ -MMD -MP -MP -DNDEBUG -DCRLF=2 -DLSB_FIRST -DFLAC__NO_DLL -DPUGIXML_HEADER_ONLY -DMAME_NOASM -DLUA_COMPAT_ALL -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -I"../../../../../src/osd" -I"../../../../../src/emu" -I"../../../../../src/devices" -I"../../../../../src/mame" -I"../../../../../src/lib" -I"../../../../../src/lib/util" -I"../../../../../3rdparty" -I"../../../../generated/mame/layout" -I"../../../../../3rdparty/libflac/include" -I"../../../../../3rdparty/glm" -I"../../../../../3rdparty/libjpeg" -I"../../../../../3rdparty/rapidjson/include" -m32 -arch i386 -pipe -Werror -O3 -fno-strict-aliasing -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-error=deprecated-declarations -Wno-cast-align -Wno-tautological-compare -Wno-unused-value -Wno-constant-logical-operand -fdiagnostics-show-note-include-stack -Wno-unknown-warning-option -Wno-extern-c-compat -Wno-unknown-attributes -Wno-ignored-qualifiers -Wno-pragma-pack -m32 -std=c++14 -Woverloaded-virtual -include ../../../../osx_clang/obj/x32/Release/emu.h -o "../../../../osx_clang/obj/x32/Release/src/mame/drivers/bmcpokr.o" -c "../../../../../src/mame/drivers/bmcpokr.cpp"
In file included from ../../../../../3rdparty/bgfx/src/glcontext_nsgl.mm:11:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:99:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSharingServicePickerTouchBarItem.h:9:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSharingService.h:181:119: error:
expected a type
...*)cloudKitSharingService shareProvider:(NSItemProvider *)provider;
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSharingService.h:196:12: error:
cannot find interface declaration for 'NSItemProvider'
@interface NSItemProvider (NSCloudKitSharing)
^
In file included from ../../../../../3rdparty/bgfx/src/glcontext_nsgl.mm:11:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:252:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSItemProvider.h:16:12: error:
cannot find interface declaration for 'NSItemProvider'
@interface NSItemProvider (NSItemSourceInfo)
^
4 errors generated.
make[2]: *** [../../../../osx_clang/obj/x32/Release/3rdparty/bgfx/src/glcontext_nsgl.o] Error 1
make[1]: *** [bgfx] Error 2
再現手順I started compilation with make -j5 SDL_INSTALL_ROOT=/opt/arm VERBOSE=1
the whole compile log is at https://www.dropbox.com/s/ymrvhh1hhxmgymd/mamemake.txt?dl=0

I used git bb65a67489d (that was the latest git at the time of testing)
追加情報 
 
添付ファイル