libgps missing from SDK environment

Description

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".

Environment

AGL SDK environment

Activity

Show:

Hitendra Nishar 
September 27, 2017 at 8:33 PM

Updating the toolchain fixed the issue for me. thanks!

Matt Ranostay 
September 26, 2017 at 7:55 PM

It is in the SDK for me.. Do note this isn't in the dab toolchain because it is an eel feature.

Jan-Simon Moeller 
September 26, 2017 at 6:31 PM

: do you try to build with dab or master ?

 

are the dependencies in the SDK now or do we need to add them ?

 

 

Fixed

Details

Assignee

Reporter

Components

Priority

Created September 14, 2017 at 4:41 PM
Updated September 1, 2020 at 2:01 PM
Resolved September 1, 2020 at 2:01 PM

Flag notifications