Hi,
Since the old desktop OpenGL has a very limited support in Emscripten, so I
am now switching to OpenGL ES2, but I encountered a problem:
C:\Program
Files\Emscripten\emscripten\1.30.0\system\include\GLES2\gl2.h(39,26): error
: typedef redefinition with different types ('khronos_ssize_t' (aka 'long')
vs 'ptrdiff_t' (aka 'int'))
1> typedef khronos_ssize_t GLsizeiptr;
1> ^
1> C:\Program
Files\Emscripten\emscripten\1.30.0\system\include\SDL\SDL_opengl.h(5112,19):
note: previous definition is here
1> typedef ptrdiff_t GLsizeiptr;
I checked my entire solution I did not inlcude SDL_opengl.h. how to solve
this problem? Thank you!
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.