space-menace
space-menace copied to clipboard
Cargo run command error in Windows 10
Command: cargo run --release
My changes:
cargo.toml
Before
[dependencies.amethyst]
version = "0.15.0"
default-features = false
features = ["json", "animation"]
[features]
default = ["metal"]
metal = ["amethyst/metal"]
vulkan = ["amethyst/vulkan"]
After
[dependencies.amethyst]
version = "0.15.0"
default-features = false
features = ["json", "animation", "no-slow-safety-checks"]
[features]
default = ["vulkan"]
empty = ["amethyst/empty"]
metal = ["amethyst/metal"]
vulkan = ["amethyst/vulkan"]
Log:
warning: unused import: GenericBox
src\entities\flier.rs:15:28 | 15 | Directions, Flier, GenericBox, Motion, | ^^^^^^^^^^ | = note:
#[warn(unused_imports)]
on by default
warning: 1 warning emitted
Finished release [optimized] target(s) in 4m 03s
Running `target\release\space-menace.exe`
[INFO][amethyst::app] Initializing Amethyst...
[INFO][amethyst::app] Version: 0.15.0
[INFO][amethyst::app] Platform: x86_64-pc-windows-msvc
[INFO][amethyst::app] Amethyst git commit: UNKNOWN
[INFO][amethyst::app] Rustc version: 1.51.0-nightly Nightly
[INFO][amethyst::app] Rustc git commit: a2f8f6281817d430e20726128b739d3c6708561c
[INFO][winit::platform::platform::window] Guessed window DPI factor: 1
thread 'linked_hash_map::Node<u32, rusttype::gpu_cache::Row>
uninitialized, which is invalid', C:\Users\andre.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\core\src\mem\mod.rs:671:9
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
[ERROR][rendy_resource::escape] Terminal must be dropped after all Escape
s
[ERROR][rendy_resource::escape] Terminal must be dropped after all Escape
s
[ERROR][rendy_resource::escape] Terminal must be dropped after all Escape
s
[ERROR][rendy_resource::escape] Terminal must be dropped after all Escape
s
[ERROR][rendy_resource::escape] Terminal must be dropped after all Escape
s
[ERROR][rendy_resource::escape] Terminal must be dropped after all Escape
s
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(196608) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(1024) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(524288) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(131072) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(32768) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(4194304) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(110592) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(262144) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(933888) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(1048576) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(229376) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(8192) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(65536) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(425984) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(4096) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(2097152) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(180224) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(131072) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(2048) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(1048576) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(256) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(16384) is still used
[ERROR][rendy_descriptor::allocator] Not all descriptor sets were deallocated
[ERROR][rendy_descriptor::allocator] Descriptor pool is still in use during allocator disposal. DescriptorPool { size: 64, free: 62, freed: 0 }
[ERROR][rendy_descriptor::allocator] Not all descriptor sets were deallocated
[ERROR][rendy_descriptor::allocator] Descriptor pool is still in use during allocator disposal. DescriptorPool { size: 64, free: 63, freed: 0 }
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
[ERROR][rendy_resource::escape] Escape
was dropped after a Terminal
?
error: process didn't exit successfully: target\release\space-menace.exe
(exit code: 101)
Note:
It opens the game window, but then it closes, and I tested it without the flag --release
the error persisted
Version OS: Windows 10 20H2 19042.804
I have the same issue. It looks like it's similar to this issue here in theta-wave
, which fixed it in its develop
branch:
https://github.com/amethyst/theta-wave/issues/100
I had a similar problem with windows 10. This looks like a dependency problem (just guessing). I did the following to make it work:
- Changed the cargo.TOML: ` [dependencies.amethyst] version = "0.15.3" default-features = false features = ["json", "animation", "no-slow-safety-checks"]
[features] default = ["vulkan"] metal = ["amethyst/metal"] vulkan = ["amethyst/vulkan"] `
-
Deleted the "Cargo.lock" file. This allows to select newer crates.
-
Adjusted the resolution in resources\display_config.ron
Run it from with "cargo run" otherwise the programm will not find its resource and asset folder.