qtractor icon indicating copy to clipboard operation
qtractor copied to clipboard

qtractor fails to find external vst3sdk

Open yurivict opened this issue 3 years ago • 10 comments

vst3sdk-3.7.4_build_25 doesn't install any pkgconfig files, but qtractor attempts pkg_check_modules when CONFIG_VST3SDK isn't set. Therefore, it can never find externally installed vst3sdk.

Then, cmake expects files at ${CONFIG_VST3SDK}/base/source/baseiids.cpp which isn't installed by the vst3sdk package.

yurivict avatar Apr 17 '22 23:04 yurivict

maybe cmake -DCONFIG_VST3SDK=/path/to/VST_SDK/VST3_SDK ... will help?

rncbc avatar Apr 17 '22 23:04 rncbc

maybe cmake -DCONFIG_VST3SDK=/path/to/VST_SDK/VST3_SDK ... will help?

No, because it then tries to look for non-existent files:

CMake Error at src/CMakeLists.txt:361 (add_executable):
  Cannot find source file:

    /usr/local/include/vst3sdk/base/source/baseiids.cpp

yurivict avatar Apr 17 '22 23:04 yurivict

probably /usr/local/include/vst3sdk is not the place where unpacked the (vst-sdk_3.7.4_build-25_2021-12-16.zip)/ VST_SDK/vst3sdk or is it?

rncbc avatar Apr 17 '22 23:04 rncbc

The vst3sdk package installs headers into /usr/local/include/vst3sdk and libraries into /usr/local/lib/vst3. It doesn't contain sources,

yurivict avatar Apr 17 '22 23:04 yurivict

what vst3sdk package are you possibly talking about?

I'm talking about the official archive that you may download from steinberg.net OR even from its github.com repo

rncbc avatar Apr 17 '22 23:04 rncbc

I am talking about binary pakages like these: https://repology.org/project/vst3sdk/versions

They are built from steinberg's github repository https://github.com/steinbergmedia/vst3sdk by running cmake.

yurivict avatar Apr 17 '22 23:04 yurivict

IMO you can replace the current pkg_check_modules call (which is meaningless w/out the pkgconfig file) with user-supplied VST3 header/library paths.

yurivict avatar Apr 18 '22 01:04 yurivict

the binary package you're referring probably provides the example plugins and not the full SDK and source code.

please do what I told in https://github.com/rncbc/qtractor/issues/331#issuecomment-1100970493

otoh. I do my own private packaging on OBS, see https://build.opensuse.org/package/show/home:rncbc:libs/vst3sdk: the vst3sdk custom package do provide a pkg-config file for my own again CI/CD pipelines: https://build.opensuse.org/package/view_file/home:rncbc:libs/vst3sdk/vst3sdk.pc

cheers

rncbc avatar Apr 18 '22 08:04 rncbc

the binary package you're referring probably provides the example plugins and not the full SDK and source code.

I updated the FreeBSD port to use the full source tarball, but the vst3sdk package contains all binaries built by the vst3sdk project and should contain everything necessary to build both hosts and plugins. It isn't clear why can't qtractor use it.

yurivict avatar Apr 18 '22 17:04 yurivict

the binary package you're referring probably provides the example plugins and not the full SDK and source code.

I updated the FreeBSD port to use the full source tarball, but the vst3sdk package contains all binaries built by the vst3sdk project and should contain everything necessary to build both hosts and plugins. It isn't clear why can't qtractor use it.

it might containg everything necessary to build plugins but for hosts it's just not true, obviously.

rncbc avatar Apr 18 '22 21:04 rncbc