Hi Marco Unfortunately, I don't have experience in cross-compiling with cmake. The following page contains some information about cross compiling for arm. Don't know if it can be useful.
http://www.paraview.org/Wiki/CMake_Cross_Compiling Regards, Marco Am Montag, 11. Juli 2011, 00.30:11 schrieb Marco Bernasocchi: > Anybody sees anything familiar here? (the QT_QTUITOOLS_INCLUDE_DIR > problem is due to necessitas not having QTUITOOLS yet), what about the > others like the openpty one (has o do with CHECK_FUNCTION_EXISTS(openpty > NEED_LIBUTIL) )? > any hint is welcome > > ciao Marco > > > -- SWIG is not found > -- The C compiler identification is GNU > -- The CXX compiler identification is GNU > dpkg-architecture: warning: Unknown gcc system type > arm-linux-androideabi, falling back to default (native compilation) > -- Check for working C compiler: > /opt/android-9-toolchain/bin/arm-linux-androideabi-gcc > dpkg-architecture: warning: Unknown gcc system type > arm-linux-androideabi, falling back to default (native compilation) > -- Check for working C compiler: > /opt/android-9-toolchain/bin/arm-linux-androideabi-gcc -- works > -- Detecting C compiler ABI info > dpkg-architecture: warning: Unknown gcc system type > arm-linux-androideabi, falling back to default (native compilation) > CMake Error: Could not COPY_FILE. > OutputFile: '' > copyFile: > '/home/marco/dev/qgis/build/CMakeFiles/CMakeDetermineCompilerABI_C.bin' > > Unable to find executable for try_compile: tried > "/home/marco/dev/qgis/build/CMakeFiles/CMakeTmp/cmTryCompileExec" and > "/home/marco/dev/qgis/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec" > and > "/home/marco/dev/qgis/build/CMakeFiles/CMakeTmp/Development/cmTryCompileExe > c". > > -- Detecting C compiler ABI info - done > CMake Error at > /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:40 (FILE): > file STRINGS file > "/home/marco/dev/qgis/build/CMakeFiles/CMakeDetermineCompilerABI_C.bin" > cannot be read. > Call Stack (most recent call first): > /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:71 > (CMAKE_DETERMINE_COMPILER_ABI) > CMakeLists.txt:7 (PROJECT) > > > -- Check for working CXX compiler: > /opt/android-9-toolchain/bin/arm-linux-androideabi-g++ > dpkg-architecture: warning: Unknown gcc system type > arm-linux-androideabi, falling back to default (native compilation) > -- Check for working CXX compiler: > /opt/android-9-toolchain/bin/arm-linux-androideabi-g++ -- works > -- Detecting CXX compiler ABI info > dpkg-architecture: warning: Unknown gcc system type > arm-linux-androideabi, falling back to default (native compilation) > CMake Error: Could not COPY_FILE. > OutputFile: '' > copyFile: > '/home/marco/dev/qgis/build/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin' > > Unable to find executable for try_compile: tried > "/home/marco/dev/qgis/build/CMakeFiles/CMakeTmp/cmTryCompileExec" and > "/home/marco/dev/qgis/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec" > and > "/home/marco/dev/qgis/build/CMakeFiles/CMakeTmp/Development/cmTryCompileExe > c". > > -- Detecting CXX compiler ABI info - done > CMake Error at > /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:40 (FILE): > file STRINGS file > > "/home/marco/dev/qgis/build/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin" > cannot be read. > Call Stack (most recent call first): > /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:64 > (CMAKE_DETERMINE_COMPILER_ABI) > CMakeLists.txt:7 (PROJECT) > > > -- Quantum GIS version: 1.8.0 Trunk (10800) > -- Looking for openpty > dpkg-architecture: warning: Unknown gcc system type > arm-linux-androideabi, falling back to default (native compilation) > -- Looking for openpty - not found > -- Looking for openpty > dpkg-architecture: warning: Unknown gcc system type > arm-linux-androideabi, falling back to default (native compilation) > -- Looking for openpty - not found > CMake Error at CMakeLists.txt:140 (MESSAGE): > openpty not found! > > > -- Found Proj: /home/marco/apps/qgis-mobile/lib/libproj.so > -- Found Expat: /home/marco/apps/qgis-mobile/lib/libexpat.so > -- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm > -- Found GEOS: /home/marco/apps/qgis-mobile/lib/libgeos_c.so > -- Found GDAL: /home/marco/apps/qgis-mobile/lib/libgdal.so > -- Found Qwt: /home/marco/apps/qgis-mobile/lib/libqwt.so > -- Looking for Q_WS_X11 > dpkg-architecture: warning: Unknown gcc system type > arm-linux-androideabi, falling back to default (native compilation) > -- Looking for Q_WS_X11 - not found. > -- Looking for Q_WS_WIN > dpkg-architecture: warning: Unknown gcc system type > arm-linux-androideabi, falling back to default (native compilation) > -- Looking for Q_WS_WIN - not found. > -- Looking for Q_WS_QWS > dpkg-architecture: warning: Unknown gcc system type > arm-linux-androideabi, falling back to default (native compilation) > -- Looking for Q_WS_QWS - not found. > -- Looking for Q_WS_MAC > dpkg-architecture: warning: Unknown gcc system type > arm-linux-androideabi, falling back to default (native compilation) > -- Looking for Q_WS_MAC - not found. > -- Found Qt-Version 4.8.0 (using > /opt/necessitas/Android/Qt/4762/armeabi/bin/qmake) > -- Pedantic compiler settings enabled > -- Debug output enabled > -- txt2tags not found - disabled > CMake Error: The following variables are used in this project, but they > are set to NOTFOUND. > Please set them or make sure they are set and tested correctly in the > CMake files: > QT_QTUITOOLS_INCLUDE_DIR (ADVANCED) > used as include directory in directory /home/marco/dev/qgis/src/gui > used as include directory in directory /home/marco/dev/qgis/src/app > > -- Configuring incomplete, errors occurred! > > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Dr. Marco Hugentobler Sourcepole - Linux & Open Source Solutions Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland [email protected] http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
