Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-887

libgps missing from SDK environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • Build and Tools
    • None
    • AGL SDK environment

      When trying to build the 'agl-service-gps' from https://gerrit.automotivelinux.org/gerrit/p/apps/agl-service-gps.git, the cmake fails to find the 'libgps' in the SDK environment for aarch64-agl-linux

       

      [18:40:45] devel@agl-devkit:~/projects/agl-service-gps(master)$ source /xdt/sdk/environment-setup-aarch64-agl-linux

      [18:41:04] devel@agl-devkit:~/projects/agl-service-gps/build(master)$ cmake ..
      – Include: /home/devel/projects/agl-service-gps/conf.d/app-templates/cmake/cmake.d/01-variables.cmake
      – OSRELEASE = debian

      – Include: /home/devel/projects/agl-service-gps/conf.d/app-templates/cmake/cmake.d/02-macros.cmake
      – Include: /home/devel/projects/agl-service-gps/conf.d/app-templates/cmake/cmake.d/03-extra_targets.cmake
      – Include: /home/devel/projects/agl-service-gps/conf.d/app-templates/cmake/cmake.d/04-build_options.cmake
      – -- Check gcc_minimal_version (found gcc version 6.2.0)         (found g++ version 6.2.0)
      – -- Check kernel_minimal_version (found kernel version 4.9.0)
      – Checking for module 'libgps'
      --   No package 'libgps' found
      CMake Error at /xdt/sdk/sysroots/x86_64-aglsdk-linux/usr/share/cmake-3.6/Modules/FindPkgConfig.cmake:424 (message):
        A required package was not found
      Call Stack (most recent call first):
        /xdt/sdk/sysroots/x86_64-aglsdk-linux/usr/share/cmake-3.6/Modules/FindPkgConfig.cmake:597 (_pkg_check_modules_internal)
        conf.d/app-templates/cmake/cmake.d/04-build_options.cmake:112 (PKG_CHECK_MODULES)
        conf.d/app-templates/cmake/common.cmake:36 (include)
        conf.d/cmake/config.cmake:150 (include)
        CMakeLists.txt:21 (include)

      – Configuring incomplete, errors occurred!
      See also "/home/devel/projects/agl-service-gps/build/CMakeFiles/CMakeOutput.log".

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hitendran Hitendra Nishar
            hitendran Hitendra Nishar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: