1/ Thanks Richard, much closer now!  Now I am just hitting this linking 
problem right at the end:

[ 78%] Built target wxWidgets
make[2]: *** No rule to make target 
`external/dist/lib/libwx_mswu_aui-3.0.a', neeed by `src/freedv.exe'.  Stop.
make[1]: *** [src/CMakeFiles/freedv.dir/all] Error 2
make: *** [all] Error 2

2/ The actual lib names haven extra suffix that is not being picked up, 
e.g.:

$ find . -print | xargs grep libwx_mswu -s

./build_windows/wxWidgets-prefix/src/wxWidgets/lib/wx/config/i686-w64-mingw32-msw-unicode-static-3.0:
 

link_deps="${libdir}/libwx_mswu-3.0-i686-w64-mingw32.a

3/ I have also tweaked some of the Win32 files in fdmdv-dev/cmake to use 
.a rather than .lib library names, is this OK?  Perhaps clauses are reqd 
to separate native Win32 builds from x-compiling.

Thanks,

David

On 14/06/15 05:34, Richard Shaw wrote:
> FOUND IT!
>
> I had forgotten that the FindwxWidgets cmake module in 2.8 did not
> correctly handle cross-compiling! When it sees WIN32 it assumes windows
> instead of unix style paths!
>
> The quick fix it to change your system file but remember to reapply the
> patch if it gets updated:
>
> http://www.cmake.org/gitweb?p=stage/cmake.git;a=patch;h=33286235048495ceafb636d549d9a4e8891967ae
>
> We could also put a copy in our cmake directory but I would want to put
> version detection on it so we only use it if we're dealing with an older
> version of cmake.
>
> Thanks,
> Richard
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Freetel-codec2 mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>

------------------------------------------------------------------------------
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to