当我试图构建我的旧代码时,我不记得什么版本是imgui,但是我得到了这个错误。我搜索了整个网络,但什么也找不到。
ImGui::GetIO().ConfigFlags |= ImGuiConfigFlags_ViewportsEnable;
if (io.ConfigFlags & ImGuiConfigFlags_ViewportsEnable)
{
ImGui::UpdatePlatformWindows();
ImGui::RenderPlatformWindowsDefault();
} 错误:
Error (active) E0020 identifier "ImGuiConfigFlags_ViewportsEnable" is undefined
Error (active) E0135 namespace "ImGui" has no member "UpdatePlatformWindows"
Error (active) E0135 namespace "ImGui" has no member "RenderPlatformWindowsDefault"Imgui版本: v1.88
发布于 2022-07-02 16:58:29
该代码使用伊姆贵对接支行,您可能使用的是主分支。
您可以切换到对接分支,或者在不需要时移除这些代码行。
https://stackoverflow.com/questions/72807349
复制相似问题