Hi Matthias,
Thanks for your help. So, I needed to adapt the commands a bit, but overall, I’ve successfully compiled all the dependencies. However, I’ve reached another issue almost at the end of cmake configuration. After trying many possibilities, I didn’t see where this issue could come from. Have you seen something similar ?
Full shell commands :
`cd Documents && git clone GitHub - opengisch/QField: A simplified touch optimized interface for QGIS qfield && cd qfield
pip3 install aqtinstall && aqt install-qt mac ios 5.15.2 -O qt5 -m qtcharts
export PATH=“$(brew --prefix flex)/bin:$PATH” && export PATH=“$(brew --prefix bison)/bin:$PATH”
export Qt5_DIR=/Users/marc/Documents/qfield/qt5/5.15.2/ios/
cmake -S . -B build-arm64-ios
-DCMAKE_PREFIX_PATH=/Users/marc/Documents/qfield/qt5/5.15.2/ios/lib/cmake/Qt5
-DCMAKE_FIND_ROOT_PATH=/Users/marc/Documents/qfield/qt5/5.15.2/ios/
-DSYSTEM_QT=ON
-DWITH_QT5=1
-DVCPKG_TARGET_TRIPLET=arm64-ios
-DWITH_VCPKG=ON
-DVCPKG_BUILD_TYPE=release
-DCMAKE_SYSTEM_NAME=iOS
-DCMAKE_OSX_SYSROOT=iphoneos
-DCMAKE_OSX_ARCHITECTURES=arm64
-GXcode`
And the issue about PROJ version configuration :
`-- Found Libtasn1: /Users/marc/Documents/qfield/build-arm64-ios/vcpkg_installed/arm64-ios/include
– Found PROJ: /Users/marc/Documents/qfield/build-arm64-ios/vcpkg_installed/arm64-ios/lib/libproj.a (found version “9.2.0”)
– Found ZLIB: /Users/marc/Documents/qfield/build-arm64-ios/vcpkg_installed/arm64-ios/lib/libz.a (found suitable version “1.2.13”, minimum required is “1”)
– Found Iconv: /Users/marc/Documents/qfield/build-arm64-ios/vcpkg_installed/arm64-ios/lib/libiconv.a
– Found ZLIB: /Users/marc/Documents/qfield/build-arm64-ios/vcpkg_installed/arm64-ios/lib/libz.a (found version “1.2.13”)
– Found OpenSSL: /Users/marc/Documents/qfield/build-arm64-ios/vcpkg_installed/arm64-ios/lib/libcrypto.a (found version “1.1.1n”) found components: SSL Crypto
CMake Error at build-arm64-ios/_deps/vcpkg-src/scripts/buildsystems/vcpkg.cmake:852 (_find_package):
Could not find a configuration file for package “PROJ” that is compatible with requested version “9”.
The following configuration files were considered but not accepted:
/Users/marc/Documents/qfield/build-arm64-ios/vcpkg_installed/arm64-ios/share/proj/proj-config.cmake, version: 9.2.0 (target = iOS-aarch64)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.26.3/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
build-arm64-ios/vcpkg_installed/arm64-ios/share/gdal/GDALConfig.cmake:22 (find_dependency)
build-arm64-ios/vcpkg_installed/arm64-ios/share/gdal/vcpkg-cmake-wrapper.cmake:13 (_find_package)
build-arm64-ios/_deps/vcpkg-src/scripts/buildsystems/vcpkg.cmake:806 (include)
CMakeLists.txt:144 (find_package)`
Imported from GitHub comment by @MARC-GEOCODE on 2023-04-17T13:52:11Z