I'm trying to compile pureVST from source on Debian 12. I built the VST
SDK and following pureVST's README, I've gone up to the following step
make MORECFLAGS=-DVST_CLEANSER
insinde the libpd directory.
I don't quite understand the following steps. Right after this, the
README reads that I should type
MORESRC=../../work/vst/purevst/source/vst_cleanser.c.
Being inside the libpd directory, where will the two parent directories
lead me, since the path starts with ../../? Also, where is this work
directory supposed to be? Or vst
and purevst
? Are these directories
Miller created in his system?
I did a find . -name vst_cleanser.c
from my home directory and found
nothing (BTW, is the dot at the end supposed to be there?).
Then the instructions follow like this:
Then using the PureVST source tree, consult the CMakeLists.txt file and
correct the path settings for the VST SDK and for the Pd source. Then
make an empty build directory, and using a shell or terminal window,
change directory to the build directory and try to get these to work in
sequence:
|SRC=~/work/vst/purevst|
[… or wherever the sources landed]
|cmake -DCMAKE_BUILD_TYPE=Release
-DSMTG_ENABLE_VST3_PLUGIN_EXAMPLES=FALSE
-DSMTG_ENABLE_VST3_HOSTING_EXAMPLES=FALSE -DHOME=$HOME $SRC|
|cmake --build .|
It mentions "or wherever the sources landed". Which sources? After building libpd? And in which directory should all the cmake command be executed?
Hmm... the directions could have been clearer, sorry....
vst_cleanser.c is in the pureVTS source, not in the Pd source. If you've downloaded and unpacked the PureVST source tarball it should be just "purevst/source/vst_cleanser.c". And yes, no trailing period (I think my markdown-to-html converter remove the space I had put between the filename and the period).
and yes, 'wherever the sources landed" refers to the pureVST source (currently https://msp.ucsd.edu/tools/purevst/PureVST-0.5.src.tgz ) whic need dwonloading and unpacking before even making this version of libpd.
cheers Miller
On 5/30/25 8:39 AM, Alexandros Drymonitis wrote:
I'm trying to compile pureVST from source on Debian 12. I built the VST SDK and following pureVST's README, I've gone up to the following step
make MORECFLAGS=-DVST_CLEANSER
insinde the libpd directory.I don't quite understand the following steps. Right after this, the README reads that I should type
MORESRC=../../work/vst/purevst/source/vst_cleanser.c.
Being inside the libpd directory, where will the two parent directories lead me, since the path starts with ../../? Also, where is this
work
directory supposed to be? Orvst
andpurevst
? Are these directories Miller created in his system?I did a
find . -name vst_cleanser.c
from my home directory and found nothing (BTW, is the dot at the end supposed to be there?).Then the instructions follow like this:
Then using the PureVST source tree, consult the CMakeLists.txt file and correct the path settings for the VST SDK and for the Pd source. Then make an empty build directory, and using a shell or terminal window, change directory to the build directory and try to get these to work in sequence: |SRC=~/work/vst/purevst| [… or wherever the sources landed] |cmake -DCMAKE_BUILD_TYPE=Release -DSMTG_ENABLE_VST3_PLUGIN_EXAMPLES=FALSE -DSMTG_ENABLE_VST3_HOSTING_EXAMPLES=FALSE -DHOME=$HOME $SRC| |cmake --build .|
It mentions "or wherever the sources landed". Which sources? After building libpd? And in which directory should all the cmake command be executed?
pd-list@lists.iem.at - the Pure Data mailinglist https://urldefense.com/v3/__https://lists.iem.at/hyperkitty/list/pd-list@lis...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.iem.at/__;!!Mih3wA!DFen_RjYHJNb45m...
OK, I downloaded PureVST (sorry, had to figure this out earlier) and unpacked it. I created a build directory and changed to that. I also corrected the paths to the VST3 SDK and Pd's source (well, Pd's directory that includes the src/ directory, not the actual src/ directory; that's what I got I should do from the CMakeLists.txt file) and I run:
cmake -DCMAKE_BUILD_TYPE=Release
but I got the following error:
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
CMake Error: The source directory
"/home/alex/Applications/puredata/PureVST-0.5/build" does not appear to
contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Perhaps something is missing in the command, like a double dot? I know nothing about CMake, so this could be rather trivial...
On 5/30/25 10:22, Miller Puckette via Pd-list wrote:
Hmm... the directions could have been clearer, sorry....
vst_cleanser.c is in the pureVTS source, not in the Pd source. If you've downloaded and unpacked the PureVST source tarball it should be just "purevst/source/vst_cleanser.c". And yes, no trailing period (I think my markdown-to-html converter remove the space I had put between the filename and the period).
and yes, 'wherever the sources landed" refers to the pureVST source (currently https://msp.ucsd.edu/tools/purevst/PureVST-0.5.src.tgz ) whic need dwonloading and unpacking before even making this version of libpd.
cheers Miller
On 5/30/25 8:39 AM, Alexandros Drymonitis wrote:
I'm trying to compile pureVST from source on Debian 12. I built the VST SDK and following pureVST's README, I've gone up to the following step
make MORECFLAGS=-DVST_CLEANSER
insinde the libpd directory.I don't quite understand the following steps. Right after this, the README reads that I should type
MORESRC=../../work/vst/purevst/source/vst_cleanser.c.
Being inside the libpd directory, where will the two parent directories lead me, since the path starts with ../../? Also, where is this
work
directory supposed to be? Orvst
andpurevst
? Are these directories Miller created in his system?I did a
find . -name vst_cleanser.c
from my home directory and found nothing (BTW, is the dot at the end supposed to be there?).Then the instructions follow like this:
Then using the PureVST source tree, consult the CMakeLists.txt file and correct the path settings for the VST SDK and for the Pd source. Then make an empty build directory, and using a shell or terminal window, change directory to the build directory and try to get these to work in sequence: |SRC=~/work/vst/purevst| [… or wherever the sources landed] |cmake -DCMAKE_BUILD_TYPE=Release -DSMTG_ENABLE_VST3_PLUGIN_EXAMPLES=FALSE -DSMTG_ENABLE_VST3_HOSTING_EXAMPLES=FALSE -DHOME=$HOME $SRC| |cmake --build .|
It mentions "or wherever the sources landed". Which sources? After building libpd? And in which directory should all the cmake command be executed?
pd-list@lists.iem.at - the Pure Data mailinglist https://urldefense.com/v3/__https://lists.iem.at/hyperkitty/list/pd-list@lis...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.iem.at/__;!!Mih3wA!DFen_RjYHJNb45m...
pd-list@lists.iem.at - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/TNRUNARSDQ...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
CMake Error: The source directory "/home/alex/Applications/puredata/PureVST-0.5/build" does not appear to contain CMakeLists.txt.
You are in the "build" directory, but the CMakeLists.txt is one level above.
Perhaps something is missing in the command, like a double dot?
That's exactly it:
cmake -DCMAKE_BUILD_TYPE=Release ..
Christof
Hi Christof,
Thanks for replying. Miller already replied to this. It was the README which broke the line to three lines and I was typing one third of it only. I went further by following his instructions which he emailed to me off-list, but got stuck further down. I replied to list with the problem and Millers off-list answer in my previous email.
On 5/30/25 14:46, Christof Ressi wrote:
CMake Error: The source directory "/home/alex/Applications/puredata/PureVST-0.5/build" does not appear to contain CMakeLists.txt.
You are in the "build" directory, but the CMakeLists.txt is one level above.
Perhaps something is missing in the command, like a double dot?
That's exactly it:
cmake -DCMAKE_BUILD_TYPE=Release ..
Christof
pd-list@lists.iem.at - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/DCHOSD2CKH...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/