So I followed the Amethyst Pong tutorial and am now building a little Game of Life program. It works fine if I run it with cargo run
but if I do cargo build
and then run
$ .\target\debug\game_of_life.exe
I get the error:
Error: Error { inner: Inner { source: None, backtrace: None, error: ConfigError(File(Os { code: 3, kind: NotFound, message: "The system cannot find the path specified." })) } }
If it was not already clear I am on Windows 10. I also created a blank rust project and tried running the executable of that and it worked fine:
$ cargo new temp
$ cd temp
$ cargo build
$ .\target\debug\temp.exe
Hello, world!
steps to reproduce (must have cargo and vulkan installed):
$ cargo install amethyst_tools
$ amethyst new temp
$ cd temp
$ cargo build
$ .\target\debug\temp.exe
Error: Error { inner: Inner { source: None, backtrace: None, error: ConfigError(File(Os { code: 3, kind: NotFound, message: "The system cannot find the path specified." })) } }
note that this:
$ amethyst new temp
$ cd temp
$ cargo run
works fine
Versions:
$ amethyst --version
Amethyst CLI 0.10.0
$ cargo --version
cargo 1.43.0 (3532cf738 2020-03-17)
Any ideas or any more information I should provide?