build fails
little-dude opened this issue · comments
Hello,
cargo build --release
fails with the following error:
error: couldn't read src/../games/invaders/src/invaders.h: No such file or directory (os error 2)
--> src/invaders.rs:10:6
|
10 | (include_bytes!("../games/invaders/src/invaders.h"), 0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: couldn't read src/../games/invaders/src/invaders.g: No such file or directory (os error 2)
--> src/invaders.rs:11:6
|
11 | (include_bytes!("../games/invaders/src/invaders.g"), 0x800),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: couldn't read src/../games/invaders/src/invaders.f: No such file or directory (os error 2)
--> src/invaders.rs:12:6
|
12 | (include_bytes!("../games/invaders/src/invaders.f"), 0x1000),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: couldn't read src/../games/invaders/src/invaders.e: No such file or directory (os error 2)
--> src/invaders.rs:13:6
|
13 | (include_bytes!("../games/invaders/src/invaders.e"), 0x1800),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 4 previous errors
error: Could not compile `i8080`.
To learn more, run the command again with --verbose.
It looks like some files are missing from the repo?
oops I just saw in the README that there are dependencies to install first. That's probably the cause of the error, sorry.
@little-dude That error means you don't have the source files for space invaders which you must get yourself separately.