We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 696

Summary: Nintendo DS build is broken
Product: SDL Reporter: robert.berger <sdl>
Component: videoAssignee: Darren <lightning>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: icculus, lightning
Version: HG 2.0   
Hardware: Other   
OS: Other   

Description robert.berger 2009-02-09 12:33:13 UTC
With the latest devkitPro for Windows (http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=160396)

and 

SDL-1.3.0-4423

I execute:

make -f Makefile.ds

and get after some stuff is being compiled:

src/video/nds/SDL_ndsrender.c: In function 'NDS_RenderPresent':
src/video/nds/SDL_ndsrender.c:571: warning: implicit declaration of function 'ND
S_OAM_Update'
src/video/nds/SDL_ndsrender.c:571: error: 'NDS_RenderData' has no member named '
oam_copy'
src/video/nds/SDL_ndsrender.c:571: error: 'NDS_RenderData' has no member named '
sub'


....

looks like OAM is not defined anywhere.

Please advise.
Comment 1 robert.berger 2009-02-10 01:48:55 UTC
I also posted this problem to the devkitPro forum (http://forums.devkitpro.org/viewtopic.php?f=6&t=319)
Comment 2 Darren 2009-02-17 12:25:39 UTC
The latest version of libnds underwent some major changes to its graphics API, and SDL is currently being brought up to code on those changes.  It's a known problem.  The code should be compiling again soon.
Comment 3 robert.berger 2009-02-18 06:18:56 UTC
Please keep me updated. Is there anything I can do to help?
Comment 4 Sam Lantinga 2009-09-26 02:37:39 UTC
Hey Darren, any update on this?
Comment 5 Ryan C. Gordon 2009-12-14 22:44:46 UTC
Bugzilla janitorial effort: tossing bug to Sam. Darren, if you make any progress, please take the bug back.

--ryan.
Comment 6 Sam Lantinga 2011-02-16 11:39:03 UTC
This should be taken care of in the latest snapshot:
http://www.libsdl.org/tmp/SDL-1.3.zip

Thanks!