aloucks / imgui-glfw-support

GLFW support for imgui-rs
Apache License 2.0
3 stars 2 forks source link

Does not support imgui-rs? #6

Open jacksonlevine opened 3 months ago

jacksonlevine commented 3 months ago

I cannot install this alongside the imgui crate, it mentions conflict over imgui-sys.

imgui = "0.12.0" imgui-glfw-support = "0.4.1" imgui-opengl-renderer = "0.12.1"

error: failed to select a version for imgui-sys. ... required by package imgui v0.5.0 ... which satisfies dependency imgui = "^0.5" of package imgui-glfw-support v0.4.1 ... which satisfies dependency imgui-glfw-support = "^0.4.1" of package voxelland v0.1.0 (C:\Users\jack\Documents\GitHub\voxelland\lib) ... which satisfies path dependency voxelland (locked to 0.1.0) of package voxelland-client v0.1.0 (C:\Users\jack\Documents\GitHub\voxelland\binaries\client) versions that meet the requirements ^0.5.0 are: 0.5.0

the package imgui-sys links to the native library imgui, but it conflicts with a previous package which links to imgui as well: package imgui-sys v0.12.0 ... which satisfies dependency imgui-sys = "^0.12.0" of package imgui v0.12.0 ... which satisfies dependency imgui = "^0.12.0" of package voxelland v0.1.0 (C:\Users\jack\Documents\GitHub\voxelland\lib) ... which satisfies path dependency voxelland (locked to 0.1.0) of package voxelland-client v0.1.0 (C:\Users\jack\Documents\GitHub\voxelland\binaries\client) Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the links = "imgui" value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.

aloucks commented 3 weeks ago

This crate hasn't been updated for the latest imgui.