Makefile.am,build/linux/*/build.sh,README.me : Remove dependency on locally build libwebsockets.

This commit is contained in:
kevin 2022-12-16 11:28:36 -05:00
parent 74e0e274ba
commit 95f92b5346
4 changed files with 7 additions and 12 deletions

View File

@ -14,9 +14,6 @@ include_HEADERS =
# -Wno-multichar - turns off multi-character constant warnings from cmAudioFile.c
WS_DIR = $(HOME)/sdk/libwebsockets/build/out
AM_CPPFLAGS = -I.. -I$(srcdir)/src/libcw
AM_CFLAGS = -Wno-multichar
AM_CXXFLAGS = -Wno-multichar
@ -83,8 +80,6 @@ if cwWEB
endif
if cwWEBSOCK
# AM_CPPFLAGS += -I$(WS_DIR)/include
# AM_LDFLAGS += -L$(WS_DIR)/lib
src_cwtest_cwtest_LDADD += -lwebsockets
endif

View File

@ -3,15 +3,15 @@ libcw Testing and Development App
# GDB Setup:
set env LD_LIBRARY_PATH /home/kevin/sdk/libwebsockets/build/out/lib::~/src/libcm/build/linux/debug/lib
set env LD_LIBRARY_PATH ~/src/libcm/build/linux/debug/lib
r ~/src/cwtest/src/cwtest/cfg/main.cfg mtx
// if problems occur with gdb hanging while download debuginfo
dnf upgrade --enablerepo=*-debuginfo "*-debuginfo" # update all debuginfo files
sudo dnf upgrade --enablerepo=*-debuginfo "*-debuginfo" # update all debuginfo files
# Valgrind setup
export LD_LIBRARY_PATH=~/sdk/libwebsockets/build/out/lib:~/src/libcm/build/linux/debug/lib
export LD_LIBRARY_PATH=~/src/libcm/build/linux/debug/lib
valgrind --leak-check=yes --log-file=vg0.txt ./cwtest ~/src/cwtest/src/cwtest/cfg/main.cfg mtx
#Design Questions:

View File

@ -19,8 +19,8 @@ cd ${curdir}
--enable-alsa \
CFLAGS="-g -Wall" \
CXXFLAGS="-g -Wall" \
CPPFLAGS="-I${HOME}/sdk/libwebsockets/build/out/include -I${HOME}/src/libcm/build/linux/debug/include" \
LDFLAGS="-L${HOME}/sdk/libwebsockets/build/out/lib -L${HOME}/src/libcm/build/linux/debug/lib" \
CPPFLAGS="-I${HOME}/src/libcm/build/linux/debug/include" \
LDFLAGS="-L${HOME}/src/libcm/build/linux/debug/lib" \
LIBS=

View File

@ -10,8 +10,8 @@ cd ${curdir}
../../../configure --prefix=${curdir} --enable-websock --enable-alsa \
CFLAGS="-Wall" \
CXXFLAGS="-Wall" \
CPPFLAGS="-I${HOME}/sdk/libwebsockets/build/out/include -I${HOME}/src/libcm/build/linux/debug/include" \
LDFLAGS="-L${HOME}/sdk/libwebsockets/build/out/lib -L${HOME}/src/libcm/build/linux/debug/lib" \
CPPFLAGS="-I${HOME}/src/libcm/build/linux/debug/include" \
LDFLAGS="-L${HOME}/src/libcm/build/linux/debug/lib" \
LIBS=