Thanks Richard for the advice on cross building wxWidgets separately. I
have just attempted the same approach with Ubuntu but not succeeded so far.
I couldn't find a good up-to-date source of cross-build instructions for
wxWidgets on Linux targeting Win32, so my build attempt was probably in
error. I'll try again in due course.

On 27 March 2017 at 09:30, Bob Wisdom <[email protected]> wrote:

> I'm having problems with the FreeDV cross-build to Windows. Specifically
> at the wxWidgets part of the cross build instructions (presented in
> README.txt supplied with the FreeDV source). The Linux version builds
> perfectly.
>
> I just wondered if there was any updated instructions available, or any
> insight as to what I might have missed.
>
> I'm using Ubuntu 16.04 32 bit, but have also tried on Ubuntu 14.04 which
> gets the same error.  After 'cmake' runs successfully. then running 'make'
> gives a cross-build error that looks like this-
> --------------
> checking for C compiler default output file name... a.exe
> checking for suffix of executables... .exe
> checking whether we are cross compiling... configure: error: in
> `/home/bob/freedv/freedv-dev/build_windows/wxWidgets-prefix/
> src/wxWidgets':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details
> CMakeFiles/wxWidgets.dir/build.make:108: recipe for target
> 'wxWidgets-prefix/src/wxWidgets-stamp/wxWidgets-configure' failed
> make[2]: *** [wxWidgets-prefix/src/wxWidgets-stamp/wxWidgets-configure]
> Error 1
> CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/wxWidgets.dir/all'
> failed
> make[1]: *** [CMakeFiles/wxWidgets.dir/all] Error 2
> Makefile:83: recipe for target 'all' failed
> make: *** [all] Error 2
> bob@W520:~/freedv/freedv-dev/build_windows$
> --------------------------
> Thanks, Bob VK4YA
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to