Showing Recent Messages
CompileC /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/build_iOS/build/zlib.build/Debug-iphoneos/Objects-normal/arm64/zutil.o /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'zlib' from project 'OGREDEPS')
cd /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps
Using response file: /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/build_iOS/build/zlib.build/Debug-iphoneos/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/sebastian/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/sebastian/Library/Developer/Xcode/DerivedData/OGREDEPS-bhoebarwptvgfwhepxikwnbfoyvj/Index.noindex/DataStore @/Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/build_iOS/build/zlib.build/Debug-iphoneos/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/build_iOS/build/zlib.build/Debug-iphoneos/Objects-normal/arm64/zutil.d --serialize-diagnostics /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/build_iOS/build/zlib.build/Debug-iphoneos/Objects-normal/arm64/zutil.dia -c /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c -o /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/build_iOS/build/zlib.build/Debug-iphoneos/Objects-normal/arm64/zutil.o -index-unit-output-path /zlib.build/Debug-iphoneos/Objects-normal/arm64/zutil.o
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c:8:
/Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.h:170:11: warning: 'OS_CODE' macro redefined [-Wmacro-redefined]
170 | # define OS_CODE 19
| ^
/Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.h:141:11: note: previous definition is here
141 | # define OS_CODE 7
| ^
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c:10:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/gzguts.h:21:
In file included from /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/stdio.h:61:
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/_stdio.h:318:7: error: expected identifier or '('
318 | FILE *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
| ^
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c:8:
/Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | # define fdopen(fd,mode) NULL /* No fdopen() */
| ^
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c:8:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.h:22:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zlib.h:34:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zconf.h:252:
In file included from /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stddef.h:113:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
| ^
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c:10:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/gzguts.h:21:
In file included from /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/stdio.h:61:
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/_stdio.h:318:7: error: expected ')'
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c:8:
/Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | # define fdopen(fd,mode) NULL /* No fdopen() */
| ^
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c:8:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.h:22:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zlib.h:34:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zconf.h:252:
In file included from /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stddef.h:113:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
| ^
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c:10:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/gzguts.h:21:
In file included from /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/stdio.h:61:
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/_stdio.h:318:7: note: to match this '('
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c:8:
/Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | # define fdopen(fd,mode) NULL /* No fdopen() */
| ^
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c:8:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.h:22:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zlib.h:34:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zconf.h:252:
In file included from /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stddef.h:113:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:15: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
| ^
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c:10:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/gzguts.h:21:
In file included from /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/stdio.h:61:
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/_stdio.h:318:7: error: expected ')'
318 | FILE *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
| ^
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c:8:
/Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | # define fdopen(fd,mode) NULL /* No fdopen() */
| ^
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c:8:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.h:22:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zlib.h:34:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zconf.h:252:
In file included from /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stddef.h:113:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:22: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
| ^
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c:10:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/gzguts.h:21:
In file included from /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/stdio.h:61:
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/_stdio.h:318:7: note: to match this '('
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c:8:
/Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | # define fdopen(fd,mode) NULL /* No fdopen() */
| ^
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.c:8:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.h:22:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zlib.h:34:
In file included from /Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zconf.h:252:
In file included from /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/stddef.h:113:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
| ^
1 warning and 3 errors generated.
/Users/sebastian/Downloads/build_ogre_scripts-v3-0/Ogre/ogre-next-deps/src/zlib/zutil.h:170:11: 'OS_CODE' macro redefined
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/_stdio.h:318:7: Expected identifier or '('
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/_stdio.h:318:7: Expected ')'
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/_stdio.h:318:7: Expected ')'
Looks like we are not the only ones hit by the new Clang: Bullet zlib issue
I went full code ninja and hacked a stupid solution just to get over the ogredeps no longer compiling. Patch attached here as I don't think this should be merged anyway.
You do not have the required permissions to view the files attached to this post.
Forgot to mention, even though ogredeps now compiles under xcode 16.3 the initial problem still persists as CoreVideo/CVOpenGLESTexture.h not found. When compiling Ogre2-1 even though UIKit.h is also included in iOS/OgreMetalView.h, it is able to find the CoreVideo/CVOpenGLESTexture.h. At first glance the {include_dirs} look similar but I will dig deeper.
Apple has made some big changes in 16.3 it seems changing the clang compiler: Xcode 16.3 release notes.
It looks like for Ogre3-0 Metal rendersystem xcode chooses to use MacOS sdk instead of the iOS 18 sdk. So CoreVideo/CVOpenGLESTexture.h does not exist as the equivalent for macOS sdk is CoreVideo/CVOpenGLTexture.h. BaseSDK selected in xcode is iOS so I don't understand why it goes after the mac os sdk.
GL3Plus rendersystem is disabled but that doesn't mean that the OPENGL_GLU_INCLUDE_DIR OPENGL_INCLUDE_DIR OPENGL_gl_LIBRARY and OPENGL_glu_LIBRARY don't get populated. Once these are populated automatically in the check in CoreVideo.h it does: