Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save zouppen/ff83f75e740b5978acaf22f5469f2af6 to your computer and use it in GitHub Desktop.
Save zouppen/ff83f75e740b5978acaf22f5469f2af6 to your computer and use it in GitHub Desktop.
Tried to compile freedv
From c49dd95565866ddb001af60c3145a0f6f16ac6ab Mon Sep 17 00:00:00 2001
From: Joel Lehtonen <[email protected]>
Date: Fri, 9 Mar 2018 15:32:15 +0200
Subject: [PATCH] Use specific version of codec2 library
---
cmake/BuildCodec2.cmake | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmake/BuildCodec2.cmake b/cmake/BuildCodec2.cmake
index 038826d..07543f2 100644
--- a/cmake/BuildCodec2.cmake
+++ b/cmake/BuildCodec2.cmake
@@ -15,6 +15,7 @@ endif()
include(ExternalProject)
ExternalProject_Add(codec2
SVN_REPOSITORY https://svn.code.sf.net/p/freetel/code/codec2-dev
+ SVN_REVISION -r3381
CMAKE_ARGS ${CODEC2_CMAKE_ARGS} ${SPEEXDSP_CMAKE_ARGS}
CMAKE_CACHE_ARGS -DCMAKE_OSX_DEPLOYMENT_TARGET:string=10.7
INSTALL_COMMAND ""
--
2.7.4
[ 20%] Built target speex
[ 22%] Performing update step (SVN update) for 'codec2'
Updating '.':
At revision 3381.
[ 25%] Performing configure step for 'codec2'
loading initial cache file /home/ett14144/ohjelmat/freedv-dev/build_linux/codec2-prefix/tmp/codec2-cache-Debug.cmake
-- codec2 version: 0.8
-- Build type is: Debug
-- Compiler Flags: -Wall -g -O3
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ett14144/ohjelmat/freedv-dev/build_linux/codec2-prefix/src/codec2-build
[ 27%] Performing build step for 'codec2'
[ 1%] Built target drs232
[ 3%] Built target generate_codebook
[ 36%] Built target codec2
[ 38%] Built target cohpsk_put_test_bits
[ 40%] Built target cohpsk_get_test_bits
[ 42%] Built target vhf_frame_c2
[ 43%] Built target vhf_deframe_c2
[ 45%] Built target cohpsk_demod
[ 48%] Built target fmfsk_demod
[ 49%] Built target insert_errors
[ 53%] Built target fdmdv_get_test_bits
[ 54%] Built target freedv_rx
[ 57%] Built target drs232_ldpc
[ 59%] Built target ldpc_enc
[ 60%] Built target fsk_mod
[ 65%] Built target fdmdv_demod
[ 66%] Built target cohpsk_ch
[ 67%] Built target generate_wideband_map
[ 68%] Built target c2dec
[ 70%] Built target fdmdv_interleave
[ 72%] Built target c2enc
[ 73%] Built target fmfsk_mod
[ 74%] Built target cohpsk_mod
[ 78%] Built target fdmdv_mod
[ 79%] Built target c2demo
[ 83%] Built target fdmdv_put_test_bits
[ 85%] Built target fec_dec
[ 87%] Built target fsk_demod
[ 88%] Built target c2sim
[ 89%] Built target fdmdv_channel
[ 91%] Built target fec_enc
[ 93%] Built target freedv_tx
[ 95%] Built target ldpc_dec
[ 97%] Built target fm_demod
[ 99%] Built target fsk_get_test_bits
[100%] Built target fsk_put_test_bits
[ 30%] No install step for 'codec2'
[ 32%] Completed 'codec2'
[ 40%] Built target codec2
[ 42%] Building CXX object src/CMakeFiles/freedv.dir/dlg_audiooptions.cpp.o
In file included from /home/ett14144/ohjelmat/freedv-dev/src/fdmdv2_main.h:66:0,
from /home/ett14144/ohjelmat/freedv-dev/src/dlg_audiooptions.cpp:22:
/home/ett14144/ohjelmat/freedv-dev/build_linux/codec2-prefix/src/codec2/src/codec2.h:36:28: fatal error: codec2/version.h: No such file or directory
compilation terminated.
src/CMakeFiles/freedv.dir/build.make:62: recipe for target 'src/CMakeFiles/freedv.dir/dlg_audiooptions.cpp.o' failed
make[2]: *** [src/CMakeFiles/freedv.dir/dlg_audiooptions.cpp.o] Error 1
CMakeFiles/Makefile2:160: recipe for target 'src/CMakeFiles/freedv.dir/all' failed
make[1]: *** [src/CMakeFiles/freedv.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment