Closed rty65tt closed 8 months ago
cmake doesnt use lv2_sep, just lv2. the lv2_sep is for makefiles as it needs a different target for monolithic builds and dsp/ui split builds.
I just:
git clone --recursive https://github.com/DISTRHO/DPF.git
mkdir build
cd build/
cmake.exe -G "MinGW Makefiles" ..
or
cmake.exe -G "Visual Studio 17 2022" ..
and see error:
CMake Error at cmake/DPF-plugin.cmake:198 (message):
Unrecognized target type for plugin: lv2_sep
Call Stack (most recent call first):
examples/CairoUI/CMakeLists.txt:4 (dpf_add_plugin)
Is this how it should be? I expect something else? I have Windows 10 Visual Studio 17 2022 and msys64/mingw-w64 ucrt.
ah yeah that is a typo on https://github.com/DISTRHO/DPF/blob/main/examples/CairoUI/CMakeLists.txt#L5 it should be lv2 instead of lv2_sep. somehow the CI checks never caught that as a problem
Visual Studio 17 2022 building success. Mingw-w64 not. Thanks.
FYI this was fixed in 6a62ed994029a40b759c0f40f685d00b740ae3b0
Mingw builing success. I was wrong yesterday.
What tools should I use for different platforms [win, mac, linux]? How build?