Menu

#615 GTK3V2MAIN: Windows build fails — gtk3lib and parts require GTK3 unconditionally

Next Release
closed
nobody
Bug (4)
V5.3.1GA
Windows
5
2026-05-22
2026-05-07
No

app/wlib/CMakeLists.txt unconditionally adds gtk3lib which calls
find_package(GTK3 REQUIRED), failing on Windows where there is no GTK3.
The default branch correctly guards this with if(XTRKCAD_USE_GTK) and
routes to mswlib on Windows.

app/bin/parts/CMakeLists.txt also calls find_package(GTK3 REQUIRED)
unconditionally, and app/bin/CMakeLists.txt adds parts without a Windows
guard.

Fix: add if(NOT WIN32) guards to route wlib to mswlib on Windows and
skip the GTK3-dependent parts subdirectory until it is ported to Win32/mswlib.

Branch: bug-615-win-gtk3lib-parts

Discussion

  • Martin Fischer

    Martin Fischer - 2026-05-10

    Duplicate: see bug #612

     
  • Martin Fischer

    Martin Fischer - 2026-05-15
    • Description has changed:

    Diff:

    
    
    • status: --> working-as-intended
    • XTrackCAD Version: --> V5.3.1GA
    • OS Level: -->
    • Operating System: --> Windows
    • Priority: --> 5
    • Milestone: --> Next Release
     
  • Martin Fischer

    Martin Fischer - 2026-05-15

    Windows + GTK3 build environment required, GTK3 wlib will replace mswlib on Windows

     
  • Martin Fischer

    Martin Fischer - 2026-05-22
    • status: working-as-intended --> closed
     
  • Martin Fischer

    Martin Fischer - 2026-05-22

    Closed after CI was changed to use MSYS-mingw GTK3 packages

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB