boost.asio and ncurses.h problem

30 Jul
2008
30 Jul
'08
3:24 p.m.
Hi all...
If i try to compile boost.asio and ncurses.h together i get next problem:
bermejo@BERMEJO-MOBILE ~/Proyecto/boost $ g++ -lncurses -lboost_system -lboost_thread -o main *.cpp
/usr/include/boost/asio/detail/socket_option.hpp:242: error: ‘stdscr’ is not a type
/usr/include/boost/asio/detail/socket_option.hpp:252: error: ‘stdscr’ is not a type
/usr/include/boost/asio/detail/socket_option.hpp:252: error: expected identifier before ‘)’ token
bermejo@BERMEJO-MOBILE ~/Proyecto/boost $
Problem when:
#include
6052
Age (days ago)
6052
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ruben Lara