Skip to content

Studio: pin ImGuiFileDialog to the last commit with the API GUI.cpp uses - #450

Open
Fructose0517 wants to merge 1 commit into
ran-j:mainfrom
Fructose0517:fix-studio-pin-imguifiledialog
Open

Fructose0517 wants to merge 1 commit into
ran-j:mainfrom
Fructose0517:fix-studio-pin-imguifiledialog

Conversation

@Fructose0517

Copy link
Copy Markdown

What

ps2xStudio/CMakeLists.txt fetches ImGuiFileDialog at master. Its master changed in late November 2026 (a series of commits from 2026-11-28 on) and no longer has IGFD::FileDialog::Display, IsOk, GetFilePathName and Close, so a fresh configure now fails to compile ps2xStudio/src/GUI.cpp:

GUI.cpp(245,38): error C2039: 'Display' is not a member of 'IGFD::FileDialog'
GUI.cpp(246,42): error C2039: 'IsOk' is not a member of 'IGFD::FileDialog'
...

This pins it to d0e97b2, the last master commit before that change (March 2026: tag v0.6.8 and 8 later commits). GIT_SHALLOW is dropped because a shallow fetch needs a branch or tag name, not a commit.

Porting GUI.cpp to the new API is the alternative; pinning seemed the smaller change while that API is still moving (several commits a day at the moment).

Tests

Windows, MSVC 19.51, configured and built like the CI job (cmake -B build, cmake --build build --config Release): with this change on top of the MSVC attribute fix (needed for anything to build with MSVC on main), every target builds, ps2xStudio included, with no errors, and ps2x_tests passes 523 of 523. Without the pin, ps2xStudio stops at the errors above (the same build with the attribute fix only).

Not tried on Linux (no SDL2/FFmpeg development packages on this machine).

Related

The CI jobs fail on main for two other reasons, each with its own small PR: __attribute__ in the GS files under MSVC, and a missing <cstring> in code_generator_tests.cpp under GCC and Clang.

🤖 Generated with Claude Code

ps2xStudio fetched ImGuiFileDialog at master. Master changed in late
November 2026 and no longer has FileDialog::Display, IsOk,
GetFilePathName and Close, so GUI.cpp stopped compiling. Pin it to
d0e97b2 (master as of March 2026: v0.6.8 and 8 later commits).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant