On 28/09/16 09:07, Binh Dang Thien wrote: > Hi, > I solved the previous error but now it has another one when I build > the RESampleClientApp on Tizen Studio: > - > /home/binh/Desktop/iotivity_patches/1.2/resource/oc_logger/include/oc_log_stream.hpp:29:28: > > fatal error: *boost/config.hpp: No such file or directory* > compilation terminated. > I have checked the file *oc_log_stream.hpp* at line 29 is:#include > <boost/config.hpp>, it seems that it cannot find the boost/config.hpp. > However, I try to create a*main.cpp* file as follow and it was > compiled and run without error:
Hi Binh Dang Thien, Glad to know my hints helped, https://wiki.iotivity.org/tizen if page is unclear please add TODO remarks I will improve instructions. How did you build this main.cpp ? and which Tizen device or profile are you targeting ? For boost I linked to sysroot one I think you can unpack rpm in application too Check this page's section: https://wiki.iotivity.org/tizen#import_rpms_contents This can be adapted for your guide, once you have it all working, can we create a new section on this page, to comment this guide https://wiki.iotivity.org/_media/wiki/programmers_guide_primitiveservice.pdf Thanks -- mailto:philippe.coval at osg.samsung.com gpg:0x467094BC https://blogs.s-osg.org/author/pcoval/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160928/e4c55cfe/attachment.html>
