# Linux, Projucer, and VST target

**URL:** <https://forum.juce.com/t/linux-projucer-and-vst-target/34747>\
**Category:** Linux\
**Created:** [August 11, 2019, 11:02pm UTC](https://forum.juce.com/t/linux-projucer-and-vst-target/34747 "2019-08-11T23:02:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![naorn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/naorn/32/7489_2.png) [@naorn](https://forum.juce.com/u/naorn)\
**Post date:** [August 11, 2019, 11:02pm UTC](https://forum.juce.com/t/linux-projucer-and-vst-target/34747/1 "2019-08-11T23:02:50Z")

</div>

Hi !

I am trying to create a new audio plugin project, and compile it on linux. I am currently able to create it and compile the standalone plugin but cannot manage to add the VST target to the linux makefile exporter.

I managed to compile the [Dexed](https://github.com/asb2m10/dexed) plugin but I don’t understand why the projucer doesn’t add the VST target even if I enable it in the audio processor module.

Any help on this would be appreciated ! : )  
Rona.

---

<div class="post-metadata">

**Author:** ![rory](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/rory/32/534_2.png) [@rory](https://forum.juce.com/u/rory)\
**Post date:** [August 12, 2019, 9:33am UTC](https://forum.juce.com/t/linux-projucer-and-vst-target/34747/2 "2019-08-12T09:33:52Z")

</div>

Do you have the VST SDK installing? I am not sure how well the VST3 SDK works on Linux yet, so you’ll probably need the VST 2.4 SDK, which is not so easily got any more.

---

<div class="post-metadata">

**Author:** ![naorn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/naorn/32/7489_2.png) [@naorn](https://forum.juce.com/u/naorn)\
**Post date:** [August 12, 2019, 11:39am UTC](https://forum.juce.com/t/linux-projucer-and-vst-target/34747/3 "2019-08-12T11:39:36Z")

</div>

Yes I already know the issue regarding the VST2 SDK, but it seems that the latest version of the projucer doesn’t want to create the target for the vst anyway.  
I managed to create it using the projucer from the 5.3.2 SDK.  
If you are on arch linux using gnome like me : `make CXX="clang++" -j8 CONFIG=Release`  
to compile with clang, the latest gcc doesn’t like the JUCE codebase.  
Run it with : `GDK_BACKEND=x11 ./Projucer`

---

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [August 12, 2019, 11:43am UTC](https://forum.juce.com/t/linux-projucer-and-vst-target/34747/4 "2019-08-12T11:43:03Z")

</div>

The VST target is no longer enabled by default. You’ll need to enable it by ticking the “VST (Legacy)” option in project settings -\> Plugin Formats, then re-save the project.

---

<div class="post-metadata">

**Author:** ![naorn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/naorn/32/7489_2.png) [@naorn](https://forum.juce.com/u/naorn)\
**Post date:** [August 12, 2019, 11:59am UTC](https://forum.juce.com/t/linux-projucer-and-vst-target/34747/5 "2019-08-12T11:59:44Z")

</div>

I think it is a bit confusing, I would expect it to automatically turn that on when I choose to enable the VST in the audio processor module settings…  
I am surprised it is that complicated to enable the VST target on linux especially for a beginner like me, when VST3 is still not available. 😕

---

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [August 12, 2019, 12:59pm UTC](https://forum.juce.com/t/linux-projucer-and-vst-target/34747/6 "2019-08-12T12:59:34Z")

</div>

The `JUCE_PLUGINHOST_VST` option in the `juce_audio_processors` module is for enabling the _hosting_ of VST plug-ins. If you want to build a VST plug-in then you need to enable the target in the project settings like I said above.

---

<div class="post-metadata">

**Author:** ![naorn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/naorn/32/7489_2.png) [@naorn](https://forum.juce.com/u/naorn)\
**Post date:** [August 12, 2019, 3:23pm UTC](https://forum.juce.com/t/linux-projucer-and-vst-target/34747/7 "2019-08-12T15:23:00Z")

</div>

Ooh I see. Thanks for the explanation ! 🙂
