library-loader icon indicating copy to clipboard operation
library-loader copied to clipboard

error when installing "error: failed to compile `library-loader v0.1.2 (/home/pi)`, intermediate artifacts can be found at `/home/pi/target`"

Open mooztaches opened this issue 5 years ago • 4 comments

hi, i have bad issues when trying to install it

during the compilling process i have

error[E0599]: no function or associated item named `new` found for trait object `dyn notify::Watcher` in the current scope
  --> src/watcher.rs:28:62
   |
28 |         let w: notify::RecommendedWatcher = notify::Watcher::new(tx.clone(), Duration::from_secs(2))?;
   |                                                              ^^^ function or associated item not found in `dyn notify::Watcher`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0599`.
error: failed to compile `library-loader v0.1.2 (/home/pi)`, intermediate artifacts can be found at `/home/pi/target`

Caused by:
  could not compile `library-loader`.

To learn more, run the command again with --verbose.

i don't know why...

mooztaches avatar Mar 24 '20 01:03 mooztaches

Is this on a raspberry pi? What model and what OS are you running?

olback avatar Mar 24 '20 19:03 olback

I ran into this exact issue just now trying to do a 'cargo run' from the 0.1.2 snapshot on macOS 10.14.6. The 'cargo build' works, but 'cargo run' fails after asking for the component search engine login and password.

jdotw avatar Mar 31 '20 08:03 jdotw

@jdotw Can you open a new issue and add some details? The issue you're describing does not seem to be related to @mooztaches issue.

olback avatar Jun 06 '20 21:06 olback

@mooztaches

You have to be in either the ll-gui or ll-cli directory to build the GUI or the CLI respectively. To build the GUI, you can run cd ll-gui && cargo build --release --bin library-loader-gui; cd .. .

olback avatar Jun 28 '20 23:06 olback