Deving With Vs 2005 C++


It has found the SDL header file, now you need to tell it where to find the SDL library. In the GCC Linker options, you need to add -lsdl.
Great stuff, that's got me past that little error...

Now I'm getting a whole HOST of other "undefined reference to" errors.
Having a poke about I did find the "libSDL.lai" which seems to have lots of paths in it (Listed under "dependency_libs") could that be something to do with it? (I'm rather in the dark here!)

You can see the whole build log (with errors) here


OK, Skip all that. I searched (!!!)...
Added in -lpthread as well and volia, no error messages at all.

Off to test it on the 2x now... I'll edit in the results.
Thanks slygamer.

Edit... YAY!! Complied GPE worked... OK the printf didn't appear on the serial output, but I'm sure there's a good reason for that :)

Thank you MadDog, Slygamer, your help is much appreciated.
 
Last edited by a moderator:
Back
Top