misc: update README Windows build instructions
Since we removed the requirement for libvlc from the build script, reflect it in the README.master
parent
f508cf7daf
commit
9713c5ac7e
19
README.md
19
README.md
|
|
@ -54,22 +54,11 @@ Other examples are in the examples directory.
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
To build `vlc-rs`, you must either build VLC from source or grab one of the pre-built packages from [videolan.org](https://www.videolan.org/vlc/download-windows.html).
|
vlc-rs uses libvlc's SDK and it is a required dependency that must be available at runtime.
|
||||||
|
For that, you must either build VLC from source or grab one of the pre-built packages from [videolan.org](https://www.videolan.org/vlc/download-windows.html).
|
||||||
|
|
||||||
If you're building for `x86_64`, then you should grab the download labelled "Installer for 64bit version".
|
Once you've downloaded your chosen package, you should extract it some place such that its path contains no spaces, and add that directory to your `PATH` so `libvlc.dll` is found at startup.
|
||||||
That installer is actually a self-extracting ZIP archive, so we can extract the contents without installing VLC itself.
|
For distribution of an executable program, you should probably copy over the necessary DLLs, as well as the `plugins` directory.
|
||||||
|
|
||||||
If you're building for `x86`, then you should either download labelled "7zip package" or the one labelled "Zip package".
|
|
||||||
|
|
||||||
Once you've downloaded your chosen package, you should extract it some place such that its path contains no spaces.
|
|
||||||
To point `vlc-rs` at your VLC package, you should set an appropriate environment variable:
|
|
||||||
|
|
||||||
- `VLC_LIB_DIR`: Directory of the VLC pacakge, any architecture
|
|
||||||
- `VLC_LIB_DIR_X86` : Directory of the VLC pacakge, `x86`-only
|
|
||||||
- `VLC_LIB_DIR_X86_64` : Directory of the VLC pacakge, `x86_64`-only
|
|
||||||
|
|
||||||
You should also add the package to your `PATH` variable if you intend to run the program.
|
|
||||||
For distribution of an executable program, you should probably copy over the neccessary DLLs, as well as the `plugins` directory.
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue