readme for windows notes
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 13 Jun 2015 03:13:31 +0000 (03:13 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 13 Jun 2015 03:13:31 +0000 (03:13 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@2185 01035d8c-6547-0410-b346-abe4f91aad63

fdmdv2-dev/README.txt

index eafa49533c67949442c81fbe5a9520eb132f59d9..4b24bccdcde6c758ab938986ff34b5b77a5d7926 100644 (file)
@@ -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
 ====================================