Updated README.md
This commit is contained in:
parent
3bfa4cb469
commit
845e9d6e65
1 changed files with 16 additions and 10 deletions
26
README.md
26
README.md
|
|
@ -43,25 +43,31 @@ You can build with `clang`, although in that case the CMakeFile defaults to usin
|
||||||
### Building with MSVC on windows
|
### Building with MSVC on windows
|
||||||
|
|
||||||
The simplest is to use `vcpkg` as a package manager, which will give you access to `libsndfile`.
|
The simplest is to use `vcpkg` as a package manager, which will give you access to `libsndfile`.
|
||||||
```sh
|
```powershell
|
||||||
PS> git clone https://github.com/Microsoft/vcpkg.git
|
git clone https://github.com/Microsoft/vcpkg.git
|
||||||
PS> cd vcpkg
|
cd vcpkg
|
||||||
PS> .\bootstrap-vcpkg.bat
|
.\bootstrap-vcpkg.bat
|
||||||
PS> .\vcpkg integrate install
|
.\vcpkg integrate install
|
||||||
PS> .\vcpkg integrate powershell
|
.\vcpkg integrate powershell
|
||||||
```
|
```
|
||||||
|
|
||||||
Assuming you want to build for x64, install the relevant packages as follows
|
Assuming you want to build for x64, install the relevant packages as follows
|
||||||
```sh
|
```powershell
|
||||||
PS> .\vcpkg.exe install libsndfile:x64-windows zlib:x64-windows libsamplerate:x64-windows
|
.\vcpkg.exe install libsndfile:x64-windows zlib:x64-windows libsamplerate:x64-windows
|
||||||
```
|
```
|
||||||
|
|
||||||
In the sfizz source directory, you can then build with CMake as usual, although you should clone the windows branch:
|
In the sfizz source directory, you can then build with CMake as usual, although you should clone the windows branch:
|
||||||
```sh
|
```powershell
|
||||||
git clone --branch windows --recursive https://github.com/sfztools/sfizz.git
|
git clone --branch windows --recursive https://github.com/sfztools/sfizz.git
|
||||||
cd sfizz
|
cd sfizz
|
||||||
mkdir build && cd build
|
mkdir build
|
||||||
|
cd build
|
||||||
cmake .. -DSFIZZ_JACK=OFF "-DCMAKE_TOOLCHAIN_FILE=C:\Users\Paul\source\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows
|
cmake .. -DSFIZZ_JACK=OFF "-DCMAKE_TOOLCHAIN_FILE=C:\Users\Paul\source\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows
|
||||||
cmake --build . -j 16 --config Release
|
cmake --build . -j 16 --config Release
|
||||||
```
|
```
|
||||||
|
|
||||||
|
This builds the lv2 plugin in `build\lv2\Release` and the Turtle files in `build\sfizz.lv2`, but the installation procedure is not entirely automatic yet.
|
||||||
|
In particular, having the required DLLs along with `sfizz.dll` is actually not helpful because the system cannot find dlls from another dll's root directory.
|
||||||
|
You thus need to add all of `FLAC.dll`, `libsndfile-1.dll`, `vorbis.dll`, `ogg.dll`, `vorbisenc.dll` in some directory in your `PATH` variable, and manually add `sfizz.dll` to the `sfizz.lv2` directory, and the the `sfizz.lv2` directory to `%APPDATA%\Roaming\LV2`.
|
||||||
|
Ardour should then find the plugin correctly and load it without issues.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue