Not sure it is x86 or x86_64. If it is x86_64, you can build it as following:

$ sudo apt-get install libboost-dev libboost-program-options-dev libexpat1-dev 
libboost-thread-dev
$ scons

Detail please refer to Readme.scons.txt in the top directory of the source code.

If it is x86, you must build the external libraries(boost/openssl/?) as x86 
(the package installed with ?apt-get? is x86_64, it can?t
be linked to x86 binary). Then run:

$ scons TARGET_ARCH=x86

Regards,
Caiwen

From: Kim, Jm
Sent: Tuesday, January 27, 2015 12:31 PM
To: Zhang, Caiwen; Eric Feuvrier Danziger; iotivity-dev at lists.iotivity.org
Cc: Lee, Jackie
Subject: RE: [dev] Building Iotivity 0.90 on ARM

Hi, all.

I?ve also tried to do similar thing.
I am trying to build sample codes in Iotivity 0.9 for Edison.
Could you guide me how to do that?

Regards,
Jm.

From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at 
lists.iotivity.org> [mailto:[email protected]] On Behalf 
Of Zhang, Caiwen
Sent: Tuesday, January 27, 2015 12:00 PM
To: Eric Feuvrier Danziger; iotivity-dev at 
lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>
Subject: Re: [dev] Building Iotivity 0.90 on ARM

Seems you are doing cross compiling.  ARM toolchain and libraries are required. 
That?s to say, you should build with arm-gcc and the boost library also should 
be
For arm.

In the top directory, you will find ?config.txt? which is generated by scons. 
There you can find more useful information.

Regards,
Caiwen
From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at 
lists.iotivity.org> [mailto:[email protected]] On Behalf 
Of Eric Feuvrier Danziger
Sent: Tuesday, January 27, 2015 7:56 AM
To: iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at 
lists.iotivity.org>
Subject: [dev] Building Iotivity 0.90 on ARM

I am trying to compile Iotivity 0.90 using scons on a Beaglebone Black with 
Ubuntu (target os is linux and target arch is arm). I can't seem to get scons 
to find the boost_program_options. The libraries are all installed and either 
in or soft linked to /usr/local/lib. It just checks for boost_program_options 
in the third party scons file, then fails the check and exits. Any ideas of why 
this is? I have also tried appendUnique-ing lib_env before it gets passed to 
conf [in the line conf = Configure(lib_env) ].

I have never used scons before, so please use small words!

Thanks,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150127/b0fa8290/attachment.html>

Reply via email to