On Tue, May 7, 2013 at 12:40 AM, Gullik Webjörn <[email protected]
> wrote:
> Hi,
>
> Could you breifly explain how to use this feature, i.e. a very brief
> tutorial for freedv usage.
> That would enable us with no experience in crossbuilding for windows to:
> Understand how our building process should change.
> Be able to contribute experiences and improve software availability.
> Should I now skip ( ./configure, make, etc.) and cmake instead?
>
Theoretically, yes. The only problem with testing this right now is if your
build depends on config.h, it may not be able to find it until
fdmdv2_main.h is updated because cmake prefers, and I've enforced
out-of-source builds so my config.h is getting generated in the binary dir
instead of the source dir where fdmdv2_main.h is pointing.
If you want to test it I would recommend making a copy of the source
manually or with "svn export ...". and manually removing the "../" ah la:
#include "../config.h"
to
#include "config.h"
then make a directory somewhere (really doesn't matter where):
mkdir freedv_build
cd freedv_build
cmake </path/to/source>
(if no errors or options required)
make
make install
It defaults to installing in /usr/local. To see what options are available
if you're using the command line I recommend ccmake which is a curses based
cmake gui. You always need to supply a location (or I always do) so if
you're in the build directory and have already run cmake do "ccmake .",
otherwise you can replace the cmake command with ccmake for the initial
configuration and point to the source directory as before.
I'm working on a README.cmake to commit to svn which will have some high
level instructions.
On a side note, you can follow the same general process with codec2-dev.
Thanks,
Richard
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2