C2668 'ImGui::SliderFloat': ambiguous call to overloaded function #6197
whitechopchicken
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 2 comments
-
The SliderFloat function looks like this SliderFloat(const char* label, float* v, float v_min, float v_max, const char* format = "%.3f", ImGuiSliderFlags flags = 0); So you shouldn't pass that |
Beta Was this translation helpful? Give feedback.
0 replies
-
I commented out the "3." and it compiled. But I'm not sure how this will affect the original program. Thanks for your reply.
...
***@***.***
…------------------ 原始邮件 ------------------
发件人: "ocornut/imgui" ***@***.***>;
发送时间: 2023年2月26日(星期天) 凌晨2:29
***@***.***>;
***@***.******@***.***>;
主题: Re: [ocornut/imgui] C2668 'ImGui::SliderFloat': ambiguous call to overloaded function (Discussion #6197)
The SliderFloat function looks like this
SliderFloat(const char* label, float* v, float v_min, float v_max, const char* format = "%.3f", ImGuiSliderFlags flags = 0);
So you shouldn't pass that 3. at the end
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I built it, I reported it wrong
![error](https://user-images.githubusercontent.com/88885300/221370764-f7aa5d28-8243-4c9f-9657-fe9c50a5299e.png)
Beta Was this translation helpful? Give feedback.
All reactions