Compiling SDL-Port from CVS
Compiling SDL-Port from CVS
Can someone post instruction on compiling SDL-Port for the Wii? I've checked it out from DevKitPro's CVS, but have gotten some errors and I'm sure I'm missing something...
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Compiling SDL-Port from CVS
Ignore the port for the time being, it was a rough port that got some things working that proved to be a little on the awkward side. I'm partially through redoing the patches for easier maintenance.
Re: Compiling SDL-Port from CVS
Have you seen the patched versions over at http://wiibrew.org/wiki/SDL-Port? They include a version of SDL, SDL_mixer, SDL_ttf, SDL_gfx and two different versions of SDL_image. It would be great to commit all of these into the official tree. If you need any help with sorting through the code and committing it, let me know. I would like to help if possible.
Dave
Dave
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Compiling SDL-Port from CVS
Yes I've seen the ports, they're an absolute mess & will not be supported by devkitPro. I seriously regret committing that mess to CVS now.
There are serious issues with the way those ports are put together. I have an SDL test framework written which corrects some of the issues but I could do with some help from experienced SDL coders.
Some parts may be salvageable but the work is going to be largely starting again from the beginning.
There are serious issues with the way those ports are put together. I have an SDL test framework written which corrects some of the issues but I could do with some help from experienced SDL coders.
Some parts may be salvageable but the work is going to be largely starting again from the beginning.
Re: Compiling SDL-Port from CVS
I don't understand how the version in CVS can be that bad that it's completely unsalvagable. I just used it to make a Gamecube port of the game 'SDL Sopwith' and it seemed to work ok for me (granted this wasn't a large scale application though). I mean you do have to replace the 'SDL_Config.h' header with the 'SDL_Config.h.gamecube' header and build it using 'Makefile.gamecube' but other than that I think it built ok for me. What's the specific issues exactly? And can some of us maybe help out in getting things cleaned up/reworked?
Thanks,
Ben
Thanks,
Ben
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Compiling SDL-Port from CVS
There are several issues with the current port.
- It needs to be reworked to use the SDL configury - this will benefit maintainablility in the long run.
- The video code should probably be using GX rather than the current yuv framebuffer method.
- There is currently no proper separation of Wii and Cube specifics - access to wiimote vs gamepads for example.
- The file system code should be reworked to use the libfat interface.
Re: Compiling SDL-Port from CVS
Has there been any progress made on this new port of SDL?
Re: Compiling SDL-Port from CVS
Hi Wintermute,
yohanes of the wiiapple project (http://code.google.com/p/wiiapple/), has been working on fixing the SDL Wii port. We are trying to address some of your earlier concerns. In a previous post, you mentioned a test framework. Could you point us to that code so we can incorporate it into our work?
Thanks
Dave
yohanes of the wiiapple project (http://code.google.com/p/wiiapple/), has been working on fixing the SDL Wii port. We are trying to address some of your earlier concerns. In a previous post, you mentioned a test framework. Could you point us to that code so we can incorporate it into our work?
Thanks
Dave
Who is online
Users browsing this forum: No registered users and 3 guests