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 <boost/asio.hpp>
#include <ncurses.h>
Any ideas?
Thank you in advance
Rubén Lara