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

Minguo ming at alloymail.com
Sat Jun 6 13:31:37 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.

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.

//Base SDL function
SDL_LoadBMP("picture.bmp");

Works fine, compiles, and I can run the binary that's created. (Which I can
also run from the console.) However,

//SDL Image function
IMG_Load("picture.bmp" );

Compiles, but if I try to 'run' the code in monodevelop I get an error
message.

"Cannot execute SDL Test"  (SDL Test is the name of my project.)

And there is no binary crated in the debug folder.
Any Idea what most likley painfully obvious thing I've done/not
done/overlooked that could be doing this?
I am using Xubuntu 9.4 and SDL and all of its related libraries are all
installed from Synaptic, Mono and Monodevelop as well.
-- 
View this message in context: http://www.nabble.com/Monodevelop-does-not-create-a-binary-when-using-SDL-Image-tp23903963p23903963.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.



More information about the Monodevelop-list mailing list