-
Notifications
You must be signed in to change notification settings - Fork 37
Compiling
Kinshuk Bairagi edited this page May 4, 2022
·
5 revisions
- Install the dependent packages
sudo apt-get update
sudo apt-get install -y build-essential cmake libcurl4-openssl-dev pkg-config libboost1.71-all-dev libasound-dev
PS: This list has been created based on Ubuntu 20.04 LTS, In case any of any other OS, please refer to your distribution to find the corresponding package names.
- Clone Project
git clone --recurse-submodules https://github.com/voiceip/tinyphone.git
cd tinyphone
- Compile Libraries
pushd lib/cryptopp/
make
sudo make install
popd
pushd lib/pjproject
cat >./pjlib/include/pj/config_site.h <<EOL
#define ENABLE_SIP_TCP 1
#define PJ_HAS_TCP 1
#define PJMEDIA_AUDIO_DEV_HAS_WASAPI 0
#define PJMEDIA_AUDIO_DEV_HAS_WMME 0
EOL
cat ./pjlib/include/pj/config_site.h
./configure
make realclean
make dep
make
sudo make install
popd
- Compile Tinyphone
cd tinyphone-linux
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make
- Run tinyphone!
chmod +x ./tinyphone
./tinyphone