Hi, I’m trying to build the cocos2d_libs project for iOS with Cocos v4
Since the various official guides produce errors, I am trying another method.
That is, I took the Cocos project from 3.17 and updated it with all the files of the new cocos.
I have an error with this file: UtilsGL.cpp, precisely:
#ifdef CC_USE_GLES
format = GL_DEPTH_STENCIL_OES;
internalFormat = GL_DEPTH_STENCIL_OES;
type = GL_UNSIGNED_INT_24_8_OES;
#else
format = GL_DEPTH_STENCIL;
internalFormat = GL_DEPTH24_STENCIL8;
type = GL_UNSIGNED_INT_24_8;
#endif
Being Metal it goes into the else statement and the compiler does not find the three define.
I wanted to ask if you can help me understand where these variables are defined?
Maybe I am missing some parameters in the project or some framework?
Thank you