Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation fault #2

Open
felmur opened this issue Jan 26, 2020 · 2 comments
Open

compilation fault #2

felmur opened this issue Jan 26, 2020 · 2 comments

Comments

@felmur
Copy link

felmur commented Jan 26, 2020

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]$

@hopeseekr
Copy link

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.

@asamy
Copy link
Owner

asamy commented Apr 17, 2020

You can use an older version of boost, or submit a pull request to get rid of these problems :p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants