helloworld-service example does not compile on flounder at all

Description

To test the helloworld service example on flounder , I created a flounder branch right before the switch to the CMake module (SHA1 below). It fails to configure.

binding_build_example/helloworld-service-dl9pf-flounder> ./conf.d/autobuild/linux/autobuild package gmake[1]: Entering directory '/home/dl9pf/AGLCLASS/binding_build_example/helloworld-service-dl9pf-flounder/build' -- Distribution used ID_LIKE="suse opensuse"-- Include: /home/dl9pf/AGLCLASS/binding_build_example/helloworld-service-dl9pf-flounder/conf.d/app-templates/cmake/cmake.d/01-build_options.cmake -- Checking for module 'libmicrohttpd>=0.9.55' -- No package 'libmicrohttpd' found CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:415 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake/Modules/FindPkgConfig.cmake:593 (_pkg_check_modules_internal) conf.d/app-templates/cmake/cmake.d/01-build_options.cmake:92 (PKG_CHECK_MODULES) conf.d/app-templates/cmake/common.cmake:77 (include) conf.d/cmake/config.cmake:185 (include) CMakeLists.txt:3 (include) -- Configuring incomplete, errors occurred! See also "/home/dl9pf/AGLCLASS/binding_build_example/helloworld-service-dl9pf-flounder/build/CMakeFiles/CMakeOutput.log". gmake[1]: *** [Makefile:336: cmake_check_build_system] Error 1 gmake[1]: Leaving directory '/home/dl9pf/AGLCLASS/binding_build_example/helloworld-service-dl9pf-flounder/build' make: *** [conf.d/autobuild/linux/autobuild:51: build] Error 2 dl9pf@monster:~/binding_build_example/helloworld-service-dl9pf-flounder> git log -1 commit e8c717e95d729b3589752893c909ba673c9451e0 (HEAD -> flounder, origin/flounder) Author: Forlot Romain [IoT.bzh] <claneys@iot.bzh> Date: Fri Oct 20 14:54:20 2017 +0200

 

I followed all steps for

export REVISION=FunkyFlounder'

 

http://docs.automotivelinux.org/docs/devguides/en/dev/reference/host-configuration/docs/1_Prerequisites.html

 

Marking as blocker b/c ppl fail following the official tutorial.

Environment

openSUSE 15.0

Activity

Show:

jose bollo 
December 10, 2018 at 4:38 PM

pushed upstream (github as for now)

Jan-Simon Moeller 
December 10, 2018 at 11:24 AM
(edited)

We should not need 'Troubleshooting' in the first example.

This turns out to be a really bad experience to the users - having to troubleshoot the very first example ?

 

As this code is rather static, we can affort to have a  src/appfw-exsample-code repo with multiple subfolders for the different helloworlds and such.

Fixed

Details

Assignee

Reporter

Labels

Contract ID

Components

Affects versions

Priority

Created December 9, 2018 at 9:36 PM
Updated December 11, 2018 at 10:57 PM
Resolved December 10, 2018 at 4:38 PM

Flag notifications