Re: Help compiling pureVST

Alexandros Drymonitis <[email protected]>
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <[email protected]>
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? 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?
>>
>>
>> ---
>> [email protected] - the Pure Data mailinglist
>> https://urldefense.com/v3/__https://lists.iem.at/hyperkitty/list/[email protected]/message/G6WKC35RKLRYGKG6SBU7XNVVJJMAKKZO/__;!!Mih3wA!DFen_RjYHJNb45mR5Hyg6bFkcnp_5FiD-L8x3J77DDNf8kSeESnTcAvpifvoHQuLXlMtgG3c4g$ 
>>
>>
>> To unsubscribe send an email to [email protected] mailing list
>> UNSUBSCRIBE and account-management -> 
>> https://urldefense.com/v3/__https://lists.iem.at/__;!!Mih3wA!DFen_RjYHJNb45mR5Hyg6bFkcnp_5FiD-L8x3J77DDNf8kSeESnTcAvpifvoHQuLXlNkw1GM2g$
>
>
> ---
> [email protected] - the Pure Data mailinglist
> https://lists.iem.at/hyperkitty/list/[email protected]/message/TNRUNARSDQYEJRVRR7YXBKGVMEWZ5LSK/ 
>
>
> To unsubscribe send an email to [email protected] mailing list
> UNSUBSCRIBE and account-management -> https://lists.iem.at/

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/TIRTMUGDE6MPPDG5JDZGATYQXCP5CXVB/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.