SDL book typo

NERILL at aol.com NERILL at aol.com
Tue Jul 31 17:45:40 BST 2001


Sorry guys. I just discovered that SDL_VIDEO and SDL_AUDIO do not exist and 
that I should have used:  SDL_INIT_VIDEO and SDL_INIT_AUDIO

The book that I am following (Linux game Programming by Mark Collins) had 
them as typos.
It is all working correctly now.
thanks anyway.

                                               Neri


Hi,
I am trying to use KDEveloper in RedHat Linux.
I installed the SDL-devel 1.2.2  rpm and SDL rpm

It accepts #include<SDL.h> after adding sdl-config --cflags to compiler 
options and sdl-config --libs to linker options

But now the problem is SDL_VIDEO and SDL_AUDIO undeclared.

How do I define those  variables?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20010731/31a19e31/attachment.html>


More information about the KDevelop mailing list