Hi,
I've an error when compiling. I think this is a boost fault, perhaps for newer version of this library (I have 1.71).
There is a way to fix?
Regards
[felice@plasma ctorrent]$ make CXX bencode/decoder.cpp CXX bencode/encoder.cpp CXX ctorrent/tracker.cpp ctorrent/tracker.cpp: In member function ‘bool Tracker::udpRequest(const TrackerQuery&)’: ctorrent/tracker.cpp:178:28: error: ‘non_blocking_io’ is not a member of ‘boost::asio::socket_base’ 178 | boost::asio::socket_base::non_blocking_io command(true); | ^~~~~~~~~~~~~~~ ctorrent/tracker.cpp:179:20: error: ‘command’ was not declared in this scope 179 | socket.io_control(command); | ^~~~~~~ make: *** [Makefile:52: obj/ctorrent/tracker.o] Error 1 [felice@plasma ctorrent]$
Hi,
I've an error when compiling. I think this is a boost fault, perhaps for newer version of this library (I have 1.71).
There is a way to fix?
Regards
[felice@plasma ctorrent]$ make CXX bencode/decoder.cpp CXX bencode/encoder.cpp CXX ctorrent/tracker.cpp ctorrent/tracker.cpp: In member function ‘bool Tracker::udpRequest(const TrackerQuery&)’: ctorrent/tracker.cpp:178:28: error: ‘non_blocking_io’ is not a member of ‘boost::asio::socket_base’ 178 | boost::asio::socket_base::non_blocking_io command(true); | ^~~~~~~~~~~~~~~ ctorrent/tracker.cpp:179:20: error: ‘command’ was not declared in this scope 179 | socket.io_control(command); | ^~~~~~~ make: *** [Makefile:52: obj/ctorrent/tracker.o] Error 1 [felice@plasma ctorrent]$