Missing types in MDLTransform after pulling JUCE 7

Hi guys I’m missing some types in the gui module after pulling the latest version of JUCE, anybody has any idea what to do about this?

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTypes.h:96:5: Unknown type name 'vector_float3'

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTypes.h:97:5: Unknown type name 'vector_float3'

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:31:31: Unknown type name 'matrix_float4x4'
/Users/Andreas/Documents/Develop/TacitUI/JuceLibraryCode/include_juce_gui_basics.mm:9:10: in file included from /Users/Andreas/Documents/Develop/TacitUI/JuceLibraryCode/include_juce_gui_basics.mm:9:

/Users/Andreas/Documents/Develop/JUCE/modules/juce_gui_basics/juce_gui_basics.mm:26:10: in file included from /Users/Andreas/Documents/Develop/JUCE/modules/juce_gui_basics/juce_gui_basics.mm:26:

/Users/Andreas/Documents/Develop/JUCE/modules/juce_gui_basics/juce_gui_basics.cpp:54:10: in file included from /Users/Andreas/Documents/Develop/JUCE/modules/juce_gui_basics/juce_gui_basics.cpp:54:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MetalKit.h:10:9: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MetalKit.h:10:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKModel.h:11:9: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKModel.h:11:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/ModelIO.h:10:9: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/ModelIO.h:10:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLAsset.h:10:9: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLAsset.h:10:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLObject.h:10:9: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLObject.h:10:

Running on macOS Monetery 12.4.

Have you re-exported your project using the latest version of the Projucer, or re-configured using CMake?

Reexported the projects using the Projucer, I’m still using the good old projucer save way since I feel like that is the one you have supported best in the past. If you need any more information I’ll take a look from time to time today.

Can you share the Xcode build log for include_juce_gui_basics.mm?

Can you compile the DemoRunner?


Showing Recent Messages

Prepare build
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order


Analyze workspace

Build target TacitUI - Static Library of project TacitUI with configuration Debug

CompileC /Users/Andreas/Library/Developer/Xcode/DerivedData/Source-eyauihqpthretweowcvohgkxadca/Build/Intermediates.noindex/TacitUI.build/Debug/TacitUI\ -\ Static\ Library.build/Objects-normal/arm64/include_juce_gui_basics.o /Users/Andreas/Documents/Develop/TacitUI/JuceLibraryCode/include_juce_gui_basics.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'TacitUI - Static Library' from project 'TacitUI')
    cd /Users/Andreas/Documents/Develop/TacitUI/Builds/MacOSX
    export LANG\=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -target arm64-apple-macos10.11 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c++20 -stdlib\=libc++ -fobjc-weak -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wnon-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -Wno-c++11-extensions -D_DEBUG\=1 -DDEBUG\=1 -DJUCER_XCODE_MAC_F6D2F4CF\=1 -DJUCE_APP_VERSION\=1.0.0 -DJUCE_APP_VERSION_HEX\=0x10000 -DJucePlugin_Build_VST\=0 -DJucePlugin_Build_VST3\=0 -DJucePlugin_Build_AU\=0 -DJucePlugin_Build_AUv3\=0 -DJucePlugin_Build_AAX\=0 -DJucePlugin_Build_Standalone\=0 -DJucePlugin_Build_Unity\=0 -DJucePlugin_Build_LV2\=0 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility\=hidden -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -index-store-path /Users/Andreas/Library/Developer/Xcode/DerivedData/Source-eyauihqpthretweowcvohgkxadca/Index/DataStore -I/Users/Andreas/Documents/Develop/TacitUI/Builds/MacOSX/build/Debug/include -I/Users/Andreas/Documents/Develop/TacitUI/JuceLibraryCode -I/Users/Andreas/Documents/Develop/JUCE/modules -I/Users/Andreas/Documents/Develop/CXLib/Source -I/Users/Andreas/Documents/Develop/XSIMD/include -I/Users/Andreas/Documents/Develop/Boost/include -I/Users/Andreas/Library/Developer/Xcode/DerivedData/Source-eyauihqpthretweowcvohgkxadca/Build/Intermediates.noindex/TacitUI.build/Debug/TacitUI\ -\ Static\ Library.build/DerivedSources-normal/arm64 -I/Users/Andreas/Library/Developer/Xcode/DerivedData/Source-eyauihqpthretweowcvohgkxadca/Build/Intermediates.noindex/TacitUI.build/Debug/TacitUI\ -\ Static\ Library.build/DerivedSources/arm64 -I/Users/Andreas/Library/Developer/Xcode/DerivedData/Source-eyauihqpthretweowcvohgkxadca/Build/Intermediates.noindex/TacitUI.build/Debug/TacitUI\ -\ Static\ Library.build/DerivedSources -Wreorder -F/Users/Andreas/Documents/Develop/TacitUI/Builds/MacOSX/build/Debug -Wno-reorder -Wno-unused-function -Wno-unused-variable -Werror -MMD -MT dependencies -MF /Users/Andreas/Library/Developer/Xcode/DerivedData/Source-eyauihqpthretweowcvohgkxadca/Build/Intermediates.noindex/TacitUI.build/Debug/TacitUI\ -\ Static\ Library.build/Objects-normal/arm64/include_juce_gui_basics.d --serialize-diagnostics /Users/Andreas/Library/Developer/Xcode/DerivedData/Source-eyauihqpthretweowcvohgkxadca/Build/Intermediates.noindex/TacitUI.build/Debug/TacitUI\ -\ Static\ Library.build/Objects-normal/arm64/include_juce_gui_basics.dia -c /Users/Andreas/Documents/Develop/TacitUI/JuceLibraryCode/include_juce_gui_basics.mm -o /Users/Andreas/Library/Developer/Xcode/DerivedData/Source-eyauihqpthretweowcvohgkxadca/Build/Intermediates.noindex/TacitUI.build/Debug/TacitUI\ -\ Static\ Library.build/Objects-normal/arm64/include_juce_gui_basics.o -index-unit-output-path /TacitUI.build/Debug/TacitUI\ -\ Static\ Library.build/Objects-normal/arm64/include_juce_gui_basics.o

In file included from /Users/Andreas/Documents/Develop/TacitUI/JuceLibraryCode/include_juce_gui_basics.mm:9:
In file included from /Users/Andreas/Documents/Develop/JUCE/modules/juce_gui_basics/juce_gui_basics.mm:26:
In file included from /Users/Andreas/Documents/Develop/JUCE/modules/juce_gui_basics/juce_gui_basics.cpp:54:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MetalKit.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKModel.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/ModelIO.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLAsset.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLObject.h:9:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTypes.h:96:5: error: unknown type name 'vector_float3'
    vector_float3 maxBounds;
    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTypes.h:97:5: error: unknown type name 'vector_float3'
    vector_float3 minBounds;
    ^
In file included from /Users/Andreas/Documents/Develop/TacitUI/JuceLibraryCode/include_juce_gui_basics.mm:9:
In file included from /Users/Andreas/Documents/Develop/JUCE/modules/juce_gui_basics/juce_gui_basics.mm:26:
In file included from /Users/Andreas/Documents/Develop/JUCE/modules/juce_gui_basics/juce_gui_basics.cpp:54:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MetalKit.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKModel.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/ModelIO.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLAsset.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLObject.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:31:31: error: unknown type name 'matrix_float4x4'
@property (nonatomic, assign) matrix_float4x4 matrix;
                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:45:28: error: expected a type
- (void)setLocalTransform:(matrix_float4x4)transform forTime:(NSTimeInterval)time;
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:50:28: error: expected a type
- (void)setLocalTransform:(matrix_float4x4)transform;
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:57:4: error: expected a type
- (matrix_float4x4)localTransformAtTime:(NSTimeInterval)time;
   ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:62:4: error: expected a type
+ (matrix_float4x4)globalTransformWithObject:(MDLObject *)object atTime:(NSTimeInterval)time;
   ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:93:33: error: expected a type
- (instancetype)initWithMatrix:(matrix_float4x4)matrix;
                                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:94:33: error: expected a type
- (instancetype)initWithMatrix:(matrix_float4x4)matrix resetsTransform:(BOOL)resetsTransform;
                                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:101:4: error: expected a type
- (vector_float3)translationAtTime:(NSTimeInterval)time;
   ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:102:4: error: expected a type
- (vector_float3)rotationAtTime:(NSTimeInterval)time;
   ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:103:4: error: expected a type
- (vector_float3)shearAtTime:(NSTimeInterval)time;
   ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:104:4: error: expected a type
- (vector_float3)scaleAtTime:(NSTimeInterval)time;
   ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:106:20: error: expected a type
- (void)setMatrix:(matrix_float4x4)matrix forTime:(NSTimeInterval)time API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
                   ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:107:25: error: expected a type
- (void)setTranslation:(vector_float3)translation forTime:(NSTimeInterval)time;
                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:108:22: error: expected a type
- (void)setRotation:(vector_float3)rotation forTime:(NSTimeInterval)time;
                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:109:19: error: expected a type
- (void)setShear:(vector_float3)shear forTime:(NSTimeInterval)time;
                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:110:19: error: expected a type
- (void)setScale:(vector_float3)scale forTime:(NSTimeInterval)time;
                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h:115:4: error: expected a type
- (matrix_float4x4)rotationMatrixAtTime:(NSTimeInterval)time;
   ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

CompileC /Users/Andreas/Library/Developer/Xcode/DerivedData/Source-eyauihqpthretweowcvohgkxadca/Build/Intermediates.noindex/TacitUI.build/Debug/TacitUI\ -\ Static\ Library.build/Objects-normal/arm64/Window.o /Users/Andreas/Documents/Develop/TacitUI/Source/View/Window.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'TacitUI - Static Library' from project 'TacitUI')
    cd /Users/Andreas/Documents/Develop/TacitUI/Builds/MacOSX
    export LANG\=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -target arm64-apple-macos10.11 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c++20 -stdlib\=libc++ -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wnon-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -D_DEBUG\=1 -DDEBUG\=1 -DJUCER_XCODE_MAC_F6D2F4CF\=1 -DJUCE_APP_VERSION\=1.0.0 -DJUCE_APP_VERSION_HEX\=0x10000 -DJucePlugin_Build_VST\=0 -DJucePlugin_Build_VST3\=0 -DJucePlugin_Build_AU\=0 -DJucePlugin_Build_AUv3\=0 -DJucePlugin_Build_AAX\=0 -DJucePlugin_Build_Standalone\=0 -DJucePlugin_Build_Unity\=0 -DJucePlugin_Build_LV2\=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility\=hidden -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -index-store-path /Users/Andreas/Library/Developer/Xcode/DerivedData/Source-eyauihqpthretweowcvohgkxadca/Index/DataStore -I/Users/Andreas/Documents/Develop/TacitUI/Builds/MacOSX/build/Debug/include -I/Users/Andreas/Documents/Develop/TacitUI/JuceLibraryCode -I/Users/Andreas/Documents/Develop/JUCE/modules -I/Users/Andreas/Documents/Develop/CXLib/Source -I/Users/Andreas/Documents/Develop/XSIMD/include -I/Users/Andreas/Documents/Develop/Boost/include -I/Users/Andreas/Library/Developer/Xcode/DerivedData/Source-eyauihqpthretweowcvohgkxadca/Build/Intermediates.noindex/TacitUI.build/Debug/TacitUI\ -\ Static\ Library.build/DerivedSources-normal/arm64 -I/Users/Andreas/Library/Developer/Xcode/DerivedData/Source-eyauihqpthretweowcvohgkxadca/Build/Intermediates.noindex/TacitUI.build/Debug/TacitUI\ -\ Static\ Library.build/DerivedSources/arm64 -I/Users/Andreas/Library/Developer/Xcode/DerivedData/Source-eyauihqpthretweowcvohgkxadca/Build/Intermediates.noindex/TacitUI.build/Debug/TacitUI\ -\ Static\ Library.build/DerivedSources -Wreorder -F/Users/Andreas/Documents/Develop/TacitUI/Builds/MacOSX/build/Debug -Wno-reorder -Wno-unused-function -Wno-unused-variable -Werror -MMD -MT dependencies -MF /Users/Andreas/Library/Developer/Xcode/DerivedData/Source-eyauihqpthretweowcvohgkxadca/Build/Intermediates.noindex/TacitUI.build/Debug/TacitUI\ -\ Static\ Library.build/Objects-normal/arm64/Window.d --serialize-diagnostics /Users/Andreas/Library/Developer/Xcode/DerivedData/Source-eyauihqpthretweowcvohgkxadca/Build/Intermediates.noindex/TacitUI.build/Debug/TacitUI\ -\ Static\ Library.build/Objects-normal/arm64/Window.dia -c /Users/Andreas/Documents/Develop/TacitUI/Source/View/Window.cpp -o /Users/Andreas/Library/Developer/Xcode/DerivedData/Source-eyauihqpthretweowcvohgkxadca/Build/Intermediates.noindex/TacitUI.build/Debug/TacitUI\ -\ Static\ Library.build/Objects-normal/arm64/Window.o -index-unit-output-path /TacitUI.build/Debug/TacitUI\ -\ Static\ Library.build/Objects-normal/arm64/Window.o



Build failed    08/07/2022, 10:11    2.9 seconds

The demo runner is building so I’m not sure what is different there.

These are the modules I’m using here.

There’s nothing obvious standing out.

What version of Xcode are you using? x86_64 or Apple silicon?

If you create a new GUI project using the Projucer can you compile that?

Otherwise, would you be able to share the most stripped down project that still displays the problem?

It’s an Apple Sillicon build on XCode 13.4.1. Edit: I’m getting the same on a rosetta build though. Will try to make a minimal reproducable version of the problem when I have some time.

I figured out what the problem is and I don’t think it’s JUCE related, anyway if anybody has any hints I would love to hear them anyway :). The problem is that I am using the XSIMD library which is including the following types from MacOSX.sdk/usr/include/simd/vector_types.h which are conflicting with MDLTypes included in JUCE now.

/*! @abstract A vector of two 32-bit floating-point numbers.
 *  @description This type is deprecated; you should use simd_float2 or
 *  simd::float2 instead.                                                     */
typedef simd_float2 vector_float2;

/*! @abstract A vector of three 32-bit floating-point numbers.
 *  @description This type is deprecated; you should use simd_float3 or
 *  simd::float3 instead.                                                     */
typedef simd_float3 vector_float3;

/*! @abstract A vector of four 32-bit floating-point numbers.
 *  @description This type is deprecated; you should use simd_float4 or
 *  simd::float4 instead.                                                     */
typedef simd_float4 vector_float4;

MDLTypes

**typedef** **struct** MDL_CLASS_EXPORT {
    vector_float3 maxBounds;
    vector_float3 minBounds;
} MDLAxisAlignedBoundingBox;

Ok actually it was still a different issue. In newer included MacOSX SDKs there is a header SIMD.h that should not be included in order to be able to build MDL because of the conflicting vector_float types. I had a header called simd.h that had to be renamed in order to avoid including the Mac SDK simd.h which defines types that conflict with MDLTypes.

1 Like