Visual C++ SDL Linker Errors
Posted: Thu Oct 07, 2010 5:18 am
I just made a program but I want to test it in Release Mode but every time I try to build it it gives me this:
It builds and runs fine in debug but not release.
Any help is GREATLY appreciated.
Code: Select all
Linking...
game.obj : error LNK2001: unresolved external symbol _SDL_Init
game.obj : error LNK2001: unresolved external symbol _Mix_PlayChannelTimed
game.obj : error LNK2001: unresolved external symbol _Mix_HaltChannel
game.obj : error LNK2001: unresolved external symbol _SDL_RWFromFile
game.obj : error LNK2001: unresolved external symbol _SDL_FillRect
game.obj : error LNK2001: unresolved external symbol _Mix_LoadWAV_RW
game.obj : error LNK2001: unresolved external symbol _SDL_Delay
game.obj : error LNK2001: unresolved external symbol _Mix_FreeChunk
game.obj : error LNK2001: unresolved external symbol _SDL_MapRGB
game.obj : error LNK2001: unresolved external symbol _SDL_CreateRGBSurface
game.obj : error LNK2001: unresolved external symbol _Mix_OpenAudio
game.obj : error LNK2001: unresolved external symbol _SDL_Quit
GUI_VImgPanel.obj : error LNK2001: unresolved external symbol _SDL_UpperBlit
GUI_VImgPanel.obj : error LNK2001: unresolved external symbol _SDL_SetColorKey
input.obj : error LNK2001: unresolved external symbol _SDL_PollEvent
input.obj : error LNK2001: unresolved external symbol _SDL_GetKeyState
music.obj : error LNK2001: unresolved external symbol _Mix_Quit
music.obj : error LNK2001: unresolved external symbol _Mix_Init
music.obj : error LNK2001: unresolved external symbol _Mix_CloseAudio
text.obj : error LNK2001: unresolved external symbol _TTF_RenderText_Solid
text.obj : error LNK2001: unresolved external symbol _TTF_OpenFont
text.obj : error LNK2001: unresolved external symbol _TTF_CloseFont
text.obj : error LNK2001: unresolved external symbol _TTF_Init
text.obj : error LNK2001: unresolved external symbol _TTF_Quit
text.obj : error LNK2001: unresolved external symbol _SDL_FreeSurface
video.obj : error LNK2001: unresolved external symbol _SDL_WM_SetIcon
video.obj : error LNK2001: unresolved external symbol _SDL_DisplayFormat
video.obj : error LNK2001: unresolved external symbol _SDL_SetVideoMode
video.obj : error LNK2001: unresolved external symbol _SDL_WM_SetCaption
video.obj : error LNK2001: unresolved external symbol _SDL_ShowCursor
video.obj : error LNK2001: unresolved external symbol _SDL_Flip
video.obj : error LNK2001: unresolved external symbol _IMG_Load
MSVCRT.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16
C:\Users\Randomdever\Documents\Visual Studio 2008\Projects\HTGR_P1_A1\Release\HTGR_P1_A1.exe : fatal error LNK1120: 34 unresolved externals
Any help is GREATLY appreciated.