From: drowe67 Date: Sat, 13 Jun 2015 03:13:31 +0000 (+0000) Subject: readme for windows notes X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=e3167955c776e14118342dee6a678454917bf582;p=freetel-svn-tracking.git readme for windows notes git-svn-id: https://svn.code.sf.net/p/freetel/code@2185 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/fdmdv2-dev/README.txt b/fdmdv2-dev/README.txt index eafa4953..4b24bccd 100644 --- a/fdmdv2-dev/README.txt +++ b/fdmdv2-dev/README.txt @@ -30,7 +30,7 @@ $ make [FreeDV builds] $ ./src/freedv -Note: add "-DCMAKE_BUILD_TYPE=Debug" the list above for debug (gcc -g) buildthat include source line numbers. +Note: add "-DCMAKE_BUILD_TYPE=Debug" the list above for debug (gcc -g) buildthat include source line numbers and working asserts(). Quickstart 2 ------------ @@ -46,6 +46,26 @@ $ make (as root) $ make install + +======================================================= + Building for Windows on Ubuntu Linux (Cross compiling) +======================================================= + +$ sudo apt-get install mingw-w64 + +[step to wget hamlib] + +$ cd /path/to/fdmdv2 +$ mkdir build_windows +$ cd build_windows +$ cmake -DBOOTSTRAP_WXWIDGETS=TRUE /path/to/fdmdv2-dev -DCMAKE_TOOLCHAIN_FILE=cmake/Toolchain-Ubuntu-mingw32.cmake +[wxWidgets builds] + +$ cmake -DBOOTSTRAP_WXWIDGETS=TRUE ~/tmp/fdmdv2-dev -DCMAKE_TOOLCHAIN_FILE=cmake/Toolchain-Ubuntu-mingw32.cmake -DUSE_STATIC_SAMPLERATE=true -DUSE_STATIC_SNDFILE=TRUE -DHAMLIB_INCLUDE_DIR=hamlib-win32-1.2.15.3/include -DHAMLIB_LIBRARY=hamlib-win32-1.2.15.3/lib + + + + ==================================== Building and installing on Windows ====================================