README.md : Updated to include program build information.

This commit is contained in:
kevin 2024-09-20 18:19:48 -04:00
parent a639d3d60c
commit a47ce5d44f

View File

@ -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 Fedora
r ~/src/cwtest/src/cwtest/cfg/main.cfg mtx ```
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