When I try to Cmake a JUCE 8 project on Ubuntu 20, I get the following errors during the juceaid build. (I’ve only copied the first few; there are some 60 in all, but they’re all of the same general type):
extras/Build/juceaide/CMakeFiles/juceaide.dir/__/__/__/modules/juce_graphics/juce_graphics_Harfbuzz.cpp.o
FAILED:
extras/Build/juceaide/CMakeFiles/juceaide.dir/__/__/__/modules/juce_graphics/juce_graphics_Harfbuzz.cpp.o
/usr/bin/c++ -DDEBUG=1 -DJUCE_DISABLE_JUCE_VERSION_PRINTING=1
-DJUCE_GLOBAL_MODULE_SETTINGS_INCLUDED=1
-DJUCE_MODULE_AVAILABLE_juce_build_tools=1
-DJUCE_MODULE_AVAILABLE_juce_core=1
-DJUCE_MODULE_AVAILABLE_juce_data_structures=1
-DJUCE_MODULE_AVAILABLE_juce_events=1
-DJUCE_MODULE_AVAILABLE_juce_graphics=1
-DJUCE_MODULE_AVAILABLE_juce_gui_basics=1
-DJUCE_SILENCE_XCODE_15_LINKER_WARNING=1 -DJUCE_STANDALONE_APPLICATION=1
-DJUCE_USE_CURL=0 -DLINUX=1 -D_DEBUG=1
-I/home/chris/Documents/Github/Enso/cmake-build-debug/JUCE/tools/extras/Build/juceaide/juceaide_artefacts/JuceLibraryCode
-I/home/chris/Documents/Github/JUCE/extras/Build
-I/home/chris/Documents/Github/JUCE/modules -I/usr/include/uuid
-I/usr/include/freetype2 -I/usr/include/libpng16 -std=c++17
-fdiagnostics-color=always -g -O0 -Wall -Wextra -Wpedantic
-Wstrict-aliasing -Wuninitialized -Wunused-parameter -Wsign-compare
-Wsign-conversion -Wunreachable-code -Wcast-align -Wno-implicit-fallthrough
-Wno-maybe-uninitialized -Wno-ignored-qualifiers -Wswitch-enum
-Wredundant-decls -Wno-strict-overflow -Wshadow -Wfloat-equal
-Wmissing-field-initializers -Woverloaded-virtual -Wreorder
-Wzero-as-null-pointer-constant -MD -MT
extras/Build/juceaide/CMakeFiles/juceaide.dir/__/__/__/modules/juce_graphics/juce_graphics_Harfbuzz.cpp.o
-MF
extras/Build/juceaide/CMakeFiles/juceaide.dir/__/__/__/modules/juce_graphics/juce_graphics_Harfbuzz.cpp.o.d
-o
extras/Build/juceaide/CMakeFiles/juceaide.dir/__/__/__/modules/juce_graphics/juce_graphics_Harfbuzz.cpp.o
-c
/home/chris/Documents/Github/JUCE/modules/juce_graphics/juce_graphics_Harfbuzz.cpp
In file included from /usr/include/c++/9/tuple:38,
from /usr/include/c++/9/functional:54,
from /home/chris/Documents/Github/JUCE/modules/juce_graphics/fonts/harfbuzz/hb-cplusplus.hh:35,
from /home/chris/Documents/Github/JUCE/modules/juce_graphics/fonts/harfbuzz/hb.hh:530,
from /home/chris/Documents/Github/JUCE/modules/juce_graphics/juce_graphics_Harfbuzz.cpp:85:
/usr/include/c++/9/utility:308:22: error: '__make_integer_seq' does not
name a type
308 | using __type = __make_integer_seq<_IdxTuple, size_t, _Num>;
| ^~~~~~~~~~~~~~~~~~
/usr/include/c++/9/utility:330:9: error: '__make_integer_seq' does not
name a type
330 | = __make_integer_seq<integer_sequence, _Tp, _Num>;
| ^~~~~~~~~~~~~~~~~~
/usr/include/c++/9/utility:343:33: error: 'make_integer_sequence' does
not name a type; did you mean 'integer_sequence'?
343 | using make_index_sequence = make_integer_sequence<size_t, _Num>;
| ^~~~~~~~~~~~~~~~~~~~~
| integer_sequence
Any thoughts? This happens on both my WSL build system (Ubuntu 20) and an actual physical Ubuntu 20 machine. The WSL install is my automated build system and has worked flawlessly for years. This is 6/11 where it is failing. The first 5 are other modules (core, etc.)