Search code examples
linuxservicealljoynthin-client

Building the services samples AllJoyn Thin Client on Linux


I have tried to build the service samples AllJoyn Thin Client on Linux but I'm getting an error. Does anyone know how to resolve this problem ?

I have searched some solutions but I couldn't find any answer that fit into my problem.

The prompt returns this message: ALLJOYN_DISTDIR variable is required.

More information can be observed on the image: AllJoyn Thin Client Problem


Solution

  • You have to declare an environment variable called ALLJOYN_DISTDIR with the location of the built libraries.

    For instance, for the linux x86:

    ALLJOYN_DISTDIR=/home/username/alljoyn/core/alljoyn/build/linux/x86_64/dist/cpp/lib