[Dev-C++] Linker errors when trying to compile a program using SDL
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: NBarnes <nw_...@ya...> - 2003-04-08 07:44:04
|
My current application uses Simple DirectMedia Layer. I'm trying to
move it over from MSVC++ to Dev C++. The code compiles nice and clean
under MSVC++, but when I try to complile it in Dev-C++, I get 22 linker
errors, of the pattern...
undefined reference to `SDL_RWFromFile
undefined reference to `SDL_LoadBMP_RW'
and others.
I am using SDL_LoadBMP in my code, but I am not calling CDL_LoadBMP_RW
myself. I have installed the SDL dev pack for Dev-C++ and have gone
in to confirm the presense of both the appropriate header files and
SDL.dll, and both appear to be fine.
Can anybody help me resolve this problem? I want to open this
project to several other programmers I know, but I cannot until I
resolve this problem, as I want dev work to continue using Dev-C++.
NBarnes
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
|