‘linux/version.h’ file not found error
By Sangyoung Hwang
27 May 2013 07:44
English
1 Replies
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?
Edited on 18 03, 2014
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.