Hi, guys:

   I am compiling the source code on Ubuntu 12.04, but i got the following 
compile errors:

    cons: building associated VariantDir targets: out/linux/x86/release
Compiling out/linux/x86/release/resource/src/OCPlatform.os
In file included from resource/oc_logger/include/oc_logger.hpp:26:0,
                 from resource/include/OCApi.h:38,
                 from resource/include/OCPlatform.h:30,
                 from resource/src/OCPlatform.cpp:30:
resource/oc_logger/include/oc_log_stream.hpp:58:20: error: expected ';' at end 
of member declaration
resource/oc_logger/include/oc_log_stream.hpp:58:57: error: 'BOOST_NOEXCEPT' 
does not name a type
resource/oc_logger/include/oc_log_stream.hpp:59:52: error: expected ';' at end 
of member declaration
resource/oc_logger/include/oc_log_stream.hpp:59:57: error: 'BOOST_NOEXCEPT' 
does not name a type
resource/oc_logger/include/oc_log_stream.hpp:60:55: error: expected ';' at end 
of member declaration
resource/oc_logger/include/oc_log_stream.hpp:60:57: error: 'BOOST_NOEXCEPT' 
does not name a type
In file included from resource/include/OCResource.h:36:0,
                 from resource/include/OCPlatform_impl.h:35,
                 from resource/include/OCPlatform.h:31,
                 from resource/src/OCPlatform.cpp:30:
resource/include/ResourceInitException.h:78:36: error: expected ';' at end of 
member declaration
resource/include/ResourceInitException.h:78:42: error: 'BOOST_NOEXCEPT' does 
not name a type
resource/include/ResourceInitException.h:78:29: error: looser throw specifier 
for 'virtual const char* OC::ResourceInitException::what() const'
/usr/include/c++/4.6/exception:69:25: error:   overriding 'virtual const char* 
std::exception::what() const throw ()'
scons: *** [out/linux/x86/release/resource/src/OCPlatform.os] Error 1
scons: building terminated because of errors.


Any advices will be appreciated!

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

Reply via email to