trumank / patternsleuth

Unreal Engine address scanner and test suite
37 stars 17 forks source link

Error when compiling #5

Closed u4pak closed 4 months ago

u4pak commented 4 months ago

Running cargo run --release fails on compiling patternsleuth. For reference, I am on Windows 10 22H2. Full CMD output (both in image and raw text) is below. Any help would be great!

image

C:\Users\shady\Desktop\patternsleuth>cargo run --release
   Compiling patternsleuth v0.1.0 (C:\Users\shady\Desktop\patternsleuth\patternsleuth)
error[E0599]: no associated item named `ElfImage` found for struct `game_loop::Main` in the current scope
  --> patternsleuth\src\image\mod.rs:22:9
   |
22 |         ElfImage(ElfImage, "image-elf"),
   |         ^^^^^^^^ associated item not found in `Main`
   |
  ::: patternsleuth\src\resolvers\unreal\game_loop.rs:12:1
   |
12 | pub struct Main(pub usize);
   | --------------- associated item `ElfImage` not found for this struct
13 | impl_resolver_singleton!(collect, Main);
   | --------------------------------------- in this macro invocation
   |
   = note: this error originates in the macro `$crate::image::image_type_reflection` which comes from the expansion of the macro `impl_resolver_singleton` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0599]: no associated item named `ElfImage` found for struct `FEngineLoopTick` in the current scope
  --> patternsleuth\src\image\mod.rs:22:9
   |
22 |         ElfImage(ElfImage, "image-elf"),
   |         ^^^^^^^^ associated item not found in `FEngineLoopTick`
   |
  ::: patternsleuth\src\resolvers\unreal\game_loop.rs:26:1
   |
26 | pub struct FEngineLoopTick(pub usize);
   | -------------------------- associated item `ElfImage` not found for this struct
27 | impl_resolver_singleton!(collect, FEngineLoopTick);
   | -------------------------------------------------- in this macro invocation
   |
   = note: this error originates in the macro `$crate::image::image_type_reflection` which comes from the expansion of the macro `impl_resolver_singleton` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0599`.
error: could not compile `patternsleuth` (lib) due to 2 previous errors