boost compile error with

boost compile error with

BY 30 Apr 2013 Native Application Development

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??
 
 
Written by