Compiling SNES4ALL

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
User avatar
PH3NOM
DC Developer
DC Developer
Posts: 574
Joined: Fri Jun 18, 2010 9:29 pm
Has liked: 0
Been liked: 0

Compiling SNES4ALL

Post by PH3NOM » Tue Jul 26, 2011 8:55 pm

I am not sure if anyone else has actually tried to build this project source, but I hope someone can help.

When I build it, it enters the main loop, but never draws anything to the screen, not even the emu menu.

I had to change a few things in the makefile to get it to build on the version of K:OS im using:

-It was linking to a different version of SDL than I have.
Changed this:

Code: Select all

-lSDL_mixer_126 -lSDL_1213 
To this:

Code: Select all

-lSDL_mixer -lSDL_129
- Add this

Code: Select all

KOS_CFLAGS+= -I$(KOS_BASE)/../kos-ports/include/zlib-1.2.3 $(OPTFLAGS) 
KOS_CFLAGS+= -I$(KOS_BASE)/../kos-ports/include/SDL-1.2.9 $(OPTFLAGS) 
Where can I get this -lSDL_mixer_126 and -lSDL_1213?
User avatar
Quzar
Dream Coder
Dream Coder
Posts: 7489
Joined: Wed Jul 31, 2002 12:14 am
Location: Miami, FL
Has liked: 0
Been liked: 3 times
Contact:

Re: Compiling SNES4ALL

Post by Quzar » Wed Jul 27, 2011 6:59 am

I remember there was large discussion of this problem after Chui first started releasing his sources. That they were not usable because of custom libraries used. He did however release his forks of SDL at a later point. Not sure if those would be the same ones used for this though, as this is newer than those, and I certainly don't remember 'SDL_1213'.
"When you post fewer lines of text than your signature, consider not posting at all." - A Wise Man
User avatar
PH3NOM
DC Developer
DC Developer
Posts: 574
Joined: Fri Jun 18, 2010 9:29 pm
Has liked: 0
Been liked: 0

Re: Compiling SNES4ALL

Post by PH3NOM » Wed Jul 27, 2011 12:43 pm

Thanks for the reply, Quzar.

I did find the custom version of SDL chui used, it is available here:

Code: Select all

svn://emuforge.com/kosports/sdl-1.2.13
Thanks to Neoblast for the links some time agao :lol:

And now when I build SNES4all it works!
User avatar
Quzar
Dream Coder
Dream Coder
Posts: 7489
Joined: Wed Jul 31, 2002 12:14 am
Location: Miami, FL
Has liked: 0
Been liked: 3 times
Contact:

Re: Compiling SNES4ALL

Post by Quzar » Wed Jul 27, 2011 1:57 pm

PH3NOM wrote:Thanks for the reply, Quzar.

I did find the custom version of SDL chui used, it is available here:

Code: Select all

svn://emuforge.com/kosports/sdl-1.2.13
Thanks to Neoblast for the links some time agao :lol:

And now when I build SNES4all it works!
Great! Glad to know that it is possible to build the stuff :grin:
"When you post fewer lines of text than your signature, consider not posting at all." - A Wise Man
User avatar
Neoblast
DC Developer
DC Developer
Posts: 312
Joined: Sat Dec 01, 2007 8:51 am
Has liked: 0
Been liked: 0

Re: Compiling SNES4ALL

Post by Neoblast » Wed Jul 27, 2011 3:23 pm

I think th 1.2.6 mixer version is the old mixer that can be found on his site, and the sdl 1213 was ( maybe ) released on dreamcast.es but I'm not sure, either way as phenom said, everything required to build all that stuff and use the sd is in the svn repository.
User avatar
Indiket
DC Developer
DC Developer
Posts: 99
Joined: Sun Sep 05, 2010 5:44 am
Has liked: 0
Been liked: 0

Re: Compiling SNES4ALL

Post by Indiket » Mon Aug 08, 2011 5:13 am

Just a quick note, SDL 1213 of the repo has been updated removing deprecated KOS Maple functions. It should compile fine with latest KOS (if you can, please test it!).
Post Reply