Notification Sample error

asked 2015-09-17 03:16:44 -0800

Shubham gravatar image

updated 2015-09-17 23:15:34 -0800

ry.jones gravatar image
Linux Foundation Staff

I am trying to run this sample code for notification producer but getting this error everytime......after scons binding command....

scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/NotificationProducer.o -c -DQCC_OS_GROUP_POSIX -DQCC_OS_LINUX src/NotificationProducer.cc
src/NotificationProducer.cc:20:35: fatal error: alljoyn/BusAttachment.h: No such file or directory
 #include <alljoyn/BusAttachment.h>
                                   ^
compilation terminated.
scons: *** [build/NotificationProducer.o] Error 1
scons: building terminated because of errors.

Can anyone tell me the funda of this scons file.... as it is predefined in this sample what it does...is it required to run and build *.cc file ??

edit retag flag offensive close merge delete

Comments

you might ask on the core mailing list. https://lists.allseenalliance.org/mailman/listinfo/allseen-core

ry.jones ( 2015-09-17 23:15:44 -0800 )edit

Hi Shubam, Did you give the CROSS_COMPILE option in you scons command. Can you post the scons command that you tried?

anujtripathi.04 ( 2015-09-18 02:15:20 -0800 )edit

Here is the command:-scons BINDINGS=cpp WS=off BT=off ICE=off This code is taken from Hackfest-master.git. there are two folders NotificationProducer and NotificationConsumer with sconstruct file in both of them....

Shubham ( 2015-09-18 06:38:50 -0800 )edit

hackfest-master.git might no longer be maintained. You could try pulling 15.04 released version for both allseen/core/alljoyn.git and allseen/services/base.git and compile. Given that these are released versions, you will have better chance of support.

praveenb ( 2015-09-21 00:54:05 -0800 )edit

you trying to build it on which processor?

anujtripathi.04 ( 2015-10-30 03:12:19 -0800 )edit