I'm trying to build QGIS dependencies using version qgis-deps-0.2.2 executing ./qgis_deps.bash.
When trying to build Xerces, I get the following message:
Call build_xerces
Entering in build environment
-- Configuring Apache Xerces-C++ version 3.2.2
-- The following ICU libraries were not found:
-- uc (required)
-- data (required)
-- Failed to find all ICU components (missing: ICU_INCLUDE_DIR ICU_LIBRARY _ICU_REQUIRED_LIBS_FOUND)
--
-- Xerces-C++ configuration summary
-- --------------------------------
--
-- Version: 3.2.2
-- Library interface version: 3.2
--
-- Installation directory: /opt/QGIS/qgis-deps-0.2.2/stage
-- C compiler: /Library/Developer/CommandLineTools/usr/bin/clang
-- C++ compiler: /Library/Developer/CommandLineTools/usr/bin/clang++
--
-- Build shared libraries: ON
-- Path delimiters: "/"
-- File Manager: POSIX
-- Mutex Manager: standard
-- Transcoder: macosunicodeconverter
-- NetAccessor: curl
-- Message Loader: inmemory
-- XMLCh type: char16_t
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/QGIS/qgis-deps-0.2.2/build/xerces/build-x86_64
And eventually
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h:182:82: error: expected ','
API_DEPRECATED_WITH_REPLACEMENT("SecCertificateCopyKey", macos(10.3, 10.14)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/os/availability.h:93:114: note: expanded from macro 'API_UNAVAILABLE'
#define API_UNAVAILABLE(...) __API_UNAVAILABLE_GET_MACRO(__VA_ARGS__,__API_UNAVAILABLE6, __API_UNAVAILABLE5, __API_UNAVAILABLE4,__API_UNAVAILABLE3,__API_UNAVAILABLE2,__API_UNAVAILABLE1, 0)(__VA_ARGS__)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
/opt/QGIS/qgis-deps-0.2.2/build/xerces/xerces-c-3.2.2/src/xercesc/util/XMLUTF16Transcoder.cpp:114:23: warning: setting buffer to a 'sizeof' expression; did you mean to transpose the last two arguments? [-Wmemset-transposed-args]
memset(charSizes, sizeof(UTF16Ch), countToDo);
^
/opt/QGIS/qgis-deps-0.2.2/build/xerces/xerces-c-3.2.2/src/xercesc/util/XMLUTF16Transcoder.cpp:114:23: note: cast the second argument to 'int' to silence
[ 9%] Building CXX object src/CMakeFiles/xerces-c.dir/xercesc/dom/DOMRangeException.cpp.o
1 warning generated.
[ 9%] Building CXX object src/CMakeFiles/xerces-c.dir/xercesc/dom/DOMXPathException.cpp.o
[ 9%] Building CXX object src/CMakeFiles/xerces-c.dir/xercesc/dom/impl/DOMAttrImpl.cpp.o
[ 9%] Building CXX object src/CMakeFiles/xerces-c.dir/xercesc/dom/impl/DOMAttrMapImpl.cpp.o
[ 10%] Building CXX object src/CMakeFiles/xerces-c.dir/xercesc/dom/impl/DOMAttrNSImpl.cpp.o
[ 10%] Building CXX object src/CMakeFiles/xerces-c.dir/xercesc/dom/impl/DOMCDATASectionImpl.cpp.o
[ 10%] Building CXX object src/CMakeFiles/xerces-c.dir/xercesc/dom/impl/DOMCharacterDataImpl.cpp.o
[ 10%] Building CXX object src/CMakeFiles/xerces-c.dir/xercesc/dom/impl/DOMChildNode.cpp.o
1 warning and 20 errors generated.
make[2]: *** [src/CMakeFiles/xerces-c.dir/xercesc/util/PlatformUtils.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Hi,
I'm trying to build QGIS dependencies using version
qgis-deps-0.2.2
executing./qgis_deps.bash
.When trying to build Xerces, I get the following message:
And eventually