Compilation of HISE Standalone quits with "Error 1"
-
Hi folks,
i recently bought a new laptop and set up a Linux Mint 21 OS, worked fine so far.
When i now try to compile HISE standalone (with Faust... don't tried yet without faust), it first seems to compile fine but then i get the following error message:g++: fatal error: Killed signal terminated program cc1plus compilation terminated. make: *** [Makefile:558: build/intermediate/Debug/include_hi_scripting_03_6af060f3.o] Error 1 g++: fatal error: Killed signal terminated program cc1plus compilation terminated. make: *** [Makefile:553: build/intermediate/Debug/include_hi_scripting_02_6ae24972.o] Error 1 g++: fatal error: Killed signal terminated program cc1plus compilation terminated. make: *** [Makefile:563: build/intermediate/Debug/include_hi_scripting_04_6afe7874.o] Error 1 g++: fatal error: Killed signal terminated program cc1plus compilation terminated. make: *** [Makefile:348: build/intermediate/Debug/include_hi_modules_04_269eb6e4.o] Error 1 g++: fatal error: Killed signal terminated program cc1plus compilation terminated. make: *** [Makefile:548: build/intermediate/Debug/include_hi_scripting_01_6ad431f1.o] Error 1
Can someone help, please?
PS; This is in Debug configuration, the same happens with Release config.
PPS: Without Faust, the error messages differ a bit, but still there are a lot of them...
g++: fatal error: Killed signal terminated program cc1plus compilation terminated. make: *** [Makefile:342: build/intermediate/Release/include_hi_modules_02_268287e2.o] Error 1 make: *** Waiting for unfinished jobs.... g++: fatal error: Killed signal terminated program cc1plus compilation terminated. make: *** [Makefile:357: build/intermediate/Release/include_hi_modules_05_26acce65.o] Error 1 g++: fatal error: Killed signal terminated program cc1plus compilation terminated. make: *** [Makefile:272: build/intermediate/Release/MainComponent_a6ffb4a5.o] Error 1 g++: fatal error: Killed signal terminated program cc1plus compilation terminated. make: *** [Makefile:337: build/intermediate/Release/include_hi_modules_01_26747061.o] Error 1
-
Okay, i found out, that it seems to have something to do with the number of CPU cores when compiling.
I first tried:make CONFIG=Release -j$(nproc)
which didn"t work.
Simply
make CONFIG=Release
worked fine, although much slower...
-
@toxonic you can try running the compilation with the
nproc --ignore=2
flag. This will run the compile process with all cores - 2. This way you can get some speed boost and it should still work.