iotbzh / DEPRECATED_app-framework-templates

DEPRECATED. Please use official version on https://git.automotivelinux.org/src/cmake-apps-module/
8 stars 3 forks source link

templates/service: Multiple errors when compiling with 7.0.0 SDK #4

Open KernelDeimos opened 5 years ago

KernelDeimos commented 5 years ago

I tried to compile the service template using the SDK generated from AGL 7.0.0. Running make produced several errors compiler errors. I put the output on pastebin: https://pastebin.com/gcu1kEKy

jobol commented 5 years ago

You have to add the line #define AFB_BINDING_VERSION 3 before to include <afb/afb-binding.h>

KernelDeimos commented 5 years ago

I've tried this and the errors persist.

I also tried changing .type = AFB_BINDING_VERSION_1 to .type = AFB_BINDING_VERSION_3 but that produces another error.

Is there a different template I should be using for Guppy, or should this one be supported? I'd be willing to submit a PR if I can figure this out.

jobol commented 5 years ago

Please take a look there http://docs.automotivelinux.org/master/docs/apis_services/en/dev/reference/af-binder/afb-binding-writing.html