Closed ajithandro closed 1 month ago
@ajithandro , you should be able to build against latest revision of the master branch.
Thanks @nirvn, I got the Build Successfully and can Install the application that is Generated in Android Outputs. Can we Run / Debug this application with an Emulator / Mobile Device to develop some things with existing Sources?
@ajithandro , we haven't come up with steps to do that. I'm eager to hear back from you if you succeed:)
Describe the issue
QField Application Build Got Failed with following error.
Reproduction steps
Steps to reproduce the behavior: First, check out the source code. The following commands will fetch the latest code. Step 1 :
https://github.com/opengisch/QField.git
Step 2: A simple script helps build everything by using a docker image.
triplet=arm64-android ./scripts/build.sh
Operating System
Ubuntu
Expected behavior
Build Shuould Success and app needs to be generated
Observed behavior
-- Running vcpkg install warning: Embedding
vcpkg-configuration
in a manifest file is an EXPERIMENTAL feature. qtbase[egl] is only supported on 'linux', which does not match arm64-android. This usually means that there are known build failures, or runtime problems, when building other platforms. To ignore this and attempt to build qtbase anyway, rerun vcpkg with--allow-unsupported
. -- Running vcpkg install - failed CMake Error at build-arm64-android/_deps/vcpkg-src/scripts/buildsystems/vcpkg.cmake:902 (message): vcpkg install failed. See logs for more information: /usr/src/qfield/build-arm64-android/vcpkg-manifest-install.log Call Stack (most recent call first): /usr/share/cmake-3.22/Modules/CMakeDetermineSystem.cmake:124 (include) CMakeLists.txt:30 (project)CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. -- Configuring incomplete, errors occurred! No such file or directory CMake Error: Generator: execution of make failed. Make command was: && No such file or directory CMake Error: Generator: execution of make failed. Make command was: bundle &&
Screenshots and GIFs