Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


ysmtek

Member Since 20 Sep 2012
Offline Last Active Aug 02 2014 07:41 AM

Topics I've Started

SDL_gfx and undefined references, undefined references everywhere

21 September 2012 - 12:23 PM

Hi there, I'm trying to draw a circle to a surface using sdl_gfx. I've compiled a .dll, an .a and a .lib of sdl_gfx myself succesfully (I thought). When I link my project to the libraries, i get errors at compile time as such:

e:/development/mingw/bin/../lib/gcc/mingw32/4.7.0/../../../SDL_gfx.lib(SDL_gfxPrimitives.o): In function `fastPixelColor':
E:\DEVELOPMENT\workspace\sdl_gfx\Debug/../SDL_gfxPrimitives.c:198: undefined reference to `_SDL_LockSurface'

and literally hundreds of them. I must have made an oopsie when compiling sdl_gfx or linking my own project to it.

Can anybody explain what I'm doing wrong here? I'm pretty sure this is caused by myself here.

Thanks in advance.

PARTNERS