Hi Bob,
I just tried the instructions in freedv-dev/README.txt "Building for
Windows on Ubuntu Linux (Cross compiling)". I'm using Ubuntu 14.
I started with the freedv build step 3 as I had already installed the C
cross-compiler, patched cmake and built codec2-dev for Windows. I have
a copy of my console below.
I haven't tried it on a freshly installed Ubuntu machine for a while, if
yr still stuck let me know and I'll try it on a new Ubuntu 16 machine I
have kicking around.
I think the Win32 codec2-dev instructions should be copied to the
codec2-dev README, it's a bit unclear on how to build for Win32.
Anyway, just get back to me if your still stuck!
Cheers,
David
-/-
david@penetrator:~/tmp/freedv-dev$ mkdir build_windows
david@penetrator:~/tmp/freedv-dev$ cd build_windows/
david@penetrator:~/tmp/freedv-dev/build_windows$ cmake
-DBOOTSTRAP_WXWIDGETS=TRUE ..
-DCMAKE_TOOLCHAIN_FILE=cmake/Toolchain-Ubuntu-mingw32.cmake
-DCMAKE_BUILD_TYPE=Debug
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc
-- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/i686-w64-mingw32-g++
-- Check for working CXX compiler: /usr/bin/i686-w64-mingw32-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- FreeDV version: 1.2 devel
-- Adding wxWidgets build target...
-- wxWidgets install dir:
/home/david/tmp/freedv-dev/build_windows/external/dist
-- Will perform bootstrap build of wxWidgets.
After make step completes, re-run cmake and make again to perform
FreeDV build.
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/david/tmp/freedv-dev/build_windows
david@penetrator:~/tmp/freedv-dev/build_windows$ make
Scanning dependencies of target wxWidgets
[ 12%] Creating directories for 'wxWidgets'
[ 25%] Performing download step (download, verify and extract) for
'wxWidgets'
-- downloading...
src='http://downloads.sourceforge.net/wxwindows/wxWidgets-3.0.2.tar.bz2'
dst='/home/david/tmp/freedv-dev/build_windows/wxWidgets-prefix/src/wxWidgets-3.0.2.tar.bz2'
timeout='none'
-- [download 0% complete]
<after download wxWidgets starts to build>
------------------------------------------------------------------------------
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