I’ll start by saying I know it’s easier to build with MS Visual Express but I really want to stick with gcc as I want my project to build with one compiler on all systems. I just find it easier to maintain project this way. Anyway, to my problem, I can’t build the VST demo with codeblocks/gcc. Everything else is ok, the library, demo and a few simple applications of my own built without problem but the VST demo won’t. I’ve built plugins with gcc before without any problems but I can’t even get past the compile stage here. One thing I did was change the following:
extern “C” __declspec (dllexport) void* main (audioMasterCallback audioMaster)
return (void*) pluginEntryPoint (audioMaster);
because gcc didn’t like return void* from main. That led to me a load of errors about booleans:
D:\MyDocuments\SourceCode\juce\juce_amalgamated.cpp|179998|error: `boolean’ does not name a type|
I’m reluctant to change anything in the juce_amalgamated.cpp file. Has anyone experienced this problem. Is there a preprocessor flag to get past this boolean issue?