We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm seeing this error when including the files:
include/implot/implot.cpp:279:84: error: invalid operands to binary expression ('ImVec4' and 'ImVec4') 279 | case ImPlotCol_AxisGrid: return GetStyleColorVec4(ImPlotCol_AxisText) * ImVec4(1,1,1,0.25f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ include/implot/implot.cpp:370:66: error: invalid operands to binary expression ('ImVec2' and 'const float') 370 | DrawList->PrimQuadUV(pos + ImVec2(glyph->Y0, -glyph->X0) * scale, pos + ImVec2(glyph->Y0, -glyph->X1) * scale, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~ include/implot/implot.cpp:370:111: error: invalid operands to binary expression ('ImVec2' and 'const float') 370 | DrawList->PrimQuadUV(pos + ImVec2(glyph->Y0, -glyph->X0) * scale, pos + ImVec2(glyph->Y0, -glyph->X1) * scale, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~ include/implot/implot.cpp:371:66: error: invalid operands to binary expression ('ImVec2' and 'const float') 371 | pos + ImVec2(glyph->Y1, -glyph->X1) * scale, pos + ImVec2(glyph->Y1, -glyph->X0) * scale, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~ include/implot/implot.cpp:371:111: error: invalid operands to binary expression ('ImVec2' and 'const float') 371 | pos + ImVec2(glyph->Y1, -glyph->X1) * scale, pos + ImVec2(glyph->Y1, -glyph->X0) * scale, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~ include/implot/implot.cpp:594:42: error: invalid operands to binary expression ('const ImVec2' and 'const ImVec2') 594 | ImRect outer_rect_pad(outer_rect.Min + pad, outer_rect.Max - pad);
Here's a simple version of the kind of file that would file:
#include "sokol_gfx.h" #include "sokol_app.h" #include "imgui/imgui.h" #include "util/sokol_imgui.h" #include "implot/implot.h" #include "implot/implot_internal.h" #include "implot/implot.cpp" #include "implot/implot_items.cpp"
Here's my build file:
clang++ -I include -I include/sokol -I include/imgui lib/macos/implot.cpp -o implot
More details:
clang++ --version Homebrew clang version 19.1.7 Target: arm64-apple-darwin23.6.0 Thread model: posix InstalledDir: /opt/homebrew/Cellar/llvm/19.1.7/bin Configuration file: /opt/homebrew/etc/clang/arm64-apple-darwin23.cfg
Any ideas what could be causing this? Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm seeing this error when including the files:
Here's a simple version of the kind of file that would file:
Here's my build file:
More details:
Any ideas what could be causing this? Thanks!
The text was updated successfully, but these errors were encountered: