[SDL] A problem about SDL

Ryan C. Gordon icculus at icculus.org
Sat Jun 23 20:21:24 PDT 2007


>      [root at RedHat share]# g++ -o test test.cpp -ISDL

That "-ISDL" probably needs to be "-lSDL"  (lowercase L, not uppercase i).


You might want to do this, though:

    g++ -o test test.cpp `sdl-config --cflags --libs`

(note the "`" is not a "'")

--ryan.




More information about the SDL mailing list