Sdl-iphone, missing structure members

hello,
latest svn doesn’t compile the library properly; the errors are present in
SDL_renderer_gles.c
SDL/Xcode-iPhoneOS/SDL/…/…/src/video/SDL_renderer_gles.c:247: error:
‘SDL_Renderer’ has no member named 'RenderPoints’
SDL/Xcode-iPhoneOS/SDL/…/…/src/video/SDL_renderer_gles.c:248: error:
‘SDL_Renderer’ has no member named 'RenderLines’
SDL/Xcode-iPhoneOS/SDL/…/…/src/video/SDL_renderer_gles.c:249: error:
‘SDL_Renderer’ has no member named ‘RenderRects’

if you try to manually add the missing members to the renderer structure,
then it compiles fine, but can’t link properly to the application due to
missing symbols
can you look into the matter? thanks
Vittorio–

Stephen Leacockhttp://www.brainyquote.com/quotes/authors/s/stephen_leacock.html

  • “I detest life-insurance agents: they always argue that I shall some
    day
    die, which is not so.”

This is probably similar to the issue I had with VS 2005. You need to add
the new files to the project. Add these:

src\video\SDL_blendfillrect.c

src\video\SDL_drawrect.cFrom: sdl-bounces@lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org] On
Behalf Of Vittorio G.
Sent: Wednesday, December 30, 2009 10:36 AM
To: sdl at libsdl.org
Subject: [SDL] sdl-iphone, missing structure members

hello,
latest svn doesn’t compile the library properly; the errors are present in
SDL_renderer_gles.c
SDL/Xcode-iPhoneOS/SDL/…/…/src/video/SDL_renderer_gles.c:247: error:
‘SDL_Renderer’ has no member named 'RenderPoints’
SDL/Xcode-iPhoneOS/SDL/…/…/src/video/SDL_renderer_gles.c:248: error:
‘SDL_Renderer’ has no member named 'RenderLines’
SDL/Xcode-iPhoneOS/SDL/…/…/src/video/SDL_renderer_gles.c:249: error:
‘SDL_Renderer’ has no member named ‘RenderRects’

if you try to manually add the missing members to the renderer structure,
then it compiles fine, but can’t link properly to the application due to
missing symbols
can you look into the matter? thanks
Vittorio

Stephen Leacock
http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html - “I
detest life-insurance agents: they always argue that I shall some day die,
which is not so.”

thanks, that worked perfectly
if anyone has commit access, here’s the patch that fixes this problem
(attached)
bye
VittorioOn Wed, Dec 30, 2009 at 7:24 PM, Ken Rogoway wrote:

This is probably similar to the issue I had with VS 2005. You need to
add the new files to the project. Add these:

src\video\SDL_blendfillrect.c

src\video\SDL_drawrect.c

From: sdl-bounces at lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org]
*On Behalf Of *Vittorio G.
Sent: Wednesday, December 30, 2009 10:36 AM
To: sdl at libsdl.org
Subject: [SDL] sdl-iphone, missing structure members

hello,
latest svn doesn’t compile the library properly; the errors are present in
SDL_renderer_gles.c
SDL/Xcode-iPhoneOS/SDL/…/…/src/video/SDL_renderer_gles.c:247: error:
‘SDL_Renderer’ has no member named 'RenderPoints’
SDL/Xcode-iPhoneOS/SDL/…/…/src/video/SDL_renderer_gles.c:248: error:
‘SDL_Renderer’ has no member named 'RenderLines’
SDL/Xcode-iPhoneOS/SDL/…/…/src/video/SDL_renderer_gles.c:249: error:
‘SDL_Renderer’ has no member named ‘RenderRects’

if you try to manually add the missing members to the renderer structure,
then it compiles fine, but can’t link properly to the application due to
missing symbols
can you look into the matter? thanks
Vittorio

Stephen Leacockhttp://www.brainyquote.com/quotes/authors/s/stephen_leacock.html - “I detest life-insurance agents: they always argue that I shall some day
die, which is not so.”


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Jonathan Swifthttp://www.brainyquote.com/quotes/authors/j/jonathan_swift.html