Thanks. I'm new to developing where I have to play with anything remotely resembling a makefile. I didn't know that in the additional libraries I had to put the -l in front. Ooops.

- Theo

Kwan Lowe wrote:

The project is a simple 'Terminal C++' project, with the only changes
being an added #include <SDL/SDL.h>, and the contents of main() [below].




Hmm.. Seems to build fine on mine, though execution fails because I don't have a sound device. To build this I did:

New C++ terminal project, accepted defaults.
Replaced main.cpp with your example code.
Went to Project Options|Linker then added the following:
 -lSDL

Ran Execute (F9).

How did you install your SDL libraries?



------------------------------------------------------------------------

Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to