Undefined references / API breakage #8679
Replies: 1 comment 1 reply
-
Everything is carefully documented in "API BREAKING CHANGES" section of imgui.cpp + Changelog.txt + release notes.
4929a8e (released august 2020, almost 5 years ago) added a third default parameter to bool InvisibleButton(const char* str_id, const ImVec2& size, ImGuiButtonFlags flags = 0) So it has 3 parameters since 5 years but the 3rd one may be omitted by call site. Indeed https://github.com/dfranx/imgui/tree/b29c8de3d045410cd73a6a708d6bc2ab41c30426 uses a very old version but this particular error should update without an issue. I have no idea why you have a linking error here and others. The errors suggest you may have another issue with your build system or setup. I believe you may be using new header files but linking with old compiled files from the old version. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to update SHADERed by dfranx: https://github.com/dfranx/SHADERed
to use my fork of his ImFileDialog library: https://github.com/samuelvenable/ImFileDialog
I am using the version of ImGui that comes with the master branch of SHADERed: https://github.com/dfranx/imgui/tree/b29c8de3d045410cd73a6a708d6bc2ab41c30426
These are the remaining errors I'm getting. I have no idea why there are undefined symbols simply by changing ImGui version. I've noticed over the years you are constantly causing API breakage by changing things and how they are implemented abruptly and without warning, thus breaking existing code. I'm assuming this is just another occurance of that at work here...
What equivalent functions/features do I need to use to get it to compile?
Errors are from this file: https://github.com/samuelvenable/ImFileDialog/blob/main/ImFileDialog.cpp
Edit:
I've noticed some of these errors explain what the code should be changed to, but not all of them do.
What puzzles me is that is says "did you mean: ImGui::InvisibleButton(two arguments and not three)" but everywhere in the file I am already using two arguments and not three. So it's unclear why it is showing that error to begin with.
Thank you!
Samuel
Beta Was this translation helpful? Give feedback.
All reactions