CardboardSDK-iOS icon indicating copy to clipboard operation
CardboardSDK-iOS copied to clipboard

Typedef redefinition with different types...

Open MartinGebske opened this issue 8 years ago • 0 comments

Hey ho! I installed the latest xCode Verison (9.0) on my machine. After building my Project for the iPhone (X on Simulator, but the regular build failed as well) there are some semantic issues:

typedef NSUInteger MTLPixelFormat; // Typedef redefinition with different types ('NSUInteger' (aka 'unsigned long') vs 'enum MTLPixelFormat') enum // Declaration does not declare anything { MTLPixelFormatBGRA8Unorm, // edefinition of enumerator 'MTLPixelFormatBGRA8Unorm' MTLPixelFormatBGRA8Unorm_sRGB, // Redefinition of enumerator 'MTLPixelFormatBGRA8Unorm_sRGB' };

How could I avoid this? I don't support metal on my release build and even when I recompile with metal activated it throws these errors.

Any help would be very appreciated.

Thanks in advance, Martin

MartinGebske avatar Oct 04 '17 11:10 MartinGebske