mdonoughe / obs-gpmdp

OBS Studio plugin for displaying information from Google Play Music Desktop Player
GNU General Public License v3.0
5 stars 1 forks source link

A litle help on how to build this plug in? #2

Open FranciscoTrigo opened 5 years ago

FranciscoTrigo commented 5 years ago

Hello, I am trying to build this in Arch linux (But I will be using under Windows), I already installed all that is said to be needed in the instructions and I try to build it with the cargo build command.

┌─[yamifrankc@Nozomi]─[1:46]─(~/gpm/obs-gpmdp)
└─| % > cargo build
   Compiling openssl v0.9.24
   Compiling unicase v2.1.0
   Compiling unicase v1.4.2
   Compiling syn v0.13.7
error: failed to run custom build command for `openssl v0.9.24`
process didn't exit successfully: `/home/yamifrankc/gpm/obs-gpmdp/target/debug/build/openssl-25e3859f3734ae66/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to detect OpenSSL version', /home/yamifrankc/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/build.rs:16:14
note: Run with `RUST_BACKTRACE=1` for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed

This is the error that I get. What can I do? Thanks

mdonoughe commented 5 years ago

That sounds like you need to install openssl-dev or openssl-devel or whatever it's called on your distribution.

However, it looks like you're building it for Linux. If you want to run you either need to cross compile or build on Windows. You shouldn't need opnessl then.