User Tools

Site Tools


boost

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
boost [2017/06/27 20:21]
Phil Coval
boost [2017/10/25 16:19] (current)
Mats Wichmann
Line 1: Line 1:
-Boost is on dependency ​of to [[build]] IoTivity from [[sources]].+The boost libraries are a dependency [[build|compiling]] IoTivity from [[sources]].
  
 +Boost C++ library Version 1.55 or later is required to build the IoTivity stack.
  
-The Boost C++ library Version 1.55 or later (ie: 1.61) is required to build the IoTivity stack. +If your operating system has packages, prefer them unless they are too oldSome notes on various ​[[os|operating systems]] may help.
- +
-Prefer to install ​[[os]] ​packages if available:​ +
- +
-  * https://​wiki.iotivity.org/​os +
  
 ===== ERRORS ===== ===== ERRORS =====
Line 15: Line 11:
 If you are facing build issues of IoTivity with the following error message: If you are facing build issues of IoTivity with the following error message:
  
-Checking for C++ library boost_thread... no +  ​Checking for C++ library boost_thread... no 
-Did not find boost_thread,​ exiting!+  Did not find boost_thread,​ exiting!
  
 Please verify that your system has the Boost libraries installed (libboost-thread1.55-dev or libboost-thread1.58-dev). Please verify that your system has the Boost libraries installed (libboost-thread1.55-dev or libboost-thread1.58-dev).
  
-If you are updating these libraries, clear the scons caches afterwards: iotivity/​.sconsign.dblite and   ​iotivity/​.sconf_temp+If you are updating these libraries, clear the scons caches afterwards ​by removing''​iotivity/​.sconsign.dblite'' ​and ''​iotivity/​.sconf_temp''​
  
-Mail conversations:​+Historical mail conversations ​on the topic:
 [[http://​lists.iotivity.org/​pipermail/​iotivity-dev/​2015-June/​thread.htm|Error on boost_thread during scons build]] [[http://​lists.iotivity.org/​pipermail/​iotivity-dev/​2015-June/​thread.htm|Error on boost_thread during scons build]]
  
Line 28: Line 24:
  
 If you have a linker issue: If you have a linker issue:
-<​code>​ 
-Compiling out/​linux/​x86/​debug/​service/​resource-container/​src/​RemoteResourceUnit.os 
-Linking out/​linux/​x86/​debug/​service/​resource-container/​librcs_container.so 
-out/​linux/​x86/​debug/​service/​resource-container/​src/​ResourceContainerImpl.os:​ In function `boost::​thread::​start_thread()':​ 
-/​usr/​local/​include/​boost/​thread/​detail/​thread.hpp:​180:​ undefined reference to `boost::​thread::​start_thread_noexcept()'​ 
-out/​linux/​x86/​debug/​service/​resource-container/​src/​ResourceContainerImpl.os:​ In function `boost::​thread::​do_try_join_until(timespec const&​)':​ 
-/​usr/​local/​include/​boost/​thread/​detail/​thread.hpp:​768:​ undefined reference to `boost::​thread::​do_try_join_until_noexcept(timespec const&, bool&​)'​ 
-collect2: ld returned 1 exit status 
-</​code>​ 
  
-Please check that you have the following libraries installed:+  Compiling out/​linux/​x86/​debug/​service/​resource-container/​src/​RemoteResourceUnit.os 
 +  Linking out/​linux/​x86/​debug/​service/​resource-container/​librcs_container.so 
 +  out/​linux/​x86/​debug/​service/​resource-container/​src/​ResourceContainerImpl.osIn function `boost::​thread::​start_thread()':​ 
 +  /​usr/​local/​include/​boost/​thread/​detail/​thread.hpp:​180:​ undefined reference to `boost::​thread::​start_thread_noexcept()'​ 
 +  out/​linux/​x86/​debug/​service/​resource-container/​src/​ResourceContainerImpl.os:​ In function `boost::​thread::​do_try_join_until(timespec const&​)':​ 
 +  /​usr/​local/​include/​boost/​thread/​detail/​thread.hpp:​768:​ undefined reference to `boost::​thread::​do_try_join_until_noexcept(timespec const&, bool&​)'​ 
 +  collect2: ld returned 1 exit status
  
-libglib2.0-dev, +Please check that you have the following library/​development packages installed (this is from the Ubuntu/​Debian perspectivepackage names may differ elsewhere):
- ​scons,​ +
- ​unzip,​ +
- ​uuid-dev,​ +
- ​python-dev,​ +
- ​autotools-dev,​ +
- ​libicu-dev,​ +
- ​libbz2-dev+
  
-Mail conversations:​+  libglib2.0-dev 
 +  scons 
 +  unzip 
 +  uuid-dev 
 +  python-dev 
 +  autotools-dev 
 +  libicu-dev 
 +  libbz2-de
  
-  * http://​lists.iotivity.org/​pipermail/​iotivity-dev/​2015-December ​"Facing Build Issue in iotivity-1.0.0"+Mail conversations:​ 
 +[[http://​lists.iotivity.org/​pipermail/​iotivity-dev/​2015-December|Facing Build Issue in iotivity-1.0.0]]
  
  
boost.txt · Last modified: 2017/10/25 16:19 by Mats Wichmann