I just tried running the final command in the compiling guide "make -j4" and as error displayed in red appeared several times I'm guessing the build failed to complete.
Here is the terminal output:
make -j4
Scanning dependencies of target openxcom
[ 0%] Building CXX object src/CMakeFiles/openxcom.dir/lodepng.cpp.o
[ 0%] Building C object src/CMakeFiles/openxcom.dir/__/libs/miniz/miniz.c.o
[ 0%] Building CXX object src/CMakeFiles/openxcom.dir/main.cpp.o
[ 1%] Building CXX object src/CMakeFiles/openxcom.dir/md5.cpp.o
/home/NAME/OXCE/OpenXcom/libs/miniz/miniz.c: In function ‘tdefl_find_match’:
/home/NAME/OXCE/OpenXcom/libs/miniz/miniz.c:1364:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
mz_uint16 c01 = TDEFL_READ_UNALIGNED_WORD(&d->m_dict[pos + match_len - 1]),
^
/home/NAME/OXCE/OpenXcom/libs/miniz/miniz.c:1381:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
TDEFL_PROBE;
^
/home/NAME/OXCE/OpenXcom/libs/miniz/miniz.c:1382:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
TDEFL_PROBE;
^
/home/NAME/OXCE/OpenXcom/libs/miniz/miniz.c:1383:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
TDEFL_PROBE;
^
/home/NAME/OXCE/OpenXcom/libs/miniz/miniz.c:1407:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
c01 = TDEFL_READ_UNALIGNED_WORD(&d->m_dict[pos + match_len - 1]);
^
/home/NAME/OXCE/OpenXcom/libs/miniz/miniz.c: In function ‘mz_zip_validate_file’:
/home/NAME/OXCE/OpenXcom/libs/miniz/miniz.c:5255:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
has_id = (MZ_READ_LE32(descriptor_buf) == MZ_ZIP_DATA_DESCRIPTOR_ID);
^
/home/NAME/OXCE/OpenXcom/src/md5.cpp: In static member function ‘static MD5::uint4 MD5::F(MD5::uint4, MD5::uint4, MD5::uint4)’:
/home/NAME/OXCE/OpenXcom/src/md5.cpp:62:11: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
return x&y | ~x&z;
^
/home/NAME/OXCE/OpenXcom/src/md5.cpp: In static member function ‘static MD5::uint4 MD5::G(MD5::uint4, MD5::uint4, MD5::uint4)’:
/home/NAME/OXCE/OpenXcom/src/md5.cpp:66:11: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
return x&z | y&~z;
^
[ 1%] Building CXX object src/CMakeFiles/openxcom.dir/Basescape/BaseInfoState.cpp.o
[ 1%] Building CXX object src/CMakeFiles/openxcom.dir/Basescape/BaseView.cpp.o
In file included from /home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/Craft.h:24:0,
from /home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/SavedGame.h:28,
from /home/NAME/OXCE/OpenXcom/src/Basescape/BaseInfoState.cpp:33:
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:113:16: error: ‘auto’ parameter not permitted in this context
template<auto Stat, typename TBind>
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h: In static member function ‘static void OpenXcom::RuleCraftStats::addGetStatsScript(TBind&, std::__cxx11::string)’:
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:116:23: error: ‘Stat’ was not declared in this scope
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:117:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::damageMax>(prefix + "getDamageMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:118:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::speedMax>(prefix + "getSpeedMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:119:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::accel>(prefix + "getAccel");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:120:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::radarRange>(prefix + "getRadarRange");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:121:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::radarChance>(prefix + "getRadarChance");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:122:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::sightRange>(prefix + "getSightRange");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:123:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::hitBonus>(prefix + "getHitBonus");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:124:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::avoidBonus>(prefix + "getAvoidBonus");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:125:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::powerBonus>(prefix + "getPowerBonus");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:126:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::armor>(prefix + "getArmor");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:127:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::shieldCapacity>(prefix + "getShieldCapacity");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:128:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::shieldRecharge>(prefix + "getShieldRecharge");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:129:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::shieldRechargeInGeoscape>(prefix + "getShieldRechargeInGeoscape");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:130:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::shieldBleedThrough>(prefix + "getShieldBleedThrough");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
src/CMakeFiles/openxcom.dir/build.make:158: recipe for target 'src/CMakeFiles/openxcom.dir/Basescape/BaseInfoState.cpp.o' failed
make[2]: *** [src/CMakeFiles/openxcom.dir/Basescape/BaseInfoState.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/Craft.h:24:0,
from /home/NAME/OXCE/OpenXcom/src/Basescape/BaseView.cpp:28:
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:113:16: error: ‘auto’ parameter not permitted in this context
template<auto Stat, typename TBind>
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h: In static member function ‘static void OpenXcom::RuleCraftStats::addGetStatsScript(TBind&, std::__cxx11::string)’:
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:116:23: error: ‘Stat’ was not declared in this scope
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:117:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::damageMax>(prefix + "getDamageMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:118:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::speedMax>(prefix + "getSpeedMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:119:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::accel>(prefix + "getAccel");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:120:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::radarRange>(prefix + "getRadarRange");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:121:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::radarChance>(prefix + "getRadarChance");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:122:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::sightRange>(prefix + "getSightRange");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:123:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::hitBonus>(prefix + "getHitBonus");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:124:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::avoidBonus>(prefix + "getAvoidBonus");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:125:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::powerBonus>(prefix + "getPowerBonus");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:126:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::armor>(prefix + "getArmor");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:127:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::shieldCapacity>(prefix + "getShieldCapacity");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:128:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::shieldRecharge>(prefix + "getShieldRecharge");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:129:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::shieldRechargeInGeoscape>(prefix + "getShieldRechargeInGeoscape");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:130:23: error: the value of ‘Stat’ is not usable in a constant expression
b.template addField<Stat, &RuleCraftStats::shieldBleedThrough>(prefix + "getShieldBleedThrough");
^
/home/NAME/OXCE/OpenXcom/src/Basescape/../Savegame/../Mod/RuleCraft.h:116:23: note: ‘Stat’ was not declared ‘constexpr’
b.template addField<Stat, &RuleCraftStats::fuelMax>(prefix + "getFuelMax");
^
src/CMakeFiles/openxcom.dir/build.make:182: recipe for target 'src/CMakeFiles/openxcom.dir/Basescape/BaseView.cpp.o' failed
make[2]: *** [src/CMakeFiles/openxcom.dir/Basescape/BaseView.cpp.o] Error 1
CMakeFiles/Makefile2:103: recipe for target 'src/CMakeFiles/openxcom.dir/all' failed
make[1]: *** [src/CMakeFiles/openxcom.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2