TetriBattle3 100% 2.0 for P.C. Windows - SDL game project

Hi everyone,

I have a game ready for testing, but have no one to test it.

Game is: TetriBattle3 100% 2.0.
It is a multiplayer Tetris game
for the PC Windows platform

I need to test the game engine on as many
Windows based computers as possible
before I officially release it.

Can some on this mailing list help me out?
and/or
can someone provide web sites to post this game on?

Thanks in advance!

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

Game is: TetriBattle3 100% 2.0.
It is a multiplayer Tetris game
for the PC Windows platform

why not other platforms dude!

linux is crying out for sweet looking games like yours!

if its just SDL you use then should be no problems compiling for other SDL
capable systems!

on your site you are going on about something or others about windows xp 100%
rock solid operating system… this is debatable :wink: ( i shall get in trouble
with the higher authoritys for feeding the trolls now )

Hi Neil,

If anyone wants to port this or any other one of my games to a different
platform
then just let me know by e-mail to slnthero at aol.com

Thanks and enjoy!

And Neil - I only make games for Palm OS and PC Windows…

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

neil at cloudsprinter.com wrote:>> Game is: TetriBattle3 100% 2.0.

It is a multiplayer Tetris game
for the PC Windows platform

why not other platforms dude!

linux is crying out for sweet looking games like yours!

if its just SDL you use then should be no problems compiling for other SDL
capable systems!

on your site you are going on about something or others about windows xp 100%
rock solid operating system… this is debatable :wink: ( i shall get in trouble
with the higher authoritys for feeding the trolls now )


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

i am trying to get it working on linux now. currently stuck on itoa_s
(). that is not portable, please stop using that if you want future
applications to be portable.

mattOn Jan 21, 2008, at 4:49 PM, Jesse P. wrote:

Hi everyone,

I have a game ready for testing, but have no one to test it.

Game is: TetriBattle3 100% 2.0.
It is a multiplayer Tetris game
for the PC Windows platform

I need to test the game engine on as many
Windows based computers as possible
before I officially release it.

Can some on this mailing list help me out?
and/or
can someone provide web sites to post this game on?

Thanks in advance!

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com


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

Hi Matt,

Sorry for using “itoa_s”…

What should i be using???

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

matt hull wrote:> i am trying to get it working on linux now. currently stuck on itoa_s

(). that is not portable, please stop using that if you want future
applications to be portable.

matt

On Jan 21, 2008, at 4:49 PM, Jesse P. wrote:

Hi everyone,

I have a game ready for testing, but have no one to test it.

Game is: TetriBattle3 100% 2.0.
It is a multiplayer Tetris game
for the PC Windows platform

I need to test the game engine on as many
Windows based computers as possible
before I officially release it.

Can some on this mailing list help me out?
and/or
can someone provide web sites to post this game on?

Thanks in advance!

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com


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


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

i am looking in to it now. there are funtions in stringstream for c+
+. i am not familiar with those as i pretty much only code in C, so
i am going to try sprintf

mattOn Jan 21, 2008, at 5:50 PM, Jesse P. wrote:

Hi Matt,

Sorry for using “itoa_s”…

What should i be using???

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

matt hull wrote:

i am trying to get it working on linux now. currently stuck on
itoa_s
(). that is not portable, please stop using that if you want future
applications to be portable.

matt

On Jan 21, 2008, at 4:49 PM, Jesse P. wrote:

Hi everyone,

I have a game ready for testing, but have no one to test it.

Game is: TetriBattle3 100% 2.0.
It is a multiplayer Tetris game
for the PC Windows platform

I need to test the game engine on as many
Windows based computers as possible
before I officially release it.

Can some on this mailing list help me out?
and/or
can someone provide web sites to post this game on?

Thanks in advance!

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com


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


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


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

Matt,

I had no idea you are converting this game to Linux.

What are your opinions of this game ?

2.0 version (weighing in at a smaller 3.2MB)
set to be released on c|net tomorrow!

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

matt hull wrote:> i am looking in to it now. there are funtions in stringstream for c+

+. i am not familiar with those as i pretty much only code in C, so
i am going to try sprintf

matt

On Jan 21, 2008, at 5:50 PM, Jesse P. wrote:

Hi Matt,

Sorry for using “itoa_s”…

What should i be using???

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

matt hull wrote:

i am trying to get it working on linux now. currently stuck on
itoa_s
(). that is not portable, please stop using that if you want future
applications to be portable.

matt

On Jan 21, 2008, at 4:49 PM, Jesse P. wrote:

Hi everyone,

