Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
55 user(s) are online (49 user(s) are browsing Forums)

Members: 0
Guests: 55

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: SDL2

Subject: Re: SDL2
by Raziel on 2019/8/26 17:45:43

@Capehill

I tried that, but i got a lot of conflicting typedefs
C++      backends/graphics/openglsdl/openglsdl-graphics.o
In file included from 
/SDK/local/newlib/include/SDL2/SDL_opengl.h:43,
                 
from backends/graphics/openglsdl/openglsdl-graphics.cpp:28:
/
SDK/local/common/include/GL/gl.h:44:13errorconflicting declaration 'typedef int GLint'
 
typedef int GLint;
             ^~~~~
In file included from ./backends/graphics/opengl/opengl-sys.h:73,
                 
from ./backends/graphics/opengl/opengl-graphics.h:26,
                 
from ./backends/graphics/openglsdl/openglsdl-graphics.h:26,
                 
from backends/graphics/openglsdl/openglsdl-graphics.cpp:23:
./
backends/graphics/opengl/opengl-defs.h:69:16noteprevious declaration as 'typedef int32 GLint'
 
typedef int32  GLint;    /* 4-byte signed */
                
^~~~~
In file included from /SDK/local/newlib/include/SDL2/SDL_opengl.h:43,
                 
from backends/graphics/openglsdl/openglsdl-graphics.cpp:28:
/
SDK/local/common/include/GL/gl.h:45:13errorconflicting declaration 'typedef int GLsizei'
 
typedef int GLsizei;
             ^~~~~~~
In file included from ./backends/graphics/opengl/opengl-sys.h:73,
                 
from ./backends/graphics/opengl/opengl-graphics.h:26,
                 
from ./backends/graphics/openglsdl/openglsdl-graphics.h:26,
                 
from backends/graphics/openglsdl/openglsdl-graphics.cpp:23:
./
backends/graphics/opengl/opengl-defs.h:73:16noteprevious declaration as 'typedef int32 GLsizei'
 
typedef int32  GLsizei;  /* 4-byte signed */
                
^~~~~~~
In file included from /SDK/local/newlib/include/SDL2/SDL_opengl.h:43,
                 
from backends/graphics/openglsdl/openglsdl-graphics.cpp:28:
/
SDK/local/common/include/GL/gl.h:48:22errorconflicting declaration 'typedef unsigned int GLuint'
 
typedef unsigned int GLuint;
                      ^~~~~~
In file included from ./backends/graphics/opengl/opengl-sys.h:73,
                 
from ./backends/graphics/opengl/opengl-graphics.h:26,
                 
from ./backends/graphics/openglsdl/openglsdl-graphics.h:26,
                 
from backends/graphics/openglsdl/openglsdl-graphics.cpp:23:
./
backends/graphics/opengl/opengl-defs.h:72:16noteprevious declaration as 'typedef uint32 GLuint'
 
typedef uint32 GLuint;   /* 4-byte unsigned */
                
^~~~~~
gmake: *** [backends/graphics/openglsdl/openglsdl-graphics.oError 1
14.Development
:Coding/Ports/VM/scummvm-test>


Is checkGLError working the same way GLError does?
Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project