Hello. I’m try to build from source latest (git) VCMI using instruction on [WiKi] (https://wiki.vcmi.eu/How_to_build_VCMI_(macOS)). On my PPC G4 Mac OS 10.5.8 installed. With TigerBrew i installed required packages and make some change in code. Global.h function static std :: pair <std :: string, std :: string> splitStringToPair (std :: string input, char separator) showed error (not used), and was commented . In /lib/serializer/Connection.cpp replaced #define BIG_ENDIAN to #define BIG_ENDIAN __DARWIN_BIG_ENDIAN. For CMAKE command added -DCMAKE_CXX_FLAGS=-mone-byte-bool.
In time a build i’m get error:
[ 24%] Building CXX object lib/CMakeFiles/vcmi.dir/spells/CSpellHandler.cpp.o
/Users/elric_dev/DEV_2/vcmi/lib/serializer/JsonDeserializer.cpp: In member function 'virtual void JsonDeserializer::serializeInternal(const string&, si32&, const boost::optional<int>&, const TDecoder&, const TEncoder&)':
/Users/elric_dev/DEV_2/vcmi/lib/serializer/JsonDeserializer.cpp:43:22: error: 'splitStringToPair' is not a member of 'vstd'
auto internalId = vstd::splitStringToPair(identifier, ':').second;
Is able to build VCMI for PowerPC Mac architecture? Could you help me resole this error?