VOGONS

Common searches


First post, by SilverMiner

User metadata
Rank Newbie
Rank
Newbie

Hi there. I've been trying to build first prboomX, then dsda-doom 0.27.5, and then - the latest prboom-plus (post-2.5.1.4). I stopped at prboom-plus and I'm getting lots of undefined references when linking like this. Oh yeah, I got so far. Building drfrag's Zdoom 2.8.1f doesn't look like a tough problem anymore against this backdrop.

Spoiler

Linking CXX executable ..\prboom-plus.exe
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_SetupAPI':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:657: undefined reference to `ImmGetIMEFileNameA@12'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:670: undefined reference to `ImmGetContext@4'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:673: undefined reference to `ImmReleaseContext@8'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_GetId':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:591: undefined reference to `ImmGetIMEFileNameA@12'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:606: undefined reference to `GetFileVersionInfoSizeA@8'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:610: undefined reference to `GetFileVersionInfoA@16'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:611: undefined reference to `VerQueryValueA@16'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_ClearComposition':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:723: undefined reference to `ImmGetContext@4'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:727: undefined reference to `ImmNotifyIME@16'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:731: undefined reference to `ImmNotifyIME@16'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:732: undefined reference to `ImmReleaseContext@8'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_Disable':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:404: undefined reference to `ImmAssociateContext@8'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_ClearComposition':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:729: undefined reference to `ImmSetCompositionStringW@24'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:723: undefined reference to `ImmGetContext@4'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:727: undefined reference to `ImmNotifyIME@16'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:731: undefined reference to `ImmNotifyIME@16'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:732: undefined reference to `ImmReleaseContext@8'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:729: undefined reference to `ImmSetCompositionStringW@24'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_Init':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:363: undefined reference to `ImmGetContext@4'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:364: undefined reference to `ImmReleaseContext@8'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_GetId':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:591: undefined reference to `ImmGetIMEFileNameA@12'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:606: undefined reference to `GetFileVersionInfoSizeA@8'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:610: undefined reference to `GetFileVersionInfoA@16'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_GetReadingString':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:463: undefined reference to `ImmGetContext@4'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:538: undefined reference to `ImmReleaseContext@8'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_GetId':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:611: undefined reference to `VerQueryValueA@16'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_Quit':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:418: undefined reference to `ImmAssociateContext@8'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_Enable':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:389: undefined reference to `ImmAssociateContext@8'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_ClearComposition':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:723: undefined reference to `ImmGetContext@4'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:727: undefined reference to `ImmNotifyIME@16'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:731: undefined reference to `ImmNotifyIME@16'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:732: undefined reference to `ImmReleaseContext@8'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_Disable':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:404: undefined reference to `ImmAssociateContext@8'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:729: undefined reference to `ImmSetCompositionStringW@24'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `WIN_SetTextInputRect':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:244: undefined reference to `ImmGetContext@4'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:251: undefined reference to `ImmSetCompositionWindow@8'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:252: undefined reference to `ImmReleaseContext@8'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_HandleMessage':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:896: undefined reference to `ImmGetContext@4'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_GetCompositionString':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:739: undefined reference to `ImmGetCompositionStringW@16'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:744: undefined reference to `ImmGetCompositionStringW@16'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_HandleMessage':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:934: undefined reference to `ImmReleaseContext@8'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_ClearComposition':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:723: undefined reference to `ImmGetContext@4'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:727: undefined reference to `ImmNotifyIME@16'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:731: undefined reference to `ImmNotifyIME@16'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:732: undefined reference to `ImmReleaseContext@8'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_HandleMessage':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:929: undefined reference to `ImmGetContext@4'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_GetCandidateList':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:807: undefined reference to `ImmGetCandidateListW@16'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_GetCompositionString':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:739: undefined reference to `ImmGetCompositionStringW@16'
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:744: undefined reference to `ImmGetCompositionStringW@16'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_InputLangChanged':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:729: undefined reference to `ImmSetCompositionStringW@24'
H:\Compilers\sdl2v207\i686-w64-mingw32\lib\libSDL2.a(SDL_windowskeyboard.o): In
function `IME_GetCandidateList':
/Users/slouken/release/SDL/SDL2-2.0.7-source/foo-x86/../src/video/windows/SDL_wi
ndowskeyboard.c:811: undefined reference to `ImmGetCandidateListW@16'
collect2.exe: error: ld returned 1 exit status
src\CMakeFiles\prboom-plus.dir\build.make recipe for target 'prboom-plus.e
xe' failed
mingw32-make[2]: *** [prboom-plus.exe] Error 1
CMakeFiles\Makefile2:171: recipe for target 'src/CMakeFiles/prboom-plus.dir/all'
failed
mingw32-make[1]: *** [src/CMakeFiles/prboom-plus.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

What setup should I have to build any of these 3 for WinXP or even older?
I'm on Win 7 x64, I have setups for building crispy doom and zdoom 2.8.1f

The Boggy Region megawad released: https://www.doomworld.com/idgames/?id=19210