Bob Wisdom
8 years ago
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
***@W520:~/freedv/freedv-dev/build_windows$
--------------------------
Thanks, Bob VK4YA
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
***@W520:~/freedv/freedv-dev/build_windows$
--------------------------
Thanks, Bob VK4YA