带REAL的SDL2链接器错误

时间:2015-06-09 02:54:54

标签: sdl-2

不知道SDL2.lib试图找到什么,但它似乎构建不正确或其他东西。即使使用SDL 2.0.3网站上提供的文件,由于缺少符号,我也无法将我的程序链接起来。

1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_GetBasePath_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_GetPrefPath_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_NumHaptics_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticName_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticOpen_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticOpened_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticIndex_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_MouseIsHaptic_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticOpenFromMouse_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_JoystickIsHaptic_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticOpenFromJoystick_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticClose_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticNumEffects_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticNumEffectsPlaying_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticQuery_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticNumAxes_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticEffectSupported_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticNewEffect_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticUpdateEffect_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticRunEffect_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticStopEffect_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticDestroyEffect_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticGetEffectStatus_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticSetGain_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticSetAutocenter_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticPause_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticUnpause_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticStopAll_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticRumbleSupported_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticRumbleInit_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticRumblePlay_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_HapticRumbleStop_REAL
1>SDL2.lib(SDL_dynapi.obj) : error LNK2001: unresolved external symbol _SDL_GetPowerInfo_REAL

任何人都知道为什么无法找到这些功能,或者为什么他们甚至在最后都有_REAL?

0 个答案:

没有答案