Thank you, Kevron. I actually ended up fixing the offending syntax in dbusplugin.cpp over the weekend and it compiled.
I also tried the 0.13 branch but cmake failed on it as it could not find json- c. However, it is installed on my system (json-c and the dev package). I think cmake tries to find the header /usr/include/json.h which at least on Fedora and OpenSUSE is in /usr/include/json-c because there is also libjsoncpp with a json.h file (/usr/include/jsoncpp). Your branch does work though. Thanks, Rudi On Monday, January 26, 2015 01:30:40 PM Rees, Kevron wrote: > Oops, wrong link: > > [1] - > https://github.com/otcshare/automotive-message-broker/blob/master/RELEASE.m > d > On Mon, Jan 26, 2015 at 1:30 PM, Rees, Kevron <[email protected]> wrote: > > [1] - > > https://github.com/otcshare/automotive-message-broker/blob/0.13/RELEASE.m > > d> > > On Mon, Jan 26, 2015 at 1:24 PM, Rees, Kevron <[email protected]> wrote: > >> It looks like there was a bad merge that happened. This has been > >> fixed in my personal fork which you are welcome to try: > >> https://github.com/tripzero/automotive-message-broker > >> > >> It's usually about a week ahead of otcshare/master. > >> > >> Alternatively, master should be considered unstable. The latest > >> stable release can be found in the 0.13 branch: > >> https://github.com/otcshare/automotive-message-broker/tree/0.13 > >> (version 0.13.1). I recommend this version unless you are trying to > >> test or need the most recent features[1]. > >> > >> Let me know if it works for you. I will probably submit a merge > >> request to otcshare/master today. > >> > >> cheers, > >> -Kevron > >> > >> On Fri, Jan 23, 2015 at 6:41 PM, Rudolf Streif <[email protected]> wrote: > >>> I am trying to compile AMB (master from > >>> https://github.com/otcshare/automotive-message-broker) on Fedora 21. > >>> > >>> It fails with > >>> > >>> ~/automotive-message-broker/plugins/common/dbusplugin.cpp:27:1: error: > >>> expected initializer before βstdβ > >>> > >>> std::map<std::string, std::string> DBusSink::dbusConfig; > >>> ^ > >>> > >>> ~/automotive-message-broker/plugins/common/dbusplugin.cpp:29:2: error: > >>> expected unqualified-id before β:β token > >>> > >>> :AbstractDBusInterface("org.automotive."+propertyName, propertyName, > >>> > >>> connection), > >>> > >>> ^ > >>> > >>> g++ is version 4.9.2 > >>> > >>> This issue is this constructor definition: > >>> > >>> DBusSink::DBusSink(string propertyName, AbstractRoutingEngine* engine, > >>> GDBusConnection* connection, map<string, string> config) > >>> std::map<std::string, std::string> DBusSink::dbusConfig; > >>> > >>> :AbstractDBusInterface("org.automotive."+propertyName, > >>> :propertyName, > >>> > >>> connection), > >>> > >>> AbstractSink(engine, dbusConfig) > >>> > >>> { > >>> > >>> .... > >>> > >>> } > >>> > >>> Thanks, > >>> Rudi > >>> > >>> > >>> _______________________________________________ > >>> Dev mailing list > >>> [email protected] > >>> https://lists.tizen.org/listinfo/dev _______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
