Include AllJoyn v15.09 to an existing app

asked 2016-01-16 13:44:13 -0700

cstdvd gravatar image

Hi, I'm new in AllJoyn and I'm trying to install the framework on a x64 Linux system. I'm following the tutorial using the hackfest first app. In order to build it, I include directories:

-I$AJ_DIST/cpp/inc \
-I$AJ_DIST/about/inc \
-I$AJ_DIST/services_common/inc \
-I$AJ_DIST/notification/inc \
-I$AJ_DIST/controlpanel/inc \
-I$AJ_DIST/services_common/inc \

and libs:

-L$AJ_DIST/cpp/lib \
-L$AJ_DIST/about/lib \
-L$AJ_DIST/services_common/lib \
-L$AJ_DIST/notification/lib \

This runs fine on AllJoyn v14.06 but when I try it on v15.09, the directories about, services_common, notification, controlpanel, samples_common are not created. Am I doing something wrong? Is the tutorial updated? Here the output: undefined reference to "ajn::services::AboutPropertyStoreImpl::setSupportedLangs(std::vector<qcc::String, std::allocator<qcc::String> > const&, bool, bool, bool)"
build/MyAllJoynCode.o: in function "MyAllJoynCode::createAndRegisterBusObject()": undefined reference to "ajn::services::AboutService::AddObjectDescription(qcc::String const&, std::vector<qcc::String, std::allocator<qcc::String> > const&)"
collect2: error: ld returned 1 exit status
scons: *** [build/my_first_alljoyn_app] Error 1
scons: building terminated because of errors.
edit retag flag offensive close merge delete


In practice, the problem is that building version 14.06 there are the directories to be included (as in the tutorial), while in v15.09 are not present and I do not know what else to include.

cstdvd ( 2016-01-17 09:05:58 -0700 )edit