Pelagicore / common-api-dbus-tools

Mozilla Public License 2.0
2 stars 4 forks source link

LegacyTest compilation error #1

Open agunasekar opened 7 years ago

agunasekar commented 7 years ago

Hi ,

Greetings,

I tried to compile common-api-dbus-tools/CommonAPI-Examples/LegacyTest with following setups in Ubuntu 14.04.2 LTS - x86 machine

Setup - 1 capicxx-core-runtime version 3.1.11 capicxx-dbus-runtime version 3.1.11 dbus version 1.8.20 (patched for capi) commonapi-generator-linux-x86_64 version 3.1.5 commonapi-dbus-generator-linux-x86_64 version 3.1.5

I get compilation error - /common-api-dbus-tools/CommonAPI-Examples/LegacyTest/src-gen/v1/commonapi/examples/LegacyTestDBusStubAdapter.hpp:62:11: error: ‘StubAttributeTable’ in namespace ‘CommonAPI::DBus’ does not name a type

I this case StubAttributeTable is removed from the capicxx-dbus-runtime version 3.1.11, but available in capicxx-dbus-runtime version 3.1.5

Setup - 2 common-api-runtime version 3.1.5 common-api-dbus-runtime version 3.1.5 dbus version 1.8.20 (patched for capi) commonapi-generator-linux-x86_64 version 3.1.3 commonapi-dbus-generator-linux-x86_64 version 3.1.3

I get compilation error, because generated source from fidl is having different folder naming convention "common-api-dbus-tools/CommonAPI-Examples/LegacyTest/src-gen/v1_0" Whereas LegacyTest requires "common-api-dbus-tools/CommonAPI-Examples/LegacyTest/src-gen/v1"

Even after manual correcting the v1_0 is CMakelist.txt and some source file , i get compilation error common-api-dbus-tools/CommonAPI-Examples/LegacyTest/src-gen/v1_0/commonapi/examples/LegacyTestDBusProxy.hpp:68:172: error: wrong number of template arguments (2, should be 1) CommonAPI::DBus::DBusFreedesktopObservableAttribute<CommonAPI::DBus::DBusFreedesktopAttribute<NopathAttribute, CommonAPI::DBus::StringDeployment>, FreedesktopVariantt> nopath;

Query - Please provide the versioning details which i can compile the LegacyTest project.

Thanks, Aravind

jeremiah commented 7 years ago

You may have more success asking in the CommonAPI mailing list: https://lists.genivi.org/mailman/listinfo/genivi-ipc

Unfortunately we don't really have a maintainer for the software you're using at the moment and its hard to say when a maintainer will be available.