Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 07 Jul 2012
Offline Last Active Feb 16 2013 05:19 AM

Posts I've Made

In Topic: Drawing diagonal lines with SDL

09 July 2012 - 04:21 AM

everything works now. I use the function lineRGBA from SDL_gfx for now to draw a horizontal line. Hope it'll be not too slow, but I guess it'll be ok.
Thanks for your help.

In Topic: Drawing diagonal lines with SDL

07 July 2012 - 03:39 PM

Thanks for all replies. I got the SDL_gfx compiled :)

I got a diagonal line when compiling the Release Version, but in Debug mode I got an error (LINK : fatal error LNK1104: Datei "SDL_gfx.lib" kann nicht geöffnet werden.(=>could not open file "SDL_gfx.lib")) The configuration for Debug and Release seem to be the same.

@ zacaj: I tried your lib-file, but got the same error in Debug mode... Thanks for sharing it :) I guess it's a problem with my preferences.

Tomorrow I'll go on... In germany it's late and my kids will wake me up early in the morning.
Greetings and good night for now.

In Topic: Drawing diagonal lines with SDL

07 July 2012 - 02:14 PM

Thanks for your reply.

Do you use SDL_gfx? I tried to compile it with VC++ 2010 Express, but got compile errors. I tried SDL_draw lib too, but I got an uncaught exception while running my program with SDL_draw lib. And the debugger shows me that the problem was in der SDL_draw code...
I'll try to compile SDL_gfx once more. I guess it's just a problem with setting the paths or with the linker...

If someone knows why my code above only draws horizontal lines, feel free to give me a hint.