On Tue, Jun 11, 2013 at 4:10 PM, Curt, WE7U <[email protected]> wrote:

> 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
> 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!
> --------------------------------------------------------
>

Yes, I found that if I tried a static build that I needed alsa and ao
libraries, so you'll probably need alsa-devel (or alsa-libs-devel?) and
libao-devel. I'll think about ways to make the error more descriptive. I
already had the packages installed.



> 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".


Yes, it will happen during make.

Thanks for trying it out!

Richard
------------------------------------------------------------------------------
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

Reply via email to