Boost C++ library Version 1.55 or later is required to build the IoTivity stack.
If your operating system has packages, prefer them unless they are too old. Some notes on various operating systems may help.
If you are facing build issues of IoTivity with the following error message:
Checking for C++ library boost_thread... no 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).
If you are updating these libraries, clear the scons caches afterwards by removing:
Historical mail conversations on the topic: Error on boost_thread during scons build
If you have a linker issue:
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
Please check that you have the following library/development packages installed (this is from the Ubuntu/Debian perspective, package names may differ elsewhere):
libglib2.0-dev scons unzip uuid-dev python-dev autotools-dev libicu-dev libbz2-de
Mail conversations: Facing Build Issue in iotivity-1.0.0