Advertisement

Why isn't my SDL api working

Started by August 31, 2001 06:01 AM
1 comment, last by shun 23 years, 1 month ago
I tried the thing that was written in Linux game programming, with asking SDL and then using the INIT_SDL_VIDEO but when I compil, about 1 million errors coming up. Does someon know the complet SDL initialisation that work? Many thanks, shun Life is a game, sometimes you win, sometimes you lose but in the end everyone loses
Life is a game, sometimes you win, sometimes you lose but in the end everyone loses
After installing the SDL runtime and developer binaries, you can compile a program (at the command line), something like this:
gcc -Wall -o myprog myprog.c `sdl-config --libs --cflags`

In a makefile use $(shell sdl-config --cflags) and $(shell sdl-config --libs) instead.

[Resist Windows XP''s Invasive Production Activation Technology!]
Advertisement
Thanks for help ^__^

Sure, I''ll resist Windows XP, let''s try to boycot them, maybe they''ll understand they ask too much of us ^__^
Life is a game, sometimes you win, sometimes you lose but in the end everyone loses

This topic is closed to new replies.

Advertisement