README.md : Updated to include program build information.
This commit is contained in:
parent
a639d3d60c
commit
a47ce5d44f
47
README.md
47
README.md
@ -1,14 +1,47 @@
|
||||
Template App
|
||||
# __caw__ audio processing program
|
||||
|
||||
# Installation
|
||||
|
||||
|
||||
# GDB Setup:
|
||||
## Prerequisites:
|
||||
|
||||
set env LD_LIBRARY_PATH /home/kevin/sdk/libwebsockets/build/out/lib
|
||||
r ~/src/cwtest/src/cwtest/cfg/main.cfg mtx
|
||||
Fedora
|
||||
```
|
||||
sudo dnf install autoconf autoconf-archive automake libtool gcc-c++ gdb fftw-devel alsa-lib-devel libwebsockets-devel libubsan
|
||||
```
|
||||
|
||||
Ubuntu
|
||||
```
|
||||
sudo apt install autoconf libtool fftw-dev libwebsockets-dev libatlas-base-dev libasound2-dev libubsan1
|
||||
```
|
||||
|
||||
|
||||
# Valgrind setup
|
||||
## Build
|
||||
|
||||
Construct the project
|
||||
```
|
||||
cd ~/src
|
||||
git clone http://gitea.larke.org/kevin/caw.git
|
||||
cd caw/src
|
||||
git clone http://gitea.larke.org/kevin/libcw.git
|
||||
cd libcw
|
||||
git switch poly
|
||||
```
|
||||
|
||||
Debug Build
|
||||
```
|
||||
cd caw/build/linux/debug
|
||||
./build.sh # Generates and runs caw/configure
|
||||
make
|
||||
make install # installs into caw/build/linux/debug/bin
|
||||
```
|
||||
|
||||
Release Build
|
||||
```
|
||||
cd caw/build/linux/release
|
||||
./build.sh # generates and runs caw/configure
|
||||
make
|
||||
make install # installs into caw/build/linux/release/bin
|
||||
```
|
||||
|
||||
export LD_LIBRARY_PATH=~/sdk/libwebsockets/build/out/lib
|
||||
valgrind --leak-check=yes --log-file=vg0.txt ./cwtest ~/src/cwtest/src/cwtest/cfg/main.cfg mtx
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user