Hi Koushik,

Please verify that you have followed all the directions in 
IOTIVITY/Readme.scons.txt text file under ?Build IoTivity project on 
Linux(Ubuntu).?

Thanks,

Joey Morrow

From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of Koushik Girijala
Sent: Tuesday, October 20, 2015 7:45 AM
To: RAVI NANJUNDAPPA
Cc: iotivity-dev at lists.iotivity.org
Subject: Re: [dev] Iotivity-1.0.0 Linux (ubuntu) build problem


Hi Ravi,



I am using boost 1.55 version in my Linux PC, but still am facing below build 
error when building for Linux.



Regards,

Koushik



------- Original Message -------

Sender : Li, ShaoguangX<shaoguangx.li at intel.com<mailto:shaoguangx.li at 
intel.com>>

Date : Oct 20, 2015 11:12 (GMT+05:30)

Title : Re: [dev] Iotivity-1.0.0 Linux (ubuntu) build problem


Hi Ravi,

I?m using the boost 1.58 currently. I?ll try version 1.55 and get back to you 
later. Thanks.

Regards,
Shaoguang

From: RAVI NANJUNDAPPA [mailto:[email protected]]
Sent: Tuesday, October 20, 2015 13:39
To: RAVI NANJUNDAPPA; Li, ShaoguangX; iotivity-dev at 
lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>
Subject: Re: Re: [dev] Iotivity-1.0.0 Linux (ubuntu) build problem


Forgot to mention about the boost version. Please check if you've Boost version 
1.55.



Thanks and Best Regards,

N Ravi



------- Original Message -------

Sender : RAVI NANJUNDAPPA<nravi.n at samsung.com<mailto:nravi.n at 
samsung.com>> Chief Engineer/SRI-Bangalore-Open Source/Samsung Electronics

Date : Oct 20, 2015 10:22 (GMT+05:30)

Title : Re: [dev] Iotivity-1.0.0 Linux (ubuntu) build problem



Hello,



I've tried to build the 1.0.0-dev code in my x86 (32-bit ) Ubuntu machine 
(12.04 release) and I didn't get any build related issues.

But certainly there is a difference between the gcc version. Am using gcc 
version 4.9.2 (Ubuntu 4.9.2-0ubuntu1~12.04) in my system.

Looks like you are using 4.6 version and the document 
https://www.iotivity.org/documentation/linux/getting-started, also suggests to 
have 4.6.1 version of g++.



If there is a need to upgrade the g++ to a particular version then it needs to 
be updated in the above link as well, to avoid such build related issues.

Requesting the incharge-person to update the document, if any changed are 
required.



Thanks and Best Regards,

N Ravi

------- Original Message -------

Sender : Li, ShaoguangX<shaoguangx.li at intel.com<mailto:shaoguangx.li at 
intel.com>>

Date : Oct 20, 2015 09:02 (GMT+05:30)

Title : [dev] Iotivity-1.0.0 Linux (ubuntu) build problem


Hi all,

I?m trying to build the Iotivity-1.0.0 on my Ubuntu PC for Linux x86-64 
platform using ?scons? command, but I always got the below error, can anyone 
please help to find out what?s wrong? Same problem with Iotivity-0.9.2 release, 
but no problem with Iotivity-0.9.1 release.

Compiling 
out/linux/x86_64/release/service/resource-container/src/ResourceContainerImpl.o
In file included from /usr/include/c++/4.6/bits/stl_algobase.h:65:0,
                 from /usr/include/c++/4.6/bits/char_traits.h:41,
                 from /usr/include/c++/4.6/string:42,
                 from 
service/resource-container/include/RCSResourceContainer.h:30,
                 from service/resource-container/src/ResourceContainerImpl.h:24,
                 from 
service/resource-container/src/ResourceContainerImpl.cpp:21:
/usr/include/c++/4.6/bits/stl_pair.h: In instantiation of 'std::pair<const 
std::basic_string<char>, boost::thread>':
service/resource-container/src/ResourceContainerImpl.cpp:115:57:   instantiated 
from here
/usr/include/c++/4.6/bits/stl_pair.h:112:17: error: 'constexpr std::pair<_T1, 
_T2>::pair(const std::pair<_T1, _T2>&) [with _T1 = const 
std::basic_string<char>, _T2 = boost::thread, std::pair<_T1, _T2> = 
std::pair<const std::basic_string<char>, boost::thread>]' declared to take 
const reference, but implicit declaration would take non-const

Regards,
Shaoguang


[cid:image001.gif at 01D10B23.C8945420]

[http://ext.samsung.net/mailcheck/SeenTimeChecker?do=4da3f345d0a538d5a70457be5feb46140e129794969a24fd526ebabbae04f4b0fcfabd80c3fe6049141ee34884fd53a813d69ea60670f66ef4bcdeced46ed5ee08cece8541bc14eacf878f9a26ce15a0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20151020/063d6359/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 13168 bytes
Desc: image001.gif
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20151020/063d6359/attachment.gif>

Reply via email to