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: 576
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Fri Jun 18, 2010 9:29 pm
Has thanked: 0
Been thanked: 5 times

Compiling SNES4ALL

Post by PH3NOM »

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: 7497
Joined: Wed Jul 31, 2002 12:14 am
Location: Miami, FL
Has thanked: 4 times
Been thanked: 9 times
Contact:

Re: Compiling SNES4ALL

Post by Quzar »

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: 576
Joined: Fri Jun 18, 2010 9:29 pm
Has thanked: 0
Been thanked: 5 times

Re: Compiling SNES4ALL

Post by PH3NOM »

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: 7497
Joined: Wed Jul 31, 2002 12:14 am
Location: Miami, FL
Has thanked: 4 times
Been thanked: 9 times
Contact:

Re: Compiling SNES4ALL

Post by Quzar »

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: 314
Joined: Sat Dec 01, 2007 8:51 am
Has thanked: 3 times
Been thanked: 1 time

Re: Compiling SNES4ALL

Post by Neoblast »

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 thanked: 0
Been thanked: 0

Re: Compiling SNES4ALL

Post by Indiket »

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!).
User avatar
Ian Robinson
DC Developer
DC Developer
Posts: 114
Joined: Mon Mar 11, 2019 7:12 am
Has thanked: 209 times
Been thanked: 41 times

Re: Compiling SNES4ALL

Post by Ian Robinson »

Bumping a version old post but i need the svn://emuforge.com/kosports/sdl-1.2.13 custom version here to update some projects if any one has a backup and the version for the sd card not current kos this version :) it be much needed .. Just about asked and looked all over
Post Reply