Languages

Menu
Sites
Language
'linux/version.h' file not found error

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 by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

1 Replies
kavish
check this link it may be useful to you. https://developer.tizen.org/forums/sdk-ide/please-add-linuxversion.h-tizen-sdk