On Tue, 11 Jun 2013, Richard Shaw wrote:
> Yes, but I think it's the option you already discovered, USE_STATIC_SOX, so
> something like:
>
> $ cmake -DUSE_STATIC_SOX=TRUE /path/to/src
>
> It will download the latest version (at least at the time I set it up, I
> don't think there's been a release since then) and built it. It will not
> install it but rather grab the static library out of the build subdirectory.
This command works for me (but with no static SOX build of course):
cmake .. -DUSE_STATIC_CODEC2=1
This one does not:
cmake .. -DUSE_STATIC_CODEC2=1 -DUSE_STATIC_SOX=1
The last command results in:
--------------------------------------------------------
...
-- Looking for sndfile...
-- sndfile library: /usr/lib64/libsndfile.so
-- sndfile headers: /usr/include
-- Will attempt static build of sox.
-- Looking for wxWidgets...
-- Found wxWidgets: TRUE
-- wxWidgets version: 2.9.4
-- Will attempt static build of codec2.
-- Found Subversion: /usr/bin/svn (found version "1.6.11")
-- Looking for libctb...
-- libctb library: /usr/local/lib/libctb-0.16.so
-- libctb headers: /usr/local/include
-- Performing Test LIBCTB_LINKS
-- Performing Test LIBCTB_LINKS - Success
-- Build type will be: Release
CMake Error: The following variables are used in this project, but they are set
to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake
files:
ALSA_LIBRARIES
linked by target "freedv" in directory
/root/src/we7u/freetel/freetel-code/fdmdv2/src
AO_LIBRARIES
linked by target "freedv" in directory
/root/src/we7u/freetel/freetel-code/fdmdv2/src
-- Configuring incomplete, errors occurred!
--------------------------------------------------------
Notice the "Will attempt static build of sox." message, which is new.
I didn't see any download of Sox occur but maybe that happens during the "make"
portion instead of during "cmake".
--
Curt, WE7U. http://wetnet.net/~we7u
Lotto: A tax on people who are bad at math. - unknown
Windows: Microsoft's tax on computer illiterates. - WE7U.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2