I have a game ready for testing, but have no one to test it.

Game is: TetriBattle3 100% 2.0.
It is a multiplayer Tetris game
for the PC Windows platform

I need to test the game engine on as many
Windows based computers as possible
before I officially release it.

Can some on this mailing list help me out?
and/or
can someone provide web sites to post this game on?

Thanks in advance!

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com


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


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


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


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

there are no opinions yet since i havent been able to compile and run
it :)On Jan 21, 2008, at 5:59 PM, Jesse P. wrote:

Matt,

I had no idea you are converting this game to Linux.

What are your opinions of this game ?

2.0 version (weighing in at a smaller 3.2MB)
set to be released on c|net tomorrow!

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

matt hull wrote:

i am looking in to it now. there are funtions in stringstream for c+
+. i am not familiar with those as i pretty much only code in C, so
i am going to try sprintf

matt

On Jan 21, 2008, at 5:50 PM, Jesse P. wrote:

Hi Matt,

Sorry for using “itoa_s”…

What should i be using???

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

matt hull wrote:

i am trying to get it working on linux now. currently stuck on
itoa_s
(). that is not portable, please stop using that if you want
future
applications to be portable.

matt

On Jan 21, 2008, at 4:49 PM, Jesse P. wrote:

Hi everyone,

I have a game ready for testing, but have no one to test it.

Game is: TetriBattle3 100% 2.0.
It is a multiplayer Tetris game
for the PC Windows platform

I need to test the game engine on as many
Windows based computers as possible
before I officially release it.

Can some on this mailing list help me out?
and/or
can someone provide web sites to post this game on?

Thanks in advance!

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com


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


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


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


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


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

You need to use itoa, instead of itoa_s.

I believe the itoa_s is the “safe” version necessary to be used in MS Visual Studio .NET for Windows; not “necessary,” but generates warnings in VS.NET. (I’m getting some of these for using fprintf and fopen, I believe, wanting “fprintf_s” instead.

sprintf also works, but you can save yourself having to change the code completely, and just cut off the “_s” that may exist behind some functions.

Best of luck to you guys,
Taylor> From: mattmatteh at mac.com

Date: Mon, 21 Jan 2008 18:09:41 -0600
To: sdl at lists.libsdl.org
Subject: Re: [SDL] MATT HULL - Re: TetriBattle3 100% 2.0 for P.C. Windows - SDL game project…

there are no opinions yet since i havent been able to compile and run
it :slight_smile:

On Jan 21, 2008, at 5:59 PM, Jesse P. wrote:

Matt,

I had no idea you are converting this game to Linux.

What are your opinions of this game ?

2.0 version (weighing in at a smaller 3.2MB)
set to be released on c|net tomorrow!

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

matt hull wrote:

i am looking in to it now. there are funtions in stringstream for c+
+. i am not familiar with those as i pretty much only code in C, so
i am going to try sprintf

matt

On Jan 21, 2008, at 5:50 PM, Jesse P. wrote:

Hi Matt,

Sorry for using “itoa_s”…

What should i be using???

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

matt hull wrote:

i am trying to get it working on linux now. currently stuck on
itoa_s
(). that is not portable, please stop using that if you want
future
applications to be portable.

matt

On Jan 21, 2008, at 4:49 PM, Jesse P. wrote:

Hi everyone,

I have a game ready for testing, but have no one to test it.

Game is: TetriBattle3 100% 2.0.
It is a multiplayer Tetris game
for the PC Windows platform

I need to test the game engine on as many
Windows based computers as possible
before I officially release it.

Can some on this mailing list help me out?
and/or
can someone provide web sites to post this game on?

Thanks in advance!

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com


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


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


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


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


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


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


Climb to the top of the charts!?Play the word scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan

Matt,

How is the source code written?

I am still learning, but I think I did an OK job at programming this game.

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

matt hull wrote:> there are no opinions yet since i havent been able to compile and run

it :slight_smile:

On Jan 21, 2008, at 5:59 PM, Jesse P. wrote:

Matt,

I had no idea you are converting this game to Linux.

What are your opinions of this game ?

2.0 version (weighing in at a smaller 3.2MB)
set to be released on c|net tomorrow!

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

matt hull wrote:

i am looking in to it now. there are funtions in stringstream for c+
+. i am not familiar with those as i pretty much only code in C, so
i am going to try sprintf

matt

On Jan 21, 2008, at 5:50 PM, Jesse P. wrote:

Hi Matt,

Sorry for using “itoa_s”…

What should i be using???

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

matt hull wrote:

i am trying to get it working on linux now. currently stuck on
itoa_s
(). that is not portable, please stop using that if you want
future
applications to be portable.

matt

On Jan 21, 2008, at 4:49 PM, Jesse P. wrote:

Hi everyone,

I have a game ready for testing, but have no one to test it.

Game is: TetriBattle3 100% 2.0.
It is a multiplayer Tetris game
for the PC Windows platform

I need to test the game engine on as many
Windows based computers as possible
before I officially release it.

Can some on this mailing list help me out?
and/or
can someone provide web sites to post this game on?

Thanks in advance!

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com


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


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


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


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


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


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

from what i read, itoa or itoa_s is non standard and non portable;
dont use either. sprintf and stringstream are.

mattOn Jan 21, 2008, at 6:13 PM, Taylor Jeude wrote:

You need to use itoa, instead of itoa_s.

I believe the itoa_s is the “safe” version necessary to be used in
MS Visual Studio .NET for Windows; not “necessary,” but generates
warnings in VS.NET. (I’m getting some of these for using fprintf
and fopen, I believe, wanting “fprintf_s” instead.

sprintf also works, but you can save yourself having to change the
code completely, and just cut off the “_s” that may exist behind
some functions.

Best of luck to you guys,
Taylor

From: @matt_hull
Date: Mon, 21 Jan 2008 18:09:41 -0600
To: sdl at lists.libsdl.org
Subject: Re: [SDL] MATT HULL - Re: TetriBattle3 100% 2.0 for P.C.
Windows - SDL game project…

there are no opinions yet since i havent been able to compile and
run
it :slight_smile:

On Jan 21, 2008, at 5:59 PM, Jesse P. wrote:

Matt,

I had no idea you are converting this game to Linux.

What are your opinions of this game ?

2.0 version (weighing in at a smaller 3.2MB)
set to be released on c|net tomorrow!

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

matt hull wrote:

i am looking in to it now. there are funtions in stringstream
for c+

+. i am not familiar with those as i pretty much only code in
C, so

i am going to try sprintf

matt

On Jan 21, 2008, at 5:50 PM, Jesse P. wrote:

Hi Matt,

Sorry for using “itoa_s”…

What should i be using???

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

matt hull wrote:

i am trying to get it working on linux now. currently stuck on
itoa_s
(). that is not portable, please stop using that if you want
future
applications to be portable.

matt

On Jan 21, 2008, at 4:49 PM, Jesse P. wrote:

Hi everyone,

I have a game ready for testing, but have no one to test it.

Game is: TetriBattle3 100% 2.0.
It is a multiplayer Tetris game
for the PC Windows platform

I need to test the game engine on as many
Windows based computers as possible
before I officially release it.

Can some on this mailing list help me out?
and/or
can someone provide web sites to post this game on?

Thanks in advance!

Jesse "JeZ+Lee"
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com


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


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


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


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


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


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

Climb to the top of the charts! Play the word scramble challenge
with star power. Play now!


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

Game is: TetriBattle3 100% 2.0.
It is a multiplayer Tetris game
for the PC Windows platform

why not other platforms dude!

linux is crying out for sweet looking games like yours!

Too hard to distribute binaries for linux, sorry.> From: neil at cloudsprinter.com

Most Linux games are distributed as source, you probably don’t need to
release binaries. :stuck_out_tongue:

Rhythmic Fistman wrote:>> From: neil at cloudsprinter.com

Game is: TetriBattle3 100% 2.0.
It is a multiplayer Tetris game
for the PC Windows platform

why not other platforms dude!

linux is crying out for sweet looking games like yours!

Too hard to distribute binaries for linux, sorry.


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

Game is: TetriBattle3 100% 2.0.
It is a multiplayer Tetris game
for the PC Windows platform

why not other platforms dude!

linux is crying out for sweet looking games like yours!

Too hard to distribute binaries for linux, sorry.

It can’t really be that hard. Take a look at:

I’ve been installing those binary-only, SDL-based, 3D games on many versions
of Linux.

AlvinOn Tuesday 22 January 2008 06:58:32 Rhythmic Fistman wrote:

From: neil at cloudsprinter.com

Hello,

Most Linux games are distributed as source, you probably don’t need to
release binaries. :stuck_out_tongue:

Yes, let distro packagers or contributors do this, if you don’t want to
learn more about packaging for other platforms. The perfect entry point
is that the build system and sources are neat and portable.

Regards,On Tue, 22 Jan 2008 06:01:37 -0600 “Leo M. Cabrera” wrote:

Rhythmic Fistman wrote:

From: neil at cloudsprinter.com

Game is: TetriBattle3 100% 2.0.
It is a multiplayer Tetris game
for the PC Windows platform

why not other platforms dude!

linux is crying out for sweet looking games like yours!

Too hard to distribute binaries for linux, sorry.


wwp
-------------- next part --------------
A non-text attachment was scrubbed…
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080122/0fec7cd7/attachment.pgp

Most Linux users wouldn’t run binaries from an untrusted source anyway. That
kind of dangerous behavior is what Windows people do. IMHO one should be
suspicious of SDL games that are available only as binaries. Very suspicious.

JeffOn Tue January 22 2008 02:58, Rhythmic Fistman wrote:

Too hard to distribute binaries for linux, sorry.

Alvin wrote:

Too hard to distribute binaries for linux, sorry.

It can’t really be that hard. Take a look at:

I’ve been installing those binary-only, SDL-based, 3D games on many versions
of Linux.

The fact that there are games distributed as binary doesn’t sadly means
that they work on every linux distribution…

There are a few problem distributing linux binaries (expecially if you
need to dynamic link and you’ll probably do):

  • Different function calls avaliable in glibc 2.2, 2.3, 2.4:
    You need something like autopackage apgcc to avoid 2.3 and 2.4
    specific symbols.

  • Different C++ abi libstdc++.so.3, 5, 6:
    You need to ship your version of libstdc++ or provide different
    binaries for your executable and all your dependencies.

  • Different versions of libraries with different features:
    for instance in the binary distribution of Ankh-2 I didn’t include
    libSDL (mainly because every distro package a version of SDL best suited
    for the particular AUDIO daemon it uses by default), but the game was
    relying on the fact SDL_VideoInfo contains the desktop width/height and
    the game failed to run on systems with SDL 1.2.8 or earlier.

  • Different audio systems:
    You must target at least OSS and ALSA and be aware that Pulse, ARTs,
    ESD… may screw your audio code (this is true also if you ship your
    version of SDL and use it for audio), but bind your game to asound for
    instance may be a problem cause you’ll find very different versions in
    different systems.

Then there are linux specific problem not related to the "binary"
distribution:

  • 3d accelerated drivers difficult to install and often incomplete/buggy
    (ATI is the classic example…)
  • compiz/beryl/compiz-fusion effects incompatible with opengl apps.
  • different ways to install desktop/menu shortcuts expecially on old
    distros (freedesktop stuff is solving this but only distro of the last 2
    years support it).–
    Bye,
    Gabry

Now, I’m just a Windows programmer, so there might be some detail I’m completely missing, but this seems to me like a SDL-side issue, not an application-programming issue. As long as the SDL routines maintain the same signature, (which they do; that’s the entire point of using something like SDL), then all the programmer has to do is link against the SDL library, and require the end user to have an appropriate version of SDL for their distribution installed. Any particular reason why this wouldn’t work?> ----- Original Message -----

From: gabriele.greco@darts.it (Gabriele Greco)
To: A list for developers using the SDL library. (includes SDL-announce)
Sent: Wednesday, January 23, 2008 6:08:43 AM
Subject: [SDL] Linux binary distribution hard? YES

Alvin wrote:

Too hard to distribute binaries for linux, sorry.

It can’t really be that hard. Take a look at:

I’ve been installing those binary-only, SDL-based, 3D games on many
versions
of Linux.

The fact that there are games distributed as binary doesn’t sadly means

that they work on every linux distribution…

There are a few problem distributing linux binaries (expecially if you
need to dynamic link and you’ll probably do):

  • Different function calls avaliable in glibc 2.2, 2.3, 2.4:
    You need something like autopackage apgcc to avoid 2.3 and 2.4
    specific symbols.

  • Different C++ abi libstdc++.so.3, 5, 6:
    You need to ship your version of libstdc++ or provide different
    binaries for your executable and all your dependencies.

  • Different versions of libraries with different features:
    for instance in the binary distribution of Ankh-2 I didn’t include
    libSDL (mainly because every distro package a version of SDL best
    suited
    for the particular AUDIO daemon it uses by default), but the game was
    relying on the fact SDL_VideoInfo contains the desktop width/height and

the game failed to run on systems with SDL 1.2.8 or earlier.

  • Different audio systems:
    You must target at least OSS and ALSA and be aware that Pulse, ARTs,
    ESD… may screw your audio code (this is true also if you ship your
    version of SDL and use it for audio), but bind your game to asound for
    instance may be a problem cause you’ll find very different versions in
    different systems.

Then there are linux specific problem not related to the "binary"
distribution:

  • 3d accelerated drivers difficult to install and often
    incomplete/buggy
    (ATI is the classic example…)
  • compiz/beryl/compiz-fusion effects incompatible with opengl apps.
  • different ways to install desktop/menu shortcuts expecially on old
    distros (freedesktop stuff is solving this but only distro of the last
    2
    years support it).


Bye,
Gabry


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

Now, I’m just a Windows programmer, so there might be some detail
I’m completely missing, but this seems to me like a SDL-side issue,
not an application-programming issue. As long as the SDL routines
maintain the same signature, (which they do; that’s the entire point
of using something like SDL), then all the programmer has to do is
link against the SDL library, and require the end user to have an
appropriate version of SDL for their distribution installed. Any
particular reason why this wouldn’t work?

But there are usually other calls than just calls of the SDL-lib. If
one would only use SDL, then this is enough. But you cannot use any
standard C-function or whatever, else you have also link against other
libs.Am 23.01.2008 um 16:19 schrieb Mason Wheeler:

----- Original Message ----
From: Gabriele Greco <gabriele.greco at darts.it>
To: A list for developers using the SDL library. (includes SDL-
announce)
Sent: Wednesday, January 23, 2008 6:08:43 AM
Subject: [SDL] Linux binary distribution hard? YES

Alvin wrote:

Too hard to distribute binaries for linux, sorry.

It can’t really be that hard. Take a look at:

I’ve been installing those binary-only, SDL-based, 3D games on
many versions
of Linux.

The fact that there are games distributed as binary doesn’t sadly
means
that they work on every linux distribution…

There are a few problem distributing linux binaries (expecially if you
need to dynamic link and you’ll probably do):

  • Different function calls avaliable in glibc 2.2, 2.3, 2.4:
    You need something like autopackage apgcc to avoid 2.3 and 2.4
    specific symbols.

  • Different C++ abi libstdc++.so.3, 5, 6:
    You need to ship your version of libstdc++ or provide different
    binaries for your executable and all your dependencies.

  • Different versions of libraries with different features:
    for instance in the binary distribution of Ankh-2 I didn’t include
    libSDL (mainly because every distro package a version of SDL best
    suited
    for the particular AUDIO daemon it uses by default), but the game was
    relying on the fact SDL_VideoInfo contains the desktop width/height
    and
    the game failed to run on systems with SDL 1.2.8 or earlier.

  • Different audio systems:
    You must target at least OSS and ALSA and be aware that Pulse, ARTs,
    ESD… may screw your audio code (this is true also if you ship your
    version of SDL and use it for audio), but bind your game to asound for
    instance may be a problem cause you’ll find very different versions in
    different systems.

Then there are linux specific problem not related to the "binary"
distribution:

  • 3d accelerated drivers difficult to install and often incomplete/
    buggy
    (ATI is the classic example…)
  • compiz/beryl/compiz-fusion effects incompatible with opengl apps.
  • different ways to install desktop/menu shortcuts expecially on old
    distros (freedesktop stuff is solving this but only distro of the
    last 2
    years support it).


Bye,
Gabry


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


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

But there are usually other calls than just calls of the SDL-lib. If
one would only use SDL, then this is enough. But you cannot use any
standard C-function or whatever, else you have also link against other
libs.

so… what we need is s difinitive guide to producing SDL binary only
applications that should suit most modern linux distributions and not breach
any licencing issues.

I am at somepoint wanting to release some stuff as binary only for linux, my
mindset currently is just have a .deb for ubuntu/debian ( rashly assuming this
should mainly work across most version ( apart form libc issues raised earlier
perhaps) ) and perhaps a rpm build for the fedora types out there, anyone else
can go fish.

So… to clarify for me ( dumbass who dosnt really pay attention ) …

To build a ‘universal’ program for linux based systems, you would need static
links to libraies for, SDL family, and static links to a libc you use just to
be sure, and the theory is if you had all this the code /should/ run all by
it’s merry self, apart from perhpas the sound issues raised earlier.

Would there be anyway to detect the sound system in use and have your
binary / a
script adapt to suit?

IMHO this is the kinda nonsence that helps hold linux back from your average
users… i dont dare to count the hours i have spent in dependancy hell :wink: but
it is a long time invloving alot of cigarettes.

so i econ the best way to distribute linux binaries is to do some slogging and
build a set of binaires for all the major distributions/*nix types
currently in
use about the place… but then i suspect alot of people arnt really
going to be
interested unless it is in thier distributions repositories anyway, i
know a few
who will only install software via reps becasue of fear of exploding thier
system.