pound icon indicating copy to clipboard operation
pound copied to clipboard

[BLOCKER] Windows Fail To Find `imgl3wProcs`

Open GloriousTacoo opened this issue 3 months ago • 1 comments

1. Context

  • Current Behaviour: Windows fail to link the Pound executable.
  • The Problem: For some reason lld-link is failing to find imgl3wProcs. I have literally zero idea how to fix this. The Windows build is broken until this is resolved.

2. Acceptance Criteria

  • [ ] Code compiles.

3. Attachments

Pound Build Log:

>------ Build started: Project: CMakeLists, Configuration: Debug ------
  [0/2] Re-checking globbed directories...
  [1/6] Building CXX object CMakeFiles\imgui.dir\extern\cimgui\imgui\backends\imgui_impl_opengl3.cpp.obj
  [2/6] Building CXX object CMakeFiles\imgui.dir\extern\cimgui\imgui\backends\imgui_impl_sdl3.cpp.obj
  [3/6] Linking CXX shared library bin\windows\imgui.dll
  [4/5] Linking CXX executable bin\windows\Pound.exe
  FAILED: [code=4294967295] bin/windows/Pound.exe 
  C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\Microsoft Visual Studio\18\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --msvc-ver=1951 --intdir=CMakeFiles\Pound.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100261~1.0\x64\rc.exe --mt=C:\PROGRA~1\MICROS~1\18\COMMUN~1\VC\Tools\Llvm\x64\bin\llvm-mt.exe --manifests  -- C:\PROGRA~1\MICROS~1\18\COMMUN~1\VC\Tools\Llvm\x64\bin\lld-link.exe /nologo CMakeFiles\Pound.dir\src\main.c.obj  /out:bin\windows\Pound.exe /implib:lib\windows\Pound.lib /pdb:bin\windows\Pound.pdb /version:0.0 /debug /INCREMENTAL /subsystem:console  lib\windows\PoundCore.lib  lib\windows\PoundGui.lib  C:\Users\Admin\Development\Pound\extern\ballistic\windows\lib\Ballistic.lib  lib\windows\mimalloc-debug.dll.lib  lib\windows\SDL3-static.lib  lib\windows\imgui.lib  C:\Users\Admin\Development\Pound\extern\ballistic\windows\lib\lua51.lib  kernel32.lib  user32.lib  gdi32.lib  winmm.lib  imm32.lib  ole32.lib  oleaut32.lib  version.lib  uuid.lib  advapi32.lib  setupapi.lib  shell32.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
  LINK Pass 1: command "C:\PROGRA~1\MICROS~1\18\COMMUN~1\VC\Tools\Llvm\x64\bin\lld-link.exe /nologo CMakeFiles\Pound.dir\src\main.c.obj /out:bin\windows\Pound.exe /implib:lib\windows\Pound.lib /pdb:bin\windows\Pound.pdb /version:0.0 /debug /INCREMENTAL /subsystem:console lib\windows\PoundCore.lib lib\windows\PoundGui.lib C:\Users\Admin\Development\Pound\extern\ballistic\windows\lib\Ballistic.lib lib\windows\mimalloc-debug.dll.lib lib\windows\SDL3-static.lib lib\windows\imgui.lib C:\Users\Admin\Development\Pound\extern\ballistic\windows\lib\lua51.lib kernel32.lib user32.lib gdi32.lib winmm.lib imm32.lib ole32.lib oleaut32.lib version.lib uuid.lib advapi32.lib setupapi.lib shell32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\Pound.dir/intermediate.manifest CMakeFiles\Pound.dir/manifest.res" failed (exit code 1) with the following output:
C:\Users\Admin\Development\Pound\build\debug\lld-link : error : undefined symbol: imgl3wProcs
  
  >>> referenced by C:\Users\Admin\Development\Pound\src\main.c
  
  >>>               CMakeFiles\Pound.dir\src\main.c.obj
  
  ninja: build stopped: subcommand failed.

GloriousTacoo avatar Aug 15 '26 08:08 GloriousTacoo

Closed with f27e033f082582495f4ae27b70d40d52bcb26436.

GloriousTacoo avatar Aug 17 '26 20:08 GloriousTacoo