Cant compile

You have to give gcc/g++ or whetever you are using some arguments.
Execute sdl-config --libsd an sdl-config --cflags to see what you have to
give your compiler. I hope i coul help.

btw: I knot that my english really sucks but i hope you coul understand what
i said.–
SMS bei wichtigen e-mails und Ihre Gedanken sind frei …
Alle Infos zur SMS-Benachrichtigung: http://www.gmx.net/de/go/sms

You have to give gcc/g++ or whetever you are using some arguments.
Execute sdl-config --libsd an sdl-config --cflags to see what you have to
give your compiler. I hope i coul help.

Thanks for the information. Unfortunately, it still doesn’t work. I’d
like to be able to draw some stuff in an X-window, and it seems it’s
not as easy as I thought…

After compilation, when I run the program; I get the following error
in the term:
Couldn’t initialise SDL: No available video device

btw: I knot that my english really sucks but i hope you coul understand what
i said.

Oh, that’s not a problem, I perfectly understood what you said. Thanks
for helping me.

Greetz,

Bernard

What OS / compiler are you using? I’ve seen messages like that on Linux
when only the root / superuser has permission to run SDL. If you have
the ability to, try running the program as root and see what happens.

  • brian

Bernard Fran?ois wrote:>>You have to give gcc/g++ or whetever you are using some arguments.

Execute sdl-config --libsd an sdl-config --cflags to see what you have to
give your compiler. I hope i coul help.

Thanks for the information. Unfortunately, it still doesn’t work. I’d
like to be able to draw some stuff in an X-window, and it seems it’s
not as easy as I thought…

After compilation, when I run the program; I get the following error
in the term:
Couldn’t initialise SDL: No available video device

btw: I knot that my english really sucks but i hope you coul understand what
i said.

Oh, that’s not a problem, I perfectly understood what you said. Thanks
for helping me.

Greetz,

Bernard


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

If you have the ability to, try running the program as root and see what happens.

I compiled an ran the test program as root user, and it didnt work.

Greetz,

Bernard

PS: Notice that there is another (already longer) thread of mails
going on on this list about the topic.
I see you changed the subject to make it more clear for the people
that it’s a mail of the SDL mailing list, but adding a rule to
automatically add [SDL] to every mail should be a task done by the
list administrators to avoid problems like this…

OK, my next question is did you build SDL from scratch or are you using
a binary? You can also do a search for the error message to get some
ideas to try.

Also what do you mean in your PS? I just hit reply and the subject
already had [SDL] in it. I don’t ever alter the subject of an already
started thread…

  • brian

Bernard Fran?ois wrote:>>If you have the ability to, try running the program as root and see what happens.

I compiled an ran the test program as root user, and it didnt work.

Greetz,

Bernard

PS: Notice that there is another (already longer) thread of mails
going on on this list about the topic.
I see you changed the subject to make it more clear for the people
that it’s a mail of the SDL mailing list, but adding a rule to
automatically add [SDL] to every mail should be a task done by the
list administrators to avoid problems like this…


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

OK, my next question is did you build SDL from scratch or are you using a
binary? You can also do a search for the error message to get some ideas to
try.

Yep, I built it from the source files. Probably the problem is a lack
of installed development packages. I want to try to install the SDL
packages from the fedora cd’s (fedora is the linux distribution I
installed), but I still have problems with that. For that, I refer you
to the other email thread.

Also what do you mean in your PS? I just hit reply and the subject already
had [SDL] in it. I don’t ever alter the subject of an already started
thread…

Oh, I’m sory. I thought you did. Strange how my first post didnt
contain that [SDL] automaticly…

Greetz,

BernardOn Tue, 08 Mar 2005 20:52:24 -0800, Brian Kropf wrote: