opengisch / OSGeo4A

OSGeo4A is a build environment to cross-compile opensource GIS software for android devices
MIT License
30 stars 22 forks source link

Error during PROJ lib compilation #124

Open kunickyd opened 2 years ago

kunickyd commented 2 years ago

Hi, I was trying to compile QGIS using distribute.sh script (tried with arguments -m 'qgis' and -dqgis -mqgis) and i got this error: terminal_output There are log files mentioned in terminal output: CMakeOutput.log CMakeError.log

In CMakeError.log I found some interesting lines like: warning: implicit declaration of function 'pthread_cancel' is invalid in C99 [-Wimplicit-function-declaration] ld.lld: error: undefined symbol: pthread_cancel ld.lld: error: unable to find library -lpthread

Unfortunately I couldn't find any straightforward solution for these errors on the internet so i am asking here for help.

I am developing on Debian (bullseye) for desktop and my Android SDK an NDK was setup by QtCreator. I also tried few most recent releases of OSGeo4A as well as master branch with no difference.

This is my config.conf file.

My main goal right now is to debug QField, so any feedback on this topic would by highly appreciated!

With regards, Daniel