HISE build failing
Lindon last edited by Lindon
OK so I just downloaded the latest scriptnode branch and tried compiling it.. I'm getting heap space problems:
1>d:\hise-scriptnode\juce\modules\juce_core\containers\juce_referencecountedarray.h(468): fatal error C1060: compiler is out of heap space (compiling source file ..\..\Source\Main.cpp) 1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\include\tuple(446): fatal error C1060: compiler is out of heap space (compiling source file ..\..\JuceLibraryCode\include_hi_components.cpp) 1>d:\hise-scriptnode\hi_backend\backend\compileexporter.cpp(1766): fatal error C1060: compiler is out of heap space (compiling source file ..\..\JuceLibraryCode\include_hi_backend.cpp)
Can someone point me at a recent version (that will compile VST3 and AAX after the usual file wrangling) that does itself compile...?
@d-healey OK great - whats the git command then to pull just this commit?
git checkout e038c6cc8710aa6f3189cb08539df892742d6fa7
@d-healey thanks mate.
@d-healey - nope thats failing in exactly the same way...
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\include\regex(1573): fatal error C1060: compiler is out of heap space (compiling source file ..\..\JuceLibraryCode\include_hi_scripting_01.cpp) 1>include_hi_scripting_03.cpp
@Christoph-Hart -- any ideas? I have a bog-standard VS 2017 install - I've done nothing to it at all...
Christoph Hart last edited by
You need to change the /bigobj flag in the VS project properties.
@Christoph-Hart OK not sure how to do that but I changed the Project Properties/Linker/System/Heap Commit Size to 5120 - and it seems to work - it also reduced the number of displayed warning messages for several hundred to a couple of dozen....
@Christoph-Hart - ok so checking the MS documetation it suggests:
To set this compiler option in the Visual Studio development environment
Open the project's Property Pages dialog box. For details, see Set C++ compiler and build properties in Visual Studio.
Select the Configuration Properties > C/C++ > Command Line property page.
Enter the /bigobj compiler option in the Additional Options box.
-- fine - just what should I set it to? or do I just say
d.healey last edited by d.healey
@Lindon I think that's correct. It's a compiler option so I don't think it needs any additional values, unless it needs a true/false/0/1 bool value.
-- sigh - but now this new built version of HISE wont build any thing itself - not even a simple VST2 plug, and its midi input isnt working at all....starting a f* gain
@Lindon That commit builds VST2 for me. I haven't tried VST3.
@d-healey - - yeah so I went and removed the /HEAP SIZE setting, but kept the /bigObj and rebuilt HISE - it started spitting warnings and notes like it "should " do...
So it now builds VST2 plug-ins - about to try VST3....
@Lindon ...and this fails... with cant find flock.cpp -- which my research tells me is because I'm using the wrong version of VST SDK
I'll open another thread...