Languages

Menu
Sites
Language
boost compile error with <cstddef>

I have a problem with compiling simple "Hello tizen" native app with boost foreach.

error messages are 

 

 Generating zh_TW.mo
[    9s] [100%] Built target po
[    9s] In file included from /home/abuild/rpmbuild/BUILD/org.tizen.hello-tizen-0.1/src/main.c:20:0:

[    9s] /usr/include/boost/foreach.hpp:27:19: fatal error: cstddef: No such file or directory

[    9s] compilation terminated.
[    9s] make[2]: *** [CMakeFiles/hello-tizen.dir/src/main.c.o] Error 1
[    9s] make[1]: *** [CMakeFiles/hello-tizen.dir/all] Error 2
[    9s] make: *** [all] Error 2
[    9s] error: Bad exit status from /var/tmp/rpm-tmp.u7mI0i (%build)
 
Do I need to add some include for standard c library for build??
 
 
Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

1 Replies
muditha murthy
Which OS and SDK version are you trying with ? Because the library files are by default set.