Skip to content
Snippets Groups Projects
Commit 884fcbe1 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

Update README.md

parent 0fafcacd
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,15 @@ Documentation ...@@ -13,6 +13,15 @@ Documentation
- -
See the wiki: <https://github.com/savoirfairelinux/opendht/wiki> See the wiki: <https://github.com/savoirfairelinux/opendht/wiki>
#### How-to build and install
Build instructions : <https://github.com/savoirfairelinux/opendht/wiki/Build-the-library>
#### How-to build a simple client app
```bash
g++ main.cpp -std=c++11 -lopendht -lgnutls
```
Examples Examples
- -
### C++ example ### C++ example
...@@ -76,43 +85,6 @@ for r in results: ...@@ -76,43 +85,6 @@ for r in results:
print(r) print(r)
``` ```
## How-to build and install
Full instructions : <https://github.com/savoirfairelinux/opendht/wiki/Build-the-library>
-
### Using autotools
```bash
# clone the repo
git clone https://github.com/savoirfairelinux/opendht.git
# build and install
cd opendht
./autogen.sh && ./configure
make
sudo make install
```
### Using cmake
```bash
# clone the repo
git clone https://github.com/savoirfairelinux/opendht.git
# build and install
cd opendht
mkdir build && cd build
cmake -DOPENDHT_PYTHON=ON ..
make -j
sudo make install
```
How-to build a simple client app
-
```bash
g++ main.cpp -std=c++11 -lopendht -lgnutls
```
Licence Licence
- -
Copyright (C) 2014-2015 Savoir-Faire Linux Inc. Copyright (C) 2014-2015 Savoir-Faire Linux Inc.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment