Trouble compiling things

Hi there. I’m having a problem compiling programs used with SDL and libraries for it. I set it up using mingw and msys, and it built fine and all examples compiled and worked.

I can link and compile anything from autoconfigure and it works, but simple programs that you compile with gcc sdl-config --cflags --libs will still tell me that things are undefined…

I want to make some simple test programs but I’m unable to compile anything and I don’t know how to write autoconfigure scripts…

I’m probably doing something wrong, but I don’t know what it is. Is there a way I should describe my problem in a more specific way? I’m feeling frustrated because I’ve spent hours messing around with this.

I did get programs to compile if they only used SDL by just copying what make did and doing exactly that, but I don’t know how to use it then with other libraries, and the example program in sdl_draw would not compile using the intructions they gave me.—
@>-,-`-- Kandy Neko

AIM KyootLisa
http://kandyneko.mine.nu


Outgrown your current e-mail service? Get 25MB Storage, POP3 Access,
Advanced Spam protection with LYCOS MAIL PLUS.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus

go here and see if any of this helps:

http://www.libsdl.org/faq.php?action=listentries&category=3#21> ----- Original Message -----

From: kandy-neko@lycos.com (Kandy Erica Neko)
To:
Sent: Sunday, November 03, 2002 4:08 PM
Subject: [SDL] trouble compiling things

Hi there. I’m having a problem compiling programs used with SDL and
libraries for it. I set it up using mingw and msys, and it built fine and
all examples compiled and worked.

I can link and compile anything from autoconfigure and it works, but
simple programs that you compile with gcc sdl-config --cflags --libs will
still tell me that things are undefined…

I want to make some simple test programs but I’m unable to compile
anything and I don’t know how to write autoconfigure scripts…

I’m probably doing something wrong, but I don’t know what it is. Is there
a way I should describe my problem in a more specific way? I’m feeling
frustrated because I’ve spent hours messing around with this.

I did get programs to compile if they only used SDL by just copying what
make did and doing exactly that, but I don’t know how to use it then with
other libraries, and the example program in sdl_draw would not compile using
the intructions they gave me.

@>-,-`-- Kandy Neko

AIM KyootLisa
http://kandyneko.mine.nu


Outgrown your current e-mail service? Get 25MB Storage, POP3 Access,
Advanced Spam protection with LYCOS MAIL PLUS.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl