cmake and VST3

Forums

Old way to build Qtractor with VST3 is still working:
./configure --with-vst3=../../vst3sdk --disable-qt6
make

New way works basically:
mkdir build; cd build; cmake ..; make

But how can I point it to the vst3sdk dir?

Permalink

good catch!

currently you can't... cmake build is rigged to work through pkgconfig only; you can find a vst3sdk package on the repos (eg. one of Libraries in https://launchpad.net/~rncbc, if you're on an ubuntu based distro).

sure that,now that you asked, the new way will have that option in the future eg. cmake -DCONFIG_VST3SDK=/path/to/vst3sdk ...
[UPDATE:] maybe now possible in develop branch [7d3602bd]

cheers

Great, thx.

I suspected that installing the vst3sdk will install stuff to make pkgconfig happy. Unfortunately the compiler barfs at 20% because of language issues – probably a "your compiler is too old" issue.

Permalink

Doesn't work completely.

cmake -DCONFIG_VST3SDK=/home/hm/src/qtractor/vst3sdk ..
make

[ 64%] Building CXX object src/CMakeFiles/qtractor.dir/qtractorVst3Plugin.cpp.o
/tmp/qtractor/qtractor/src/qtractorVst3Plugin.cpp:33:52: fatal error: pluginterfaces/vst/ivsthostapplication.h: Datei oder Verzeichnis nicht gefunden

When I symlink vst3sdk/pluginterfaces and vst3sdk/base into qtractor's src directory then it works. I guess the path is not evaluated.

Add new comment

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike> <pre> <p> <br>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.