Kompilieren einer shared library



  • Hallo!

    Bezüglich des Kompilierens einer "shared library" habe ich eine Frage und bitte daher um Hilfe.

    (Nur als kleine Info am Rande: bin leider noch Anfänger in C++, verwende sonst Python, Java und PHP, bitte daher um etwas Nachsicht wenn ich Grundlegendes frage)

    Für meine Masterarbeit verwende ich Open Source Software, welche ich an einer Stelle leicht verändern möchte. Dieser Teil ist in C++ geschrieben und liegt in der installierten Version der Software als .so Datei vor.

    Den Quellcode have ich von https://github.com/qgis/QGIS heruntergeladen.

    Die Datei die ich modifiziert habe ist https://github.com/qgis/QGIS/blob/master/src/analysis/raster/qgskde.cpp

    Ich benutze ein MacBook mit MacOs 10.15.4 und einen Raspberry Pi mit Raspbian. Auf beiden habe ich CMake Version 3.4 installiert

    Die CMakeLists.txt Datei, welche ich mit dem Befehl "cmake . --debug-output" (zuvor "cd QGIS-master/src/analysis/") versuche zu kompilieren ist

    https://github.com/qgis/QGIS/blob/master/src/analysis/CMakeLists.txt

    In Zeile 4 habe ich

    cmake_minimum_required(VERSION 3.4.0)

    hinzugefügt.

    Dies ist die Meldung welche beim Ausführen bekomme:

    Running with debug output on.
    CMake Error at CMakeLists.txt:390 (find_package):
      By not providing "FindEXIV2.cmake" in CMAKE_MODULE_PATH this project has
      asked CMake to find a package configuration file provided by "EXIV2", but
      CMake did not find one.
    
      Could not find a package configuration file provided by "EXIV2" with any of
      the following names:
    
        EXIV2Config.cmake
        exiv2-config.cmake
    
      Add the installation prefix of "EXIV2" to CMAKE_PREFIX_PATH or set
      "EXIV2_DIR" to a directory containing one of the above files.  If "EXIV2"
      provides a separate development package or SDK, be sure it has been
      installed.
    
    
       Called from: [1]	/home/pi/QGIS-master/src/analysis/CMakeLists.txt
    -- Configuring incomplete, errors occurred!
    See also "/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeOutput.log".
    

    Nach einigen Versuchen, das Problem durch googlen zu lösen komme ich leider auch nicht weiter.
    Die Datei CMakeOutput.log ist unten angefügt.

    Daher bitte ich an dieser Stelle um Hilfe und danke im Voraus.

    Liebe Grüße

    CMakeOutput.log


    The system is: Linux - 4.1.19+ - armv6l
    Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
    Compiler: /usr/bin/cc 
    Build flags: 
    Id flags: 
    
    The output was:
    0
    
    
    Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
    
    The C compiler identification is GNU, found in "/home/pi/QGIS-master/src/analysis/CMakeFiles/3.4.0/CompilerIdC/a.out"
    
    Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
    Compiler: /usr/bin/c++ 
    Build flags: 
    Id flags: 
    
    The output was:
    0
    
    
    Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
    
    The CXX compiler identification is GNU, found in "/home/pi/QGIS-master/src/analysis/CMakeFiles/3.4.0/CompilerIdCXX/a.out"
    
    Determining if the C compiler works passed with the following output:
    Change Dir: /home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp
    
    Run Build Command:"/usr/bin/make" "cmTC_4142a/fast"
    /usr/bin/make -f CMakeFiles/cmTC_4142a.dir/build.make CMakeFiles/cmTC_4142a.dir/build
    make[1]: Entering directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_4142a.dir/testCCompiler.c.o
    /usr/bin/cc     -o CMakeFiles/cmTC_4142a.dir/testCCompiler.c.o   -c /home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp/testCCompiler.c
    Linking C executable cmTC_4142a
    /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4142a.dir/link.txt --verbose=1
    /usr/bin/cc       CMakeFiles/cmTC_4142a.dir/testCCompiler.c.o  -o cmTC_4142a -rdynamic 
    make[1]: Leaving directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    
    
    Detecting C compiler ABI info compiled with the following output:
    Change Dir: /home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp
    
    Run Build Command:"/usr/bin/make" "cmTC_56dec/fast"
    /usr/bin/make -f CMakeFiles/cmTC_56dec.dir/build.make CMakeFiles/cmTC_56dec.dir/build
    make[1]: Entering directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_56dec.dir/CMakeCCompilerABI.c.o
    /usr/bin/cc     -o CMakeFiles/cmTC_56dec.dir/CMakeCCompilerABI.c.o   -c /usr/local/share/cmake-3.4/Modules/CMakeCCompilerABI.c
    Linking C executable cmTC_56dec
    /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_56dec.dir/link.txt --verbose=1
    /usr/bin/cc      -v CMakeFiles/cmTC_56dec.dir/CMakeCCompilerABI.c.o  -o cmTC_56dec -rdynamic  
    Using built-in specs.
    COLLECT_GCC=/usr/bin/cc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper
    Target: arm-linux-gnueabihf
    Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
    Thread model: posix
    gcc version 4.6.3 (Debian 4.6.3-14+rpi1) 
    COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/
    LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/
    COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_56dec' '-rdynamic' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp'
     /usr/lib/gcc/arm-linux-gnueabihf/4.6/collect2 --sysroot=/ --build-id --no-add-needed --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=both -m armelf_linux_eabi -o cmTC_56dec /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/4.6 -L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf CMakeFiles/cmTC_56dec.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabihf/4.6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crtn.o
    make[1]: Leaving directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    
    
    Parsed C implicit link information from above output:
      link line regex: [^( *|.*[/])(ld|([^/]+-)?ld|collect2)[^/]*( |$)]
      ignore line: [Change Dir: /home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp]
      ignore line: []
      ignore line: [Run Build Command:"/usr/bin/make" "cmTC_56dec/fast"]
      ignore line: [/usr/bin/make -f CMakeFiles/cmTC_56dec.dir/build.make CMakeFiles/cmTC_56dec.dir/build]
      ignore line: [make[1]: Entering directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp']
      ignore line: [Building C object CMakeFiles/cmTC_56dec.dir/CMakeCCompilerABI.c.o]
      ignore line: [/usr/bin/cc     -o CMakeFiles/cmTC_56dec.dir/CMakeCCompilerABI.c.o   -c /usr/local/share/cmake-3.4/Modules/CMakeCCompilerABI.c]
      ignore line: [Linking C executable cmTC_56dec]
      ignore line: [/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_56dec.dir/link.txt --verbose=1]
      ignore line: [/usr/bin/cc      -v CMakeFiles/cmTC_56dec.dir/CMakeCCompilerABI.c.o  -o cmTC_56dec -rdynamic  ]
      ignore line: [Using built-in specs.]
      ignore line: [COLLECT_GCC=/usr/bin/cc]
      ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper]
      ignore line: [Target: arm-linux-gnueabihf]
      ignore line: [Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf]
      ignore line: [Thread model: posix]
      ignore line: [gcc version 4.6.3 (Debian 4.6.3-14+rpi1) ]
      ignore line: [COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/]
      ignore line: [LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/]
      ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_56dec' '-rdynamic' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp']
      link line: [ /usr/lib/gcc/arm-linux-gnueabihf/4.6/collect2 --sysroot=/ --build-id --no-add-needed --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=both -m armelf_linux_eabi -o cmTC_56dec /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/4.6 -L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf CMakeFiles/cmTC_56dec.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabihf/4.6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crtn.o]
        arg [/usr/lib/gcc/arm-linux-gnueabihf/4.6/collect2] ==> ignore
        arg [--sysroot=/] ==> ignore
        arg [--build-id] ==> ignore
        arg [--no-add-needed] ==> ignore
        arg [--eh-frame-hdr] ==> ignore
        arg [-export-dynamic] ==> ignore
        arg [-dynamic-linker] ==> ignore
        arg [/lib/ld-linux-armhf.so.3] ==> ignore
        arg [-X] ==> ignore
        arg [--hash-style=both] ==> ignore
        arg [-m] ==> ignore
        arg [armelf_linux_eabi] ==> ignore
        arg [-o] ==> ignore
        arg [cmTC_56dec] ==> ignore
        arg [/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crt1.o] ==> ignore
        arg [/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crti.o] ==> ignore
        arg [/usr/lib/gcc/arm-linux-gnueabihf/4.6/crtbegin.o] ==> ignore
        arg [-L/usr/lib/gcc/arm-linux-gnueabihf/4.6] ==> dir [/usr/lib/gcc/arm-linux-gnueabihf/4.6]
        arg [-L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf] ==> dir [/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf]
        arg [-L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../..] ==> dir [/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../..]
        arg [-L/lib/arm-linux-gnueabihf] ==> dir [/lib/arm-linux-gnueabihf]
        arg [-L/usr/lib/arm-linux-gnueabihf] ==> dir [/usr/lib/arm-linux-gnueabihf]
        arg [CMakeFiles/cmTC_56dec.dir/CMakeCCompilerABI.c.o] ==> ignore
        arg [-lgcc] ==> lib [gcc]
        arg [--as-needed] ==> ignore
        arg [-lgcc_s] ==> lib [gcc_s]
        arg [--no-as-needed] ==> ignore
        arg [-lc] ==> lib [c]
        arg [-lgcc] ==> lib [gcc]
        arg [--as-needed] ==> ignore
        arg [-lgcc_s] ==> lib [gcc_s]
        arg [--no-as-needed] ==> ignore
        arg [/usr/lib/gcc/arm-linux-gnueabihf/4.6/crtend.o] ==> ignore
        arg [/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crtn.o] ==> ignore
      remove lib [gcc]
      remove lib [gcc_s]
      remove lib [gcc]
      remove lib [gcc_s]
      collapse library dir [/usr/lib/gcc/arm-linux-gnueabihf/4.6] ==> [/usr/lib/gcc/arm-linux-gnueabihf/4.6]
      collapse library dir [/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf] ==> [/usr/lib/arm-linux-gnueabihf]
      collapse library dir [/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../..] ==> [/usr/lib]
      collapse library dir [/lib/arm-linux-gnueabihf] ==> [/lib/arm-linux-gnueabihf]
      collapse library dir [/usr/lib/arm-linux-gnueabihf] ==> [/usr/lib/arm-linux-gnueabihf]
      implicit libs: [c]
      implicit dirs: [/usr/lib/gcc/arm-linux-gnueabihf/4.6;/usr/lib/arm-linux-gnueabihf;/usr/lib;/lib/arm-linux-gnueabihf]
      implicit fwks: []
    
    
    
    
    Detecting C [-std=c1x] compiler features compiled with the following output:
    Change Dir: /home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp
    
    Run Build Command:"/usr/bin/make" "cmTC_96bfa/fast"
    /usr/bin/make -f CMakeFiles/cmTC_96bfa.dir/build.make CMakeFiles/cmTC_96bfa.dir/build
    make[1]: Entering directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_96bfa.dir/feature_tests.c.o
    /usr/bin/cc    -std=c1x -o CMakeFiles/cmTC_96bfa.dir/feature_tests.c.o   -c /home/pi/QGIS-master/src/analysis/CMakeFiles/feature_tests.c
    Linking C executable cmTC_96bfa
    /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_96bfa.dir/link.txt --verbose=1
    /usr/bin/cc       CMakeFiles/cmTC_96bfa.dir/feature_tests.c.o  -o cmTC_96bfa -rdynamic 
    make[1]: Leaving directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    
    
        Feature record: C_FEATURE:1c_function_prototypes
        Feature record: C_FEATURE:1c_restrict
        Feature record: C_FEATURE:1c_static_assert
        Feature record: C_FEATURE:1c_variadic_macros
    
    
    Detecting C [-std=c99] compiler features compiled with the following output:
    Change Dir: /home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp
    
    Run Build Command:"/usr/bin/make" "cmTC_77680/fast"
    /usr/bin/make -f CMakeFiles/cmTC_77680.dir/build.make CMakeFiles/cmTC_77680.dir/build
    make[1]: Entering directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_77680.dir/feature_tests.c.o
    /usr/bin/cc    -std=c99 -o CMakeFiles/cmTC_77680.dir/feature_tests.c.o   -c /home/pi/QGIS-master/src/analysis/CMakeFiles/feature_tests.c
    Linking C executable cmTC_77680
    /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_77680.dir/link.txt --verbose=1
    /usr/bin/cc       CMakeFiles/cmTC_77680.dir/feature_tests.c.o  -o cmTC_77680 -rdynamic 
    make[1]: Leaving directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    
    
        Feature record: C_FEATURE:1c_function_prototypes
        Feature record: C_FEATURE:1c_restrict
        Feature record: C_FEATURE:0c_static_assert
        Feature record: C_FEATURE:1c_variadic_macros
    
    
    Detecting C [-std=c90] compiler features compiled with the following output:
    Change Dir: /home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp
    
    Run Build Command:"/usr/bin/make" "cmTC_3414b/fast"
    /usr/bin/make -f CMakeFiles/cmTC_3414b.dir/build.make CMakeFiles/cmTC_3414b.dir/build
    make[1]: Entering directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_3414b.dir/feature_tests.c.o
    /usr/bin/cc    -std=c90 -o CMakeFiles/cmTC_3414b.dir/feature_tests.c.o   -c /home/pi/QGIS-master/src/analysis/CMakeFiles/feature_tests.c
    Linking C executable cmTC_3414b
    /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3414b.dir/link.txt --verbose=1
    /usr/bin/cc       CMakeFiles/cmTC_3414b.dir/feature_tests.c.o  -o cmTC_3414b -rdynamic 
    make[1]: Leaving directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    
    
        Feature record: C_FEATURE:1c_function_prototypes
        Feature record: C_FEATURE:0c_restrict
        Feature record: C_FEATURE:0c_static_assert
        Feature record: C_FEATURE:0c_variadic_macros
    Determining if the CXX compiler works passed with the following output:
    Change Dir: /home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp
    
    Run Build Command:"/usr/bin/make" "cmTC_76bfa/fast"
    /usr/bin/make -f CMakeFiles/cmTC_76bfa.dir/build.make CMakeFiles/cmTC_76bfa.dir/build
    make[1]: Entering directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_76bfa.dir/testCXXCompiler.cxx.o
    /usr/bin/c++      -o CMakeFiles/cmTC_76bfa.dir/testCXXCompiler.cxx.o -c /home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
    Linking CXX executable cmTC_76bfa
    /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_76bfa.dir/link.txt --verbose=1
    /usr/bin/c++        CMakeFiles/cmTC_76bfa.dir/testCXXCompiler.cxx.o  -o cmTC_76bfa -rdynamic 
    make[1]: Leaving directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    
    
    Detecting CXX compiler ABI info compiled with the following output:
    Change Dir: /home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp
    
    Run Build Command:"/usr/bin/make" "cmTC_ecc99/fast"
    /usr/bin/make -f CMakeFiles/cmTC_ecc99.dir/build.make CMakeFiles/cmTC_ecc99.dir/build
    make[1]: Entering directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_ecc99.dir/CMakeCXXCompilerABI.cpp.o
    /usr/bin/c++      -o CMakeFiles/cmTC_ecc99.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/share/cmake-3.4/Modules/CMakeCXXCompilerABI.cpp
    Linking CXX executable cmTC_ecc99
    /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ecc99.dir/link.txt --verbose=1
    /usr/bin/c++       -v CMakeFiles/cmTC_ecc99.dir/CMakeCXXCompilerABI.cpp.o  -o cmTC_ecc99 -rdynamic  
    Using built-in specs.
    COLLECT_GCC=/usr/bin/c++
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper
    Target: arm-linux-gnueabihf
    Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
    Thread model: posix
    gcc version 4.6.3 (Debian 4.6.3-14+rpi1) 
    COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/
    LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/
    COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ecc99' '-rdynamic' '-shared-libgcc' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp'
     /usr/lib/gcc/arm-linux-gnueabihf/4.6/collect2 --sysroot=/ --build-id --no-add-needed --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=both -m armelf_linux_eabi -o cmTC_ecc99 /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/4.6 -L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf CMakeFiles/cmTC_ecc99.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/arm-linux-gnueabihf/4.6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crtn.o
    make[1]: Leaving directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    
    
    Parsed CXX implicit link information from above output:
      link line regex: [^( *|.*[/])(ld|([^/]+-)?ld|collect2)[^/]*( |$)]
      ignore line: [Change Dir: /home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp]
      ignore line: []
      ignore line: [Run Build Command:"/usr/bin/make" "cmTC_ecc99/fast"]
      ignore line: [/usr/bin/make -f CMakeFiles/cmTC_ecc99.dir/build.make CMakeFiles/cmTC_ecc99.dir/build]
      ignore line: [make[1]: Entering directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp']
      ignore line: [Building CXX object CMakeFiles/cmTC_ecc99.dir/CMakeCXXCompilerABI.cpp.o]
      ignore line: [/usr/bin/c++      -o CMakeFiles/cmTC_ecc99.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/share/cmake-3.4/Modules/CMakeCXXCompilerABI.cpp]
      ignore line: [Linking CXX executable cmTC_ecc99]
      ignore line: [/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ecc99.dir/link.txt --verbose=1]
      ignore line: [/usr/bin/c++       -v CMakeFiles/cmTC_ecc99.dir/CMakeCXXCompilerABI.cpp.o  -o cmTC_ecc99 -rdynamic  ]
      ignore line: [Using built-in specs.]
      ignore line: [COLLECT_GCC=/usr/bin/c++]
      ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper]
      ignore line: [Target: arm-linux-gnueabihf]
      ignore line: [Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf]
      ignore line: [Thread model: posix]
      ignore line: [gcc version 4.6.3 (Debian 4.6.3-14+rpi1) ]
      ignore line: [COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/]
      ignore line: [LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/4.6/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/]
      ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ecc99' '-rdynamic' '-shared-libgcc' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp']
      link line: [ /usr/lib/gcc/arm-linux-gnueabihf/4.6/collect2 --sysroot=/ --build-id --no-add-needed --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=both -m armelf_linux_eabi -o cmTC_ecc99 /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/4.6 -L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf CMakeFiles/cmTC_ecc99.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/arm-linux-gnueabihf/4.6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crtn.o]
        arg [/usr/lib/gcc/arm-linux-gnueabihf/4.6/collect2] ==> ignore
        arg [--sysroot=/] ==> ignore
        arg [--build-id] ==> ignore
        arg [--no-add-needed] ==> ignore
        arg [--eh-frame-hdr] ==> ignore
        arg [-export-dynamic] ==> ignore
        arg [-dynamic-linker] ==> ignore
        arg [/lib/ld-linux-armhf.so.3] ==> ignore
        arg [-X] ==> ignore
        arg [--hash-style=both] ==> ignore
        arg [-m] ==> ignore
        arg [armelf_linux_eabi] ==> ignore
        arg [-o] ==> ignore
        arg [cmTC_ecc99] ==> ignore
        arg [/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crt1.o] ==> ignore
        arg [/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crti.o] ==> ignore
        arg [/usr/lib/gcc/arm-linux-gnueabihf/4.6/crtbegin.o] ==> ignore
        arg [-L/usr/lib/gcc/arm-linux-gnueabihf/4.6] ==> dir [/usr/lib/gcc/arm-linux-gnueabihf/4.6]
        arg [-L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf] ==> dir [/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf]
        arg [-L/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../..] ==> dir [/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../..]
        arg [-L/lib/arm-linux-gnueabihf] ==> dir [/lib/arm-linux-gnueabihf]
        arg [-L/usr/lib/arm-linux-gnueabihf] ==> dir [/usr/lib/arm-linux-gnueabihf]
        arg [CMakeFiles/cmTC_ecc99.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
        arg [-lstdc++] ==> lib [stdc++]
        arg [-lm] ==> lib [m]
        arg [-lgcc_s] ==> lib [gcc_s]
        arg [-lgcc] ==> lib [gcc]
        arg [-lc] ==> lib [c]
        arg [-lgcc_s] ==> lib [gcc_s]
        arg [-lgcc] ==> lib [gcc]
        arg [/usr/lib/gcc/arm-linux-gnueabihf/4.6/crtend.o] ==> ignore
        arg [/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crtn.o] ==> ignore
      remove lib [gcc_s]
      remove lib [gcc]
      remove lib [gcc_s]
      remove lib [gcc]
      collapse library dir [/usr/lib/gcc/arm-linux-gnueabihf/4.6] ==> [/usr/lib/gcc/arm-linux-gnueabihf/4.6]
      collapse library dir [/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf] ==> [/usr/lib/arm-linux-gnueabihf]
      collapse library dir [/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../..] ==> [/usr/lib]
      collapse library dir [/lib/arm-linux-gnueabihf] ==> [/lib/arm-linux-gnueabihf]
      collapse library dir [/usr/lib/arm-linux-gnueabihf] ==> [/usr/lib/arm-linux-gnueabihf]
      implicit libs: [stdc++;m;c]
      implicit dirs: [/usr/lib/gcc/arm-linux-gnueabihf/4.6;/usr/lib/arm-linux-gnueabihf;/usr/lib;/lib/arm-linux-gnueabihf]
      implicit fwks: []
    
    
    
    
    Detecting CXX [-std=c++0x] compiler features compiled with the following output:
    Change Dir: /home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp
    
    Run Build Command:"/usr/bin/make" "cmTC_1d8b8/fast"
    /usr/bin/make -f CMakeFiles/cmTC_1d8b8.dir/build.make CMakeFiles/cmTC_1d8b8.dir/build
    make[1]: Entering directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_1d8b8.dir/feature_tests.cxx.o
    /usr/bin/c++     -std=c++0x -o CMakeFiles/cmTC_1d8b8.dir/feature_tests.cxx.o -c /home/pi/QGIS-master/src/analysis/CMakeFiles/feature_tests.cxx
    Linking CXX executable cmTC_1d8b8
    /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1d8b8.dir/link.txt --verbose=1
    /usr/bin/c++        CMakeFiles/cmTC_1d8b8.dir/feature_tests.cxx.o  -o cmTC_1d8b8 -rdynamic 
    make[1]: Leaving directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    
    
        Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
        Feature record: CXX_FEATURE:0cxx_alias_templates
        Feature record: CXX_FEATURE:0cxx_alignas
        Feature record: CXX_FEATURE:0cxx_alignof
        Feature record: CXX_FEATURE:0cxx_attributes
        Feature record: CXX_FEATURE:0cxx_attribute_deprecated
        Feature record: CXX_FEATURE:1cxx_auto_type
        Feature record: CXX_FEATURE:0cxx_binary_literals
        Feature record: CXX_FEATURE:1cxx_constexpr
        Feature record: CXX_FEATURE:0cxx_contextual_conversions
        Feature record: CXX_FEATURE:1cxx_decltype
        Feature record: CXX_FEATURE:0cxx_decltype_auto
        Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
        Feature record: CXX_FEATURE:1cxx_default_function_template_args
        Feature record: CXX_FEATURE:1cxx_defaulted_functions
        Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
        Feature record: CXX_FEATURE:0cxx_delegating_constructors
        Feature record: CXX_FEATURE:1cxx_deleted_functions
        Feature record: CXX_FEATURE:0cxx_digit_separators
        Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
        Feature record: CXX_FEATURE:1cxx_explicit_conversions
        Feature record: CXX_FEATURE:0cxx_extended_friend_declarations
        Feature record: CXX_FEATURE:1cxx_extern_templates
        Feature record: CXX_FEATURE:0cxx_final
        Feature record: CXX_FEATURE:1cxx_func_identifier
        Feature record: CXX_FEATURE:1cxx_generalized_initializers
        Feature record: CXX_FEATURE:0cxx_generic_lambdas
        Feature record: CXX_FEATURE:0cxx_inheriting_constructors
        Feature record: CXX_FEATURE:1cxx_inline_namespaces
        Feature record: CXX_FEATURE:1cxx_lambdas
        Feature record: CXX_FEATURE:0cxx_lambda_init_captures
        Feature record: CXX_FEATURE:1cxx_local_type_template_args
        Feature record: CXX_FEATURE:1cxx_long_long_type
        Feature record: CXX_FEATURE:1cxx_noexcept
        Feature record: CXX_FEATURE:0cxx_nonstatic_member_init
        Feature record: CXX_FEATURE:1cxx_nullptr
        Feature record: CXX_FEATURE:0cxx_override
        Feature record: CXX_FEATURE:1cxx_range_for
        Feature record: CXX_FEATURE:1cxx_raw_string_literals
        Feature record: CXX_FEATURE:0cxx_reference_qualified_functions
        Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
        Feature record: CXX_FEATURE:0cxx_return_type_deduction
        Feature record: CXX_FEATURE:1cxx_right_angle_brackets
        Feature record: CXX_FEATURE:1cxx_rvalue_references
        Feature record: CXX_FEATURE:1cxx_sizeof_member
        Feature record: CXX_FEATURE:1cxx_static_assert
        Feature record: CXX_FEATURE:1cxx_strong_enums
        Feature record: CXX_FEATURE:1cxx_template_template_parameters
        Feature record: CXX_FEATURE:0cxx_thread_local
        Feature record: CXX_FEATURE:1cxx_trailing_return_types
        Feature record: CXX_FEATURE:1cxx_unicode_literals
        Feature record: CXX_FEATURE:1cxx_uniform_initialization
        Feature record: CXX_FEATURE:1cxx_unrestricted_unions
        Feature record: CXX_FEATURE:0cxx_user_literals
        Feature record: CXX_FEATURE:0cxx_variable_templates
        Feature record: CXX_FEATURE:1cxx_variadic_macros
        Feature record: CXX_FEATURE:1cxx_variadic_templates
    
    
    Detecting CXX [-std=c++98] compiler features compiled with the following output:
    Change Dir: /home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp
    
    Run Build Command:"/usr/bin/make" "cmTC_7243f/fast"
    /usr/bin/make -f CMakeFiles/cmTC_7243f.dir/build.make CMakeFiles/cmTC_7243f.dir/build
    make[1]: Entering directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_7243f.dir/feature_tests.cxx.o
    /usr/bin/c++     -std=c++98 -o CMakeFiles/cmTC_7243f.dir/feature_tests.cxx.o -c /home/pi/QGIS-master/src/analysis/CMakeFiles/feature_tests.cxx
    Linking CXX executable cmTC_7243f
    /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7243f.dir/link.txt --verbose=1
    /usr/bin/c++        CMakeFiles/cmTC_7243f.dir/feature_tests.cxx.o  -o cmTC_7243f -rdynamic 
    make[1]: Leaving directory '/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeTmp'
    
    
        Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
        Feature record: CXX_FEATURE:0cxx_alias_templates
        Feature record: CXX_FEATURE:0cxx_alignas
        Feature record: CXX_FEATURE:0cxx_alignof
        Feature record: CXX_FEATURE:0cxx_attributes
        Feature record: CXX_FEATURE:0cxx_attribute_deprecated
        Feature record: CXX_FEATURE:0cxx_auto_type
        Feature record: CXX_FEATURE:0cxx_binary_literals
        Feature record: CXX_FEATURE:0cxx_constexpr
        Feature record: CXX_FEATURE:0cxx_contextual_conversions
        Feature record: CXX_FEATURE:0cxx_decltype
        Feature record: CXX_FEATURE:0cxx_decltype_auto
        Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
        Feature record: CXX_FEATURE:0cxx_default_function_template_args
        Feature record: CXX_FEATURE:0cxx_defaulted_functions
        Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers
        Feature record: CXX_FEATURE:0cxx_delegating_constructors
        Feature record: CXX_FEATURE:0cxx_deleted_functions
        Feature record: CXX_FEATURE:0cxx_digit_separators
        Feature record: CXX_FEATURE:0cxx_enum_forward_declarations
        Feature record: CXX_FEATURE:0cxx_explicit_conversions
        Feature record: CXX_FEATURE:0cxx_extended_friend_declarations
        Feature record: CXX_FEATURE:0cxx_extern_templates
        Feature record: CXX_FEATURE:0cxx_final
        Feature record: CXX_FEATURE:0cxx_func_identifier
        Feature record: CXX_FEATURE:0cxx_generalized_initializers
        Feature record: CXX_FEATURE:0cxx_generic_lambdas
        Feature record: CXX_FEATURE:0cxx_inheriting_constructors
        Feature record: CXX_FEATURE:0cxx_inline_namespaces
        Feature record: CXX_FEATURE:0cxx_lambdas
        Feature record: CXX_FEATURE:0cxx_lambda_init_captures
        Feature record: CXX_FEATURE:0cxx_local_type_template_args
        Feature record: CXX_FEATURE:0cxx_long_long_type
        Feature record: CXX_FEATURE:0cxx_noexcept
        Feature record: CXX_FEATURE:0cxx_nonstatic_member_init
        Feature record: CXX_FEATURE:0cxx_nullptr
        Feature record: CXX_FEATURE:0cxx_override
        Feature record: CXX_FEATURE:0cxx_range_for
        Feature record: CXX_FEATURE:0cxx_raw_string_literals
        Feature record: CXX_FEATURE:0cxx_reference_qualified_functions
        Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
        Feature record: CXX_FEATURE:0cxx_return_type_deduction
        Feature record: CXX_FEATURE:0cxx_right_angle_brackets
        Feature record: CXX_FEATURE:0cxx_rvalue_references
        Feature record: CXX_FEATURE:0cxx_sizeof_member
        Feature record: CXX_FEATURE:0cxx_static_assert
        Feature record: CXX_FEATURE:0cxx_strong_enums
        Feature record: CXX_FEATURE:1cxx_template_template_parameters
        Feature record: CXX_FEATURE:0cxx_thread_local
        Feature record: CXX_FEATURE:0cxx_trailing_return_types
        Feature record: CXX_FEATURE:0cxx_unicode_literals
        Feature record: CXX_FEATURE:0cxx_uniform_initialization
        Feature record: CXX_FEATURE:0cxx_unrestricted_unions
        Feature record: CXX_FEATURE:0cxx_user_literals
        Feature record: CXX_FEATURE:0cxx_variable_templates
        Feature record: CXX_FEATURE:0cxx_variadic_macros
        Feature record: CXX_FEATURE:0cxx_variadic_templates
    



  • Da fehlt offensichtlich die Bibliothek exiv2. Wie hast du die denn installiert?



  • Die habe ich mit dem Befehl sudo apt-get install exiv2 installiert.



  • Du brauchst libexiv2-dev.



  • Auch dies habe ich mittels sudo apt-get install libexiv2-dev installiert (eigentlich so ziemlich alles was ich unter aptitude search exiv2 gefunden habe)

    Leider immer noch der gleiche Output 😢

    (danke jedenfalls schon mal für die mühe)



  • @maxx12345 sagte in Kompilieren einer shared library:

      By not providing "FindEXIV2.cmake" in CMAKE_MODULE_PATH this project has
      asked CMake to find a package configuration file provided by "EXIV2", but
      CMake did not find one.
    

    Gemacht??



  • @maxx12345 sagte in Kompilieren einer shared library:

    By not providing "FindEXIV2.cmake" in CMAKE_MODULE_PATH

    Ich habe bereits im gesamten Ordner "QGIS-master" nach der Datei gesucht und die dann auch in den Ordner kopiert, wo die CMakeLists.txt sitzt.

    Allerdings kommt beim Ausführen von "cmake . --debug-output" die gleiche Fehlermeldung. Muss ich da zusätzlich noch etwas machen?



  • @maxx12345 sagte in Kompilieren einer shared library:

    Ich habe bereits im gesamten Ordner "QGIS-master" nach der Datei gesucht und die dann auch in den Ordner kopiert, wo die CMakeLists.txt sitzt.

    Hast Du die Fehlermeldung gelesen??

    Nix herumkopieren sondern CMAKE_MODULE_PATH setzten.



  • @Swordfish sagte in Kompilieren einer shared library:

    CMAKE_MODULE_PATH

    Vielen Dank! Tut mir leid, wenn ich da etwas unbeholfen erscheine, befinde mich da wie gesagt erst am Anfang, brauche dies jedoch leider dringend.

    Habe nun die Zeile

    set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_MODULE_PATH}/home/pi/QGIS-master/src/analysis/")
    

    in die CMakeLists.txt vor die Zeile, in der

    find_package(EXIV2 REQUIRED)
    

    steht kopiert.

    Nun bekomme ich beim Ausführen folgende Meldung:

    Running with debug output on.
    -- Found exiv2: /usr/lib/arm-linux-gnueabihf/libexiv2.so
       Called from: [2]	/home/pi/QGIS-master/src/analysis/FindEXIV2.cmake
                    [1]	/home/pi/QGIS-master/src/analysis/CMakeLists.txt
    CMake Error at CMakeLists.txt:400 (ADD_FLEX_FILES_PREFIX):
      Unknown CMake command "ADD_FLEX_FILES_PREFIX".
    
    
       Called from: [1]	/home/pi/QGIS-master/src/analysis/CMakeLists.txt
    -- Configuring incomplete, errors occurred!
    See also "/home/pi/QGIS-master/src/analysis/CMakeFiles/CMakeOutput.log".
    

    Es scheint also dies mit EXIV2 nun zu klappen, und dafür aber Probleme mit einer ADD_FLEX_FILES_PREFIX zu geben.

    Bei Google habe ich mit dem Suchbefehl "cmake ADD_FLEX_FILES_PREFIX" Sucheinträge gefunden die mich wieder zum QGIS Verzeichnis auf github umleiten.

    Gibt es Vorschläge wie hier vorzugehen ist?

    Vielen Dank schon mal.



  • Nach etwas abgeänderter Suche habe ich nun diesen Eintrag gefunden

    https://stackoverflow.com/questions/56721411/unknown-cmake-command-add-py-modules

    so wie ich dies verstehe, nehme ich das falsche verzeichnis?




Log in to reply