Here is the commit that I added boost_thread and boost_system.

https://gerrit.iotivity.org/gerrit/#/c/11715/4/extlibs/wksxmppxep/SConscript 
(see line 62 of the SConscript)

The scons script only runs when WITH_RA or WITH_RA_IBB scons options are 
specified. I didn't want to add the libraries anywhere else if everything else 
was working like it should.

George

From: Ward, Robert [mailto:[email protected]]
Sent: Thursday, October 13, 2016 9:27 AM
To: Nash, George <george.nash at intel.com>; Macieira, Thiago <thiago.macieira 
at intel.com>; iotivity-dev at lists.iotivity.org
Subject: RE: [dev] Compile iotivity


?  I have seen this error once in a while also.  I was able to sold it by 
making sure the boost_thread and boost_system libraries were in the list of 
LIBS in the scons script.
Could you please explain exactly how did you do this? I got IoTivity to compile 
under for the PC build, now I am trying to repeat the same trick for a native 
RPi/Ubuntu build. I'm still seeing the same "Did not find boost_thread, 
exiting!" error on the RPi.

Thanks, - Rob


___________________________________________________________

Rob Ward<mailto:robert.ward at landisgyr.com>, Senior Software Architect, 
Global Research and Technology group, Landis+Gyr AG<http://www.landisgyr.com/>
Tel: +41 41 935 6470 / Mobile: +41 76 5535084

manage energy better


From: Nash, George [mailto:[email protected]]
Sent: Friday, September 30, 2016 19:12
To: Ward, Robert <Robert.Ward at landisgyr.com<mailto:Robert.Ward at 
landisgyr.com>>; Macieira, Thiago <thiago.macieira at 
intel.com<mailto:thiago.macieira at intel.com>>; iotivity-dev at 
lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>
Subject: RE: [dev] Compile iotivity

If you already have the gtest-1.7.0.zip file downloaded and in the extlibs 
folder it will not attempt to download it again.  I have seen this error once 
in a while also.  I was able to sold it by making sure the boost_thread and 
boost_system libraries were in the list of LIBS in the scons script. I only saw 
this issue when building using the WITH_RA build flags.

What I don't understand is why it seems to think the boost_thread library is 
needed for GTest since gtest does not use any external libraries that I am 
aware of.

George

From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at 
lists.iotivity.org> [mailto:[email protected]] On Behalf 
Of Ward, Robert
Sent: Thursday, September 29, 2016 10:21 PM
To: Macieira, Thiago <thiago.macieira at intel.com<mailto:thiago.macieira at 
intel.com>>; iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at 
lists.iotivity.org>
Subject: Re: [dev] Compile iotivity


Thiago,



?  The URL changed. This was fixed in later versions. You should either build 
GTest your yourself and make it available system-wide, install the distribution 
package, or you can update the URL in the IoTivity sources to point to the 
correct place.

Yes, I ran into this problem but I don't this is the issue here. I can build 
1.1.0 for which the GTest URL is also wrong. I fixed that. It's 1.1.1 which is 
causing the immediate problem.



Rob





-----Original Message-----
From: Thiago Macieira [mailto:[email protected]]
Sent: Donnerstag, 29. September 2016 18:07
To: iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at 
lists.iotivity.org>
Cc: Ward, Robert <Robert.Ward at landisgyr.com<mailto:Robert.Ward at 
landisgyr.com>>
Subject: Re: [dev] Compile iotivity



On quinta-feira, 29 de setembro de 2016 06:35:04 PDT Ward, Robert wrote:

> I'm seeing the exact same problem with iotivity 1.1.1



The URL changed. This was fixed in later versions. You should either build 
GTest your yourself and make it available system-wide, install the distribution 
package, or you can update the URL in the IoTivity sources to point to the 
correct place.



> > I am trying to compile latest iotivity project code.

> > .

> > .

> > .

> > *** Checking for installation of google unit test 1.7.0 ***

> > Unzipping to :

> > /home/kunal/proj/custom/iotivity/extlibs/gtest/gtest-1.7.0

> > Unpacking

> > /home/kunal/proj/custom/iotivity/extlibs/gtest/gtest-1.7.0.zip

> > ... Checking for C++ library boost_thread... (cached) no Did not

> > find boost_thread, exiting!



--

Thiago Macieira - thiago.macieira (AT) intel.com

  Software Architect - Intel Open Source Technology Center




P PLEASE CONSIDER OUR ENVIRONMENT BEFORE PRINTING THIS EMAIL.

This e-mail (including any attachments) is confidential and may be legally 
privileged. If you are not an intended recipient or an authorized 
representative of an intended recipient, you are prohibited from using, copying 
or distributing the information in this e-mail or its attachments. If you have 
received this e-mail in error, please notify the sender immediately by return 
e-mail and delete all copies of this message and any attachments. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161013/2735b611/attachment.html>

Reply via email to