Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qtractor fails to find external vst3sdk #331

Open
yurivict opened this issue Apr 17, 2022 · 10 comments
Open

qtractor fails to find external vst3sdk #331

yurivict opened this issue Apr 17, 2022 · 10 comments

Comments

@yurivict
Copy link

yurivict commented Apr 17, 2022

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.

@rncbc
Copy link
Owner

rncbc commented Apr 17, 2022

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

@yurivict
Copy link
Author

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

@rncbc
Copy link
Owner

rncbc commented Apr 17, 2022

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?

@yurivict
Copy link
Author

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

@rncbc
Copy link
Owner

rncbc commented Apr 17, 2022

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

@yurivict
Copy link
Author

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
Copy link
Author

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.

@rncbc
Copy link
Owner

rncbc commented Apr 18, 2022

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 #331 (comment)

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

@yurivict
Copy link
Author

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.

@rncbc
Copy link
Owner

rncbc commented Apr 18, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants