Skip to content

implot包无法编译 #7773

@DreamSilverFox

Description

@DreamSilverFox

你在什么场景下需要该功能?

implot.cpp
implot.cpp(345): error C2039: "FontSize": 不是 "ImFont" 的成员
C:\Users\Foxof\AppData\Local.xmake\packages\i\imgui\v1.92.0\c88a03217b514dc0951fdab670a3daa8\include\imgui.h(3774): note: 参见“ImFont”的声明
implot.cpp(345): error C2737: “scale”: 必须初始化 const 对象
implot.cpp(362): error C2039: "FindGlyph": 不是 "ImFont" 的成员
C:\Users\Foxof\AppData\Local.xmake\packages\i\imgui\v1.92.0\c88a03217b514dc0951fdab670a3daa8\include\imgui.h(3774): note: 参见“ImFont”的声明

in implot.cpp
if you want to get more verbose errors, please see:
-> C:\Users\Foxof\AppData\Local.xmake\cache\packages\2507\i\implot\v0.16\installdir.failed\logs\install.txt
error: install failed!

描述可能的解决方案

因为implot包底层依赖的的imgui发生了破坏性改进,implot包 作者已经进行改进,但是改进只提交到了master分支,并没有新的tag(上一次更新1.6tag还是2023年)。
所以implot包现在已经无法安装.

描述你认为的候选方案

No response

其他信息

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions