MinGW and SDL

  • What compiler do you use?
  • Why this extern C declaration?
  • Is your source code public?Am 18.02.2010 12:48, schrieb jamesl22:

I really need this fixed.


Christoph Nelles

E-Mail : @Christoph_Nelles
Jabber : eazrael at evilazrael.net ICQ : 78819723

PGP-Key : ID 0x424FB55B on subkeys.pgp.net
or http://evilazrael.net/pgp.txt

then you should post a patch. unless you’re paying for support, you
cant demand fixes out of an open source community.
-mikeOn Thu, Feb 18, 2010 at 6:48 AM, jamesl22 wrote:

I really need this fixed.

“jamesl22” writes:

I really need this fixed.

Compare your code with the SDL source examples. Look for differences in
the main() declaration and in their linker and compiler options.–
Alberto

Hello !

I really need this fixed.

then you should post a patch. unless you’re paying for support, you
cant demand fixes out of an open source community.

He is just asking for help to get his source compiled correctly
and not asking to put a special feature into SDL.

CU

Christoph Nelles wrote:> Am 18.02.2010 12:48, schrieb jamesl22:

I really need this fixed.

  • What compiler do you use?
  • Why this extern C declaration?
  • Is your source code public?


Christoph Nelles

E-Mail : evilazrael at evilazrael.de
Jabber : eazrael at evilazrael.net ICQ : 78819723

PGP-Key : ID 0x424FB55B on subkeys.pgp.net
or http://evilazrael.net/pgp.txt


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

Hi,

So, i’m using MinGW with MSYS. I have GCC 4.4.0 with G++ on it. It isn’t my source code but it is open source. And since it’s not mine I have no idea why it has been written like that.

Hi,

So, i’m using MinGW with MSYS. I have GCC 4.4.0 with G++ on it. It isn’t
my source code but it is open source. And since it’s not mine I have no
idea why it has been written like that.

Ok, stupid question, everything was in the first mail. What’S the name
of this software? Have you asked there? Are the no binary releases?Am 18.02.2010 13:44, schrieb jamesl22:

Christoph Nelles

E-Mail : @Christoph_Nelles
Jabber : eazrael at evilazrael.net ICQ : 78819723

PGP-Key : ID 0x424FB55B on subkeys.pgp.net
or http://evilazrael.net/pgp.txt

if he wants deterministic support then he should pay someone. it is
unreasonable to post multiple times “i need this fixed”. if you need
it so bad and people volunteering their free time isnt good enough for
you, then you can fix itself. (the “you”'s are generalized, not
specifically you Torsten).
-mikeOn Thu, Feb 18, 2010 at 7:17 AM, Torsten Giebl wrote:

I really need this fixed.

then you should post a patch. ?unless you’re paying for support, you
cant demand fixes out of an open source community.

He is just asking for help to get his source compiled correctly
and not asking to put a special feature into SDL.

The website for the software is www.worldforge.org. The binary releases are really old so i’m updating them to the latest version. I have made a thread for compiling it. We have been working on it a long time and this is the last (hopefully) error I need to get through.

your declaration of main function is perfectly fine.

check your sdl.h header. it should have something like “#define main SDL_main”. If it’s not there, that’s the source of your issue.

Alternatively, just rename your main function to SDL_main.

nfries88 wrote:

your declaration of main function is perfectly fine.

check your sdl.h header. it should have something like “#define main SDL_main”. If it’s not there, that’s the source of your issue.

Alternatively, just rename your main function to SDL_main.

Hi,

Just tried that, no luck :frowning:

jamesl22 wrote:

nfries88 wrote:

your declaration of main function is perfectly fine.

check your sdl.h header. it should have something like “#define main SDL_main”. If it’s not there, that’s the source of your issue.

Alternatively, just rename your main function to SDL_main.

Hi,

Just tried that, no luck :frowning:

Then something is horribly wrong.
Try downloading the last SDL 1.2 release and building it for yourself. It could be that the SDL you’re using was built with an earlier version of GCC and inconsistencies are kicking your ass. I have this issue with GMP (which doesn’t seem to want to build with msys for me, either).