Hello, I’m a Juce beginner and I want to make some audio plug-ins using you professional looking software.
So I run Projucer, and click on new audio plug-in.
Point it to Juce’s Modules, select VS 2015 and set the project name.
I click Create, and I get a list of 4 files, that seem appropriately named.
BUT when I click Enable Complilation I immediately get ‘memory.h’ and ‘windows.h’ not found errors.
So I can only conclude that it’s not finding any of the Windows includes.
What’s happening please?
*Edit I’m using Windows 10 and projucer 5.1.1 and none of the previous forum posts help, because everything has changed.
You probably want to open your project in Visual Studio instead of using the live-build engine, which is what the ‘Enable Compilation’ option is doing. To do this, select the Visual Studio version that you have installed from the drop-down menu at the top of the Projucer and then click the VS icon next to it - this will save your project and open it in Visual Studio:
Not at all. Make sure no exporter is selected (nothing yellow) and click the plus button in the lower right corner. Select under “Create a new export target” the platform, you want to support.
Note, to actually compile for OSX, you need to run XCode on OSX. Cross compilation is not supported out the box (if at all).
You can add new project exporters later without starting over by pressing the + button under the exporters list. (You will need a Macintosh computer and XCode installed on it in addition to Juce to build the project, though. Hopefully that didn’t come as a disappointing surprise too…)
Excellent! Thanks Xenakios/daniel! I have an iMac with xcode for my other plug-in work. Not having Live build is a disappointment I cannot escape from, sorry. I just don’t understand why not.
It would be a question for @ed95, if this is just due to a bug, that might go away in the near future, of if the projucer is not meant to compile plugins at all…
I always dreamt of an integrated Projucer-live coding-debugging solution, that you might even be able to step debug through dsp cycles with wave generators or file readers as input… there is still some potential…
OK I going through this tutorial, and when I open the host example in VS it compiles with an:
"\plug-ins\juce\modules\juce_audio_processors\format_types\juce_VST3Headers.h(89): error C1083: Cannot open include file: 'base/source/baseiids.cpp"
even though I’ve downloaded vst sdk today and set the global search path in projucer.
memory.h and windows.h should be located in the Program Files (x86)\Windows Kits\10\ directory. By default the live-build engine looks for these under the 10.0.15063.0 subfolder but if you have a different version of the Windows 10 SDK installed then you’ll need to set this in ‘Windows Target Platform’ drop-down of the live-build settings:
If you add the VST path to the projucer, make sure it is not displayed in red (otherwise it is not correctly found).
IIRC it has to point to the VST3_SDK folder inside the VST_SDK… that might be the confusing bit.
I just double checked, it only goes red, if the folder doesn’t exist. But it doesn’t tell, if it is the right or the wrong one.
So for me it works, if I pick the VST3_SDK inside, so maybe worth a try…
It doesn’t help that most of this is wrong - "If you have the VST 3 SDK you can add the same path top both the VST SDK and VST3 SDK fields. If the paths are correct they should be displayed in black text (or red if there is a problem)."
There are no such fields and the text doesn’t go black, the diagram shows the VST_SDK and it’s in white!
I’ve installed the latest Win SDK and now it says the ‘JIT stopped responding’ after a host of unreadable errors flash up. GRRR, not a good start today…
Installing VS 2017 Community edition seem to clear up a lot of problems for me today. I still have some VST3 wrapper compile errors, but the Projucer works much better now, and I can enable compilation on it.
Thanks again, and please sort out your web page tutorials, following out of date or misleading words is an annoyance - (see above quote)
Dave H.