Comments (1)
To fix the build under newer versions of the boost one needs to include the sha1 header from:
"<boost/uuid/detail/sha1.hpp>"
Basically, replace the previous location of this file with the new one above. Also, I am including my cmake file to compile the project in case anybody else wants a quick ref.
cmake_minimum_required(VERSION 3.0)
project(bootstrap_dht)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Boost REQUIRED COMPONENTS system)
include_directories(${Boost_INCLUDE_DIRS})
add_executable(bootstrap_dht
src/bdecode.cpp
src/city.cc
src/ip_set.cpp
src/main.cpp)
target_link_libraries(bootstrap_dht Boost::system)
from bootstrap-dht.
Related Issues (12)
- use catch for unit tests HOT 3
- generate_id does not follow BEP42
- Not sure where to ask HOT 6
- bootstrap HOT 4
- out_of_range in substr()
- How to build?
- How can I build it on windows? HOT 2
- dht_put put gives 0 success HOT 1
- Installation procedure HOT 2
- Move Application to Java, or ADA 95 : C++ code may be stable, but unreadable to most people...
- dht.listen() doesn't actually support the address argument HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-dht.