Just to let you know, a project that was saved with the Projucer built from the dev tip fails to compile VST2.
Didn’t dig too deep, as reverting to 5.0.1 Projucer works correctly for me, but the configuration was:
Windows 10 x64
Projucer x64 built from commit 919e3e36ec06c8a09c163c50d8c9cdf43aca00d5 [919e3e3], Release x64 build with VS2013
VST2 project of the plugin, VS2013 exporter (using it with VS2017)
It fails with:
juce_audio_processors/format_types/juce_VSTCommon.h(183): error C2070: ‘unknown’: illegal sizeof operand
So the VST2 of the plugin won’t compile, all the other formats compiled nicely.
I really can’t seem to reproduce this. Can you try this with the juce demo plugin? I understand that there may be something wrong with the code it’s complaining about (as that code is new), but I don’t see how any of the recent Projucer changes could make this error appear.
Thanks for having a look!
The problem appeared suddenly, and it took me several hours of battling to get it building again. It seemed to have to do with Juce commit as well as version of Projucer, but I’m not sure what combination of tries finally fixed it.
I’m currently running 5.0.1 with cherrypicked fixes, and since it seems to be working for me for now I’m trying not to touch it. If no one else is having this issue, it’s likely that a byte has turned sideways somewhere on my build system. I’ll get back this later after I get a release out.
I tried changing to the latest tip again today, with no success.
I get exactly the same error as you.
I did some more testing, the problem doesn’t seem to be in Projucer. It compiled neatly with the Projucer from the latest tip, but I had to revert JUCE modules back to the 5.0.1 + cherrypicked fixes to get the build working.
Good to hear I’m not alone, since I also have some tweaks in my juce, I tried just downloading a complete Zip file from github, and then used latest binary Projucer. Same thing.
Could it be a VS2013 thing?
Edit: same setup compiles fine on OSX/Xcode
Did you get it to change the toolkit to 140 (or similar)? I’ve built it with VS2017 as well, but using v120 toolchain.
I haven’t been able to get the AAX SDK to compile with anything newer than v120, so been sticking with that.
I’d be thrilled to hear a fix for the AAX problem!