Original Post
I just tossed together two small DLLs and linked them to a project for testing. I included them both, and linked them both, but one of them isn't correctly linked it seems. The one that isn't working(SDL_gfx) gives me the typical '[Linker Error]undefined reference' to any function calls from that dll(SDL_gfx). SDL_gfx is placed correctly in the right files for Dev C++ to use, and I even replaced it several times to be sure. It still gives me linker errors. The problem seems to be with the fact that my SDL_gfx dll uses other dlls that I downloaded. (SDL_ttf and SDL_image) In the linker parameters of the project, I have linked the libraries in multiple orders, and the all seem to cause the same linker errors. I currently am linking them like this: -lmingw32 -lSDLmain -lSDL -lSDL_image -lSDL_ttf -SDL_gfx -lSDL_input SDL_input is the other dll I made, and it works fine. It doesn't rely on SDL_image, or SDL_ttf, but only SDL itself. It's SDL_gfx I have issues with. Any suggestions?