[SDL] what is wrong with this program?

Torsten Giebl wizard at syntheticsw.com
Sat Aug 5 13:20:16 PDT 2006


Hello !


The code itself compiles without problems.
On Linux it should be no problem to use
#include "SDL.h"


> #include <stdio.h>
> #include <stdlib.h>
>
>
> int main() {

Your main function should look like :

int main (int argc, char *argv []) {


Maybe an already installed SDL package is
getting in the way or something else.

I would delete all SDL and SDL*.devel Packages,
use make uninstall, download the latest SDL
version and compile it from the sources.



CU





More information about the SDL mailing list