psst: Build error on linux

I did the

$ git submodule update --recursive --init
$ cargo build --release 

And then it failed with this lengthy error: https://mystb.in/IntentNaplesCut.sql

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (4 by maintainers)

Most upvoted comments

Can you please confirm that the merged soundio-rs PR fixes the issue? Thanks!

I think he was referring to my comment. Sorry for creating a confusion

I just didn’t notice your comment 😛

Did you run git submodule update --recursive --init?

error[E0277]: the trait bound `miniaudio::Error: StdError` is not satisfied
   --> psst-core/src/audio_output.rs:119:33
    |
119 |         Error::AudioOutputError(Box::new(err))
    |                                 ^^^^^^^^^^^^^ the trait `StdError` is not implemented for `miniaudio::Error`
    |
    = note: required for the cast to the object type `dyn StdError + Send`

error: aborting due to previous error

Edit: This is the only error. Replacing this with some StdError implementing error, it compiles.

Oh, alright! In the longer term I was thinking about switching to miniaudio library, can you please test how the miniaudio branch acts on Linux? At least the build should be much simpler.