[SDL] How to install SDL in ubuntu...

Sam Crow samuraileumas at yahoo.com
Fri Apr 27 18:56:40 PDT 2007


Colin Tuckley <colin <at> tuckley.org> writes:

> > #include <string>
> 
> it should be "string.h" not "string"
> 

Actually LazyFoo's tutorials are strictly C++.  This means that you need to
compile the program as a C++ file to get the program to run correctly.  Use the
g++ command to do your compiling, for example, instead of typing gcc to compile.



More information about the SDL mailing list