I am now trying to make boost asio test code at Tizen SDK with Native App template.
Facing the problem below..
In file included from D:/tizen-sdk/platforms/tizen2.1/rootstraps/tizen-emulator-2.1.native/usr/include\boost/asio.hpp:20:
In file included from D:/tizen-sdk/platforms/tizen2.1/rootstraps/tizen-emulator-2.1.native/usr/include\boost/asio/basic_datagram_socket.hpp:18:
D:/tizen-sdk/platforms/tizen2.1/rootstraps/tizen-emulator-2.1.native/usr/include\boost/asio/detail/config.hpp:267:11: fatal error: 'linux/version.h' file not found
# include <linux/version.h>
^
1 error generated.
src/subdir.mk:33: recipe for target 'src/Test.o' failed
mingw32-make.exe: *** [src/Test.o] Error 1
I just add
#include <boost/asio.hpp>
using boost::asio::ip::tcp;
and,
testcodeFunc()
{...
boost::asio::io_service io_service;
...}
that's all. anyone help me?