darkrenaissance / darkfi

Anonymous. Uncensored. Sovereign.
https://dark.fi
GNU Affero General Public License v3.0
1.13k stars 121 forks source link

error compiling ircd #269

Closed surajsharma closed 7 months ago

surajsharma commented 7 months ago

i could nor run make ircd successfully as per instructions given here. due to the following errors:

error: couldn't read src\contract\money\src\../proof/mint_v1.zk.bin: The system cannot find the file specified. (os error 2)
  --> src\contract\money\src\entrypoint.rs:89:27
   |
89 |     let mint_v1_bincode = include_bytes!("../proof/mint_v1.zk.bin");
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)

error: couldn't read src\contract\money\src\../proof/burn_v1.zk.bin: The system cannot find the file specified. (os error 2)
  --> src\contract\money\src\entrypoint.rs:90:27
   |
90 |     let burn_v1_bincode = include_bytes!("../proof/burn_v1.zk.bin");
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)

error: couldn't read src\contract\money\src\../proof/token_mint_v1.zk.bin: The system cannot find the file specified. (os error 2)
  --> src\contract\money\src\entrypoint.rs:92:33
   |
92 |     let token_mint_v1_bincode = include_bytes!("../proof/token_mint_v1.zk.bin");
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)

error: couldn't read src\contract\money\src\../proof/token_freeze_v1.zk.bin: The system cannot find the file specified. (os error 2)
  --> src\contract\money\src\entrypoint.rs:93:32
   |
93 |     let token_frz_v1_bincode = include_bytes!("../proof/token_freeze_v1.zk.bin");
   |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)

error: could not compile `darkfi-money-contract` (lib) due to 4 previous errors
make[1]: *** [Makefile:25: money_contract.wasm] Error 101
make[1]: Leaving directory 'C:/Users/suraj/ez/darkfi/src/contract/money'
make: *** [Makefile:45: contracts] Error 2