Closed hbina closed 2 years ago
Since you haven't shown any source code, i have to estimate.
Minifb has been dropped and isn't supported anymore. Please have a look inside the example
subdirectory to get a first starting point for your target.
@rzerres I have the same issue, I can basically create an empty cargo project and add "orbtk = "0.3.1-alpha3" to it and I will get exactly this error. Funny thing is when I clone the project, checkout to the exact same version and compile the examples it works flawlessly.
Seems like removing Cargo.lock and rebuilding is enough to actually compile but it still uses minifb, but grepping through any of the orbtk repositories I cant minifb anywhere as dependency…
Seems like removing Cargo.lock and rebuilding is enough to actually compile but it still uses minifb, but grepping through any of the orbtk repositories I cant minifb anywhere as dependency…
For now, in your projects Cargo.toml, please reference
[dependencies]
...
orbtk = { git = "https://github.com/redox-os/orbtk.git", branch = "develop" }
...
0.3.1-alpha3 has issues that have been resolved in upcoming 0.3.1-alpha4. Updates are checked in the develop branch. And there is no timeline for a new stable release.
@nifker is this still open? Did you try using 0.3.1-alpha4/development branch?
Attempting to compile a simple project fails.
To Reproduce Steps to reproduce the behavior:
cargo new orbtk-demo
.cd orbtk-demo
.cargo add orbtk
.cargo b
.Expected behavior It should compile just fine.
Desktop (please complete the following information):
Additional context
I tried to debug this but I have no idea how the project is structured. Grepping for
minifb
in this repo yields..nothing??I am guessing bumping the version is enough? The strange thing is that the example
showcase
works. However, if I try to use this repo as the crate instead withpath = ...
; it still fails!