[SDL] Re: A little Problem...

Damien Chavarria damien.chavarria at enst-bretagne.fr
Mon Apr 10 05:43:41 PDT 2000


Peter Kling wrote:
> 
> g++ main.cpp -o main -lSDL
> 
> istn't that right?

Add -lpthread to this line.

Or better `sdl-config --libs` which will output something like :
"-L/usr/local/lib -lSDL -lpthread"...

-- 
Damien Chavarria.



More information about the SDL mailing list