mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Update INSTALL.md
Link against self build FFmpeg.
This commit is contained in:
parent
c03a36359a
commit
af2d55db22
14
INSTALL.md
14
INSTALL.md
|
@ -16,7 +16,7 @@
|
||||||
Build dependencies:
|
Build dependencies:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install build-essential libtool autotools-dev automake libconfig-dev ncurses-dev checkinstall check git libavformat-dev libavdevice-dev libswscale-dev libsdl-dev libopenal-dev libopus-dev libvpx-dev
|
sudo apt-get install build-essential libtool autotools-dev automake libconfig-dev ncurses-dev checkinstall check git libswscale-dev libsdl-dev libopenal-dev libopus-dev libvpx-dev yasm
|
||||||
```
|
```
|
||||||
|
|
||||||
On Fedora:
|
On Fedora:
|
||||||
|
@ -40,6 +40,7 @@ sudo ldconfig
|
||||||
cd ..
|
cd ..
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or if checkinstall is not easily available for your distribution (e.g. Fedora),
|
Or if checkinstall is not easily available for your distribution (e.g. Fedora),
|
||||||
this will install the libs to /usr/local/lib and the headers to /usr/local/include:
|
this will install the libs to /usr/local/lib and the headers to /usr/local/include:
|
||||||
|
|
||||||
|
@ -54,13 +55,22 @@ sudo make install
|
||||||
cd ..
|
cd ..
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You also need recent [FFmpeg](http://git.videolan.org/?p=ffmpeg.git) libraries:
|
||||||
|
```bash
|
||||||
|
git clone git://source.ffmpeg.org/ffmpeg.git
|
||||||
|
cd ffmpeg
|
||||||
|
git checkout n2.0.2
|
||||||
|
./configure --prefix=`pwd`/install --disable-programs
|
||||||
|
make && make install
|
||||||
|
cd ..
|
||||||
|
```
|
||||||
|
|
||||||
Then clone this repo and generate makefile:
|
Then clone this repo and generate makefile:
|
||||||
```bash
|
```bash
|
||||||
git clone git://github.com/irungentoo/ProjectTox-Core.git
|
git clone git://github.com/irungentoo/ProjectTox-Core.git
|
||||||
cd ProjectTox-Core
|
cd ProjectTox-Core
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
./configure
|
./configure --with-dependency-search=`pwd`/../ffmpeg/install
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user