Has anyone successfully built the engine and a game for iOS recently?
I've read the two old threads, and pulled down the source from Janet Gilberg/Wadjet, but that was built for a really old version of AGS, and I created my game with 3.5. So, it seems if I want to release for iOS, I have to get 3.5 to build -- or recreate my game in 3.4.0 (a version of AGS that's going on 3 years old)?
I've updated the Xcode project in the iOS folder with the current engine/common files, and have corrected a couple of build issues, and got the libraries to build, but ultimately it fails to compile due to errors in the GLAD code. Unfortunately, I'm not familiar enough with OpenGL and C++ to fix it.
The errors I'm getting are around GLAD_GL_VERSION_2_0:
Expected unqualified-id glad.h in file ali3dogl.cpp
Expanded from macro 'GLAD_GL_VERSION_2_0'
Expected ')' in file ali3dogl.cpp
Expanded from macro 'GLAD_GL_VERSION_2_0'
To match this '('
I think it's related to ogl_headers.h, where it defines GLAD_GL_VERSION_2_0
#ifndef GLAPI
#define GLAD_GL_VERSION_2_0 (0)
#endif
If I comment those lines, then I get a ton of undefined GL errors.
Any pointers in the right direction would be appreciated!
Rob