Hi all, It's the boost problem. I reinstall boost 1.55 and build success. Regards, Shaoguang From: iotivity-dev-bounces at lists.iotivity.org [mailto:[email protected]] On Behalf Of Jay Sharma Sent: Wednesday, October 21, 2015 18:35 To: YoulWoong Sung; Koushik Girijala Cc: iotivity-dev at lists.iotivity.org Subject: Re: [dev] Iotivity-1.0.0 Linux (ubuntu) build problem
Hi, I was also getting the same error. I just updated boost library to 1.58.0 and the build is successful. please, make sure Boost installation path is "/usr/lib". with regards, Jay Sharma ------- Original Message ------- Sender : YoulWoong Sung<yw.sung at samsung.com<mailto:yw.sung at samsung.com>> S5/Senior Engineer/Open Source Group/Samsung Electronics Date : Oct 21, 2015 09:25 (GMT+09:00) Title : Re: [dev] Iotivity-1.0.0 Linux (ubuntu) build problem Hi, Try install these external libraries as described in Readme.scons.txt. $ sudo apt-get install libboost-dev libboost-program-options-dev libexpat1-dev libboost-thread-dev uuid-dev libssl-dev Regards, Sung. ------- Original Message ------- Sender : Koushik Girijala Lead Engineer/SRI-Bangalore-IoT & Connectivity/Samsung Electronics Date : 2015-10-20 23:45 (GMT+09:00) Title : 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 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 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 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, 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, _T2 = boost::thread, std::pair<_T1, _T2> = std::pair, boost::thread>]' declared to take const reference, but implicit declaration would take non-const Regards, Shaoguang _______________________________________________ iotivity-dev mailing list iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org> https://lists.iotivity.org/mailman/listinfo/iotivity-dev [cid:image001.gif at 01D10CB9.C38F5A50] [http://ext.samsung.net/mailcheck/SeenTimeChecker?do=4da3f345d0a538d5dff4b6359f0e079c0a1f89797092a2a039ed7394cc1c67e0be7dd83ce6b932973c40f787d33f357d4b31597edd603a7ce5a22f09e2218feaa728c55b39cc59eacf878f9a26ce15a0] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20151022/08692339/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/20151022/08692339/attachment.gif>
