[SDL] undefined reference to drawString et al

G B gbpublicemailaddress at yahoo.com
Tue Dec 7 10:50:29 PST 2004


I compile SDL tutorials with g++ lesson4.cpp -lSDL
-lSDLmail on Linux and I get undefined reference
errors for

drawString
stringWidth
freeFont
initFont

are these in some SDL library I didn't link?  The
tutorial code doesn't define them.

The tutorials giving the problem are lessons 4 and 5
at
http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/index

Thanks,
GB



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 





More information about the SDL mailing list