Open felmur opened 4 years ago
After that error, you'll encounter a much harder one:
boost/uuid/sha1.hpp: No such file or directory
Boost stopped supporting SHA1 altogether. I think this package is officially dead.
You can use an older version of boost, or submit a pull request to get rid of these problems :p
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]$