0

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

2 Answers2

0

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
Lino
  • 5,084
  • 3
  • 21
  • 39
0

After creating the variable, I had another problem compiling the service samples. The problem is probably in one file called Debug.h, which is missing.

The prompt returns this message: Service.h:20:23: fatal error: qcc/Debug.h: No such file or directory.

More information can be observed on the image: Debug.h error