From 2581717eae5555acf81232fea60d07211145ebe7 Mon Sep 17 00:00:00 2001 From: drowe67 Date: Fri, 30 Nov 2012 00:36:46 +0000 Subject: [PATCH] Win32 makefile and install notes for libctb git-svn-id: https://svn.code.sf.net/p/freetel/code@1088 01035d8c-6547-0410-b346-abe4f91aad63 --- fdmdv2/README.Win32 | 11 ++++++++++- fdmdv2/src/Makefile.win32 | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/fdmdv2/README.Win32 b/fdmdv2/README.Win32 index 062a6926..92b1fa8e 100644 --- a/fdmdv2/README.Win32 +++ b/fdmdv2/README.Win32 @@ -42,7 +42,16 @@ Many variations are possible. http://www.mega-nerd.com/SRC/libsamplerate-0.1.8.tar.gz(not Win32 binaries) ./configure && make && make install -7. svn co fdmdv2 +7. libctb (Communications Toolbox): + +$ wget https://iftools.com/download/ctb/0.16/libctb-0.16.tar.gz +$ tar xvzf libctb-0.16.tar.gz +$ cd libctb-0.16/build +$ mingw32-make -f makefile.gcc DEBUG=0 GPIB=0 + +I couldn't find an install command line that worked, so manually copied the libs and include files. + +8. svn co fdmdv2 cd fdmdv2/src make -f Makefile.Win32 diff --git a/fdmdv2/src/Makefile.win32 b/fdmdv2/src/Makefile.win32 index 6896eb93..9b62253e 100644 --- a/fdmdv2/src/Makefile.win32 +++ b/fdmdv2/src/Makefile.win32 @@ -16,7 +16,7 @@ CODEC2_INC=$(CODEC2_PATH)/src CODEC2_LIB=$(CODEC2_PATH)/src/.libs/libcodec2.a CPP_FLAGS = -I$(INCLUDE_PATH) $(WX_CPPFLAGS) -I$(CODEC2_INC) -I../extern/include -g -Wall -DSVN_REVISION=\"$(SVN_REVISION)\" -LIBS = $(WX_LIBS) $(CODEC2_LIB) -lm -lportaudiocpp -lportaudio -lpthread -lsndfile -lsamplerate +LIBS = $(WX_LIBS) $(CODEC2_LIB) -lm -lportaudiocpp -lportaudio -lpthread -lsndfile -lsamplerate -lctb-0.16 OBJS = topFrame.o \ fdmdv2_main.o \ -- 2.25.1