Open ghost opened 1 year ago
you need to tell XCode to include the missing headers (which can be found in MGL/include
), like this:
(click the little plus button to add headers to include)
I've stumbled against the same problem. It happened on running build_external script, not building the XCode project. I assume that OP meant the same. I'm also assuming that adding headers in 'build phases' won't resolve this. So I decided just to hardcode absolute paths to MGLContext.h and MGLRenderer.h in cocoa_platform.h and mgl_context.m. It helped, but the way is very rude. However, building MGL shared library (step 2 from BUILD.md) fails with a lot of errors :)
I'm trying to build MGL, following instructions from build.md, but through the process I'm getting a missing header error. Concretely: