rust-av / ssimulacra2_bin

Binary interface for the ssimulacra2 Rust port
BSD 2-Clause "Simplified" License
40 stars 10 forks source link

No instructions or output from executable #18

Open cdgriffith opened 1 year ago

cdgriffith commented 1 year ago

Built with cargo build and tried cargo build --bins -r on Windows 11

PS > .\ssimulacra2_rs.exe
PS > .\ssimulacra2_rs.exe --help
PS > .\ssimulacra2_rs.exe /h
PS > .\ssimulacra2_rs.exe og.png og100.jpg

Tried on WSL Ubuntu 22.04 but it had this error after building:

/ssimulacra2_rs
./ssimulacra2_rs: error while loading shared libraries: libvapoursynth-script.so.0: cannot open shared object file: No such file or directory

I did a make uninstall on vapoursynth as I don't need video support, but then had this error during compile:

  = note: /usr/bin/ld: cannot find -lvapoursynth: No such file or directory
          /usr/bin/ld: cannot find -lvapoursynth-script: No such file or directory
          collect2: error: ld returned 1 exit status

error: could not compile `ssimulacra2_rs` due to previous error

So it seems not optional?

FreezyLemon commented 1 year ago

The "video" feature is optional, but enabled by default. You can disable the feature by using cargo build --no-default-features.