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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20151020/c53aa851/attachment.html>

Reply via email to