mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
docs(INSTALL): update compiling instructions for Linux
Also change links from irungentoo/toxcore to TokTok/toxcore
This commit is contained in:
parent
30e86c5eb0
commit
48ddb11599
13
INSTALL.md
13
INSTALL.md
|
@ -119,12 +119,11 @@ sudo ldconfig
|
||||||
|
|
||||||
##### Compile toxcore
|
##### Compile toxcore
|
||||||
|
|
||||||
Then clone this repo, generate makefile, and install `toxcore` system-wide:
|
Then clone this repo, run `cmake`, and install `toxcore` system-wide:
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/irungentoo/toxcore.git
|
git clone https://github.com/TokTok/toxcore.git
|
||||||
cd toxcore
|
cd toxcore
|
||||||
autoreconf -i
|
cmake .
|
||||||
./configure
|
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
```
|
```
|
||||||
|
@ -153,7 +152,7 @@ brew install libtool automake autoconf libsodium check
|
||||||
```
|
```
|
||||||
Then clone this repo and generate makefile:
|
Then clone this repo and generate makefile:
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/irungentoo/toxcore.git
|
git clone https://github.com/TokTok/toxcore.git
|
||||||
cd toxcore
|
cd toxcore
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
./configure
|
./configure
|
||||||
|
@ -405,7 +404,7 @@ cd ..
|
||||||
|
|
||||||
And finally we will build Tox:
|
And finally we will build Tox:
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/irungentoo/toxcore
|
git clone https://github.com/TokTok/toxcore
|
||||||
cd toxcore
|
cd toxcore
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure --host="$WINDOWS_TOOLCHAIN" --prefix="$PREFIX_DIR" --disable-ntox --disable-tests --disable-testing --with-dependency-search="$PREFIX_DIR" --disable-shared --enable-static
|
./configure --host="$WINDOWS_TOOLCHAIN" --prefix="$PREFIX_DIR" --disable-ntox --disable-tests --disable-testing --with-dependency-search="$PREFIX_DIR" --disable-shared --enable-static
|
||||||
|
@ -462,7 +461,7 @@ cd ..
|
||||||
|
|
||||||
You can also use a precompiled win32 binary of libsodium, however you will have to place the files in places where they can be found, i.e., dll's go to /bin headers to /include and libraries to /lib directories in your MinGW shell.
|
You can also use a precompiled win32 binary of libsodium, however you will have to place the files in places where they can be found, i.e., dll's go to /bin headers to /include and libraries to /lib directories in your MinGW shell.
|
||||||
|
|
||||||
Next, install toxcore library, should either clone this repo by using git, or just download a [zip of current Master branch](https://github.com/irungentoo/toxcore/archive/master.zip) and extract it somewhere.
|
Next, install toxcore library, should either clone this repo by using git, or just download a [zip of current Master branch](https://github.com/TokTok/toxcore/archive/master.zip) and extract it somewhere.
|
||||||
|
|
||||||
Assuming that you now have the sources in the toxcore directory:
|
Assuming that you now have the sources in the toxcore directory:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user