Shadlock0133 / music-vibes

Desktop app for translating audio output into vibrations
MIT License
25 stars 4 forks source link

Add install/build instructions #2

Closed guiweber closed 2 years ago

guiweber commented 2 years ago

I downloaded the source code but when I run rustc main.rs I get a bunch of errors. Seems like some dependencies may need to be installed first? It would be good to add install/build instructions!

Shadlock0133 commented 2 years ago

Instead of using just rustc, practically all Rust project use cargo as package manager for building them. So to build you run cargo build (or cargo build --release for optimized build), which creates executable in target/{debug, release}/program{.exe}; or you can install with cargo install --path ..

Thanks for suggestion, I will add instructions in the readme.