[MonoDevelop] Monodevelop does not create a binary when using SDL Image

Levi Bard taktaktaktaktaktaktaktaktaktak at gmail.com
Mon Jun 8 09:56:18 EDT 2009


> Hi, I'm trying to learn using Mono, but taking first steeps doing these
> tutorials. http://lazyfoo.net/SDL_tutorials/index.php
>
> So, trying from the beginning I tried loading an image, but curiously
> Monodevelop does not create an executable binary if I am using code from the
> SDL Image library.

SDL_image is a separate library - you'll need to add it to your project.

> The code compiles, but the binary is not created.
> If I leave out the code from SDL Image, but just use basic SDL code, it
> compiles and creates a binary which I can run.

Did you not get an error: "Undefined reference to IMG_Load"?


-- 
http://homes.eff.org/~barlow/EconomyOfIdeas.html
http://www.dreamsongs.com/MobSoftware.html
http://www.gnu.org/philosophy/shouldbefree.html


More information about the Monodevelop-list mailing list