Hi,
I compiled the *main.cpp *program by terminal command: *g++ -o main
main.cpp* and the Tizen device is Mobile 2-4.
I did create the lib folder and but all 13 necessary files into (check the
attached image) and already add the include path for the project
[image: Inline image 1]
I don't think it relates to the rpm packages. The error is as the following
image:
[image: Inline image 2]


Thanks and best regards,

DANG THIEN BINH
Address: 34 Duong Quang Ham street, Da Nang city, Viet Nam
Mobile: 0935556678

On Wed, Sep 28, 2016 at 4:39 PM, Phil Coval <philippe.coval at osg.samsung.com>
wrote:

>
>
> 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 <philippe.coval at 
> osg.samsung.com> gpg:0x467094BChttps://blogs.s-osg.org/author/pcoval/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160928/9480d644/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 100699 bytes
Desc: not available
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160928/9480d644/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 40857 bytes
Desc: not available
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160928/9480d644/attachment-0001.png>

Reply via email to