packet:dire-wolf
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
packet:dire-wolf [2023/04/10 11:32] – m0lte | packet:dire-wolf [2024/08/29 17:36] (current) – m0lte | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Dire Wolf ====== | ====== Dire Wolf ====== | ||
- | 1.7.0-11468f2 (with IL2P) built for Windows x64 by M0LTE: https://drive.google.com/uc? | + | Official website: https://github.com/wb2osz/ |
- | 1.7.0-75ccf18 (with IL2P) built on Raspberry Pi OS ARM64 by M0LTE: https:// | + | ===== Debian, |
+ | Dire Wolf packages for Debian and some Debian-derived Linux distributions are available from the | ||
+ | [[https:// | ||
+ | ===== Windows ===== | ||
+ | |||
+ | |||
+ | Binaries built from dev branch, with IL2P: | ||
+ | |||
+ | 1.7.0-11468f2 for Windows x64 (April 2023): https:// | ||
+ | |||
+ | 1.7.0-c5ad945 for Windows x64 (23 July 2023): https:// | ||
+ | |||
+ | ===== Standalone builds for Raspberry Pi OS ===== | ||
+ | |||
+ | Note: the packaged versions above are likely to be more recent. | ||
+ | |||
+ | 1.7.0-75ccf18 for Raspberry Pi OS 64 bit: https:// | ||
+ | |||
+ | 1.7.0-75ccf18 for Raspberry Pi OS 32 bit: https:// | ||
+ | |||
+ | ===== Building Dire Wolf from source on Windows (optional) ===== | ||
+ | |||
+ | You might want to build Dire Wolf yourself to get binaries for the dev branch, which contains support for IL2P. Excerpt from user guide follows. | ||
+ | |||
+ | NB this does not include Hamlib support - someone needs to work out how to enable Hamlib support for Windows. If you manage it, please come and edit these instructions. | ||
+ | |||
+ | It is built using Cygwin, which provides a Unix-like development environment. The MinGW compiler is a special version of gcc which generates native code for the Windows operating system. | ||
+ | |||
+ | Install Cygwin 64 from https:// | ||
+ | |||
+ | During installation pick these additional packages: | ||
+ | |||
+ | * git | ||
+ | * bin-utils | ||
+ | * make | ||
+ | * cmake | ||
+ | * mingw64-x86_64-gcc-core | ||
+ | * mingw64-x86_64-gcc-g++ | ||
+ | |||
+ | If you want to generate code for a 32 bit target (i.e. Windows XP), also install these: | ||
+ | |||
+ | * mingw64-i686gcc-core | ||
+ | * mingw64-i686gcc-g++ | ||
+ | |||
+ | Open a Cygwin command window by double clicking this desktop shortcut. | ||
+ | |||
+ | Edit your ~/ | ||
+ | |||
+ | < | ||
+ | export CC=/ | ||
+ | export CXX=/ | ||
+ | export AR=/ | ||
+ | export WINDRES=/ | ||
+ | </ | ||
+ | |||
+ | To build the 32 bit version, use these instead: | ||
+ | |||
+ | < | ||
+ | export CC=/ | ||
+ | export CXX=/ | ||
+ | export AR=/ | ||
+ | export WINDRES=/ | ||
+ | </ | ||
+ | |||
+ | These commands will be run automatically when a new command window is opened. To apply them to the current command window: | ||
+ | |||
+ | < | ||
+ | source ~/ | ||
+ | </ | ||
+ | |||
+ | Type this to obtain the source code: | ||
+ | |||
+ | < | ||
+ | git clone http:// | ||
+ | cd direwolf | ||
+ | </ | ||
+ | |||
+ | This is the most recent stable version. If you want the most recent development version, with all of the latest new features and bug fixes, type: | ||
+ | |||
+ | < | ||
+ | git checkout dev | ||
+ | </ | ||
+ | |||
+ | Build it. Notice the double period at the end of the cmake command. | ||
+ | |||
+ | < | ||
+ | mkdir build | ||
+ | cd buile | ||
+ | cmake -DUNITTEST=1 .. | ||
+ | make -j4 | ||
+ | </ | ||
+ | |||
+ | It would be a good idea to run the self-tests. | ||
+ | |||
+ | < | ||
+ | make test | ||
+ | </ | ||
+ | |||
+ | The result should be several new executable files, in the build/src directory including " | ||
+ | |||
+ | If you want to bundle up the application, | ||
+ | |||
+ | < | ||
+ | make package | ||
+ | </ | ||
+ | |||
+ | Skip sections 5 (Linux) and 6 (Mac OS X) and proceed to section 7 for Basic Operation. | ||
+ | |||
+ | ===== Building Dire Wolf from source on Linux (optional) ===== | ||
+ | |||
+ | See the user guide, but here are some distilled steps for Raspberry Pi OS (tested on 64 bit build) | ||
+ | |||
+ | NB don't do this on a Pi that's got hamlib or Dire Wolf already installed from distro repositories. | ||
+ | |||
+ | Get dependencies: | ||
+ | < | ||
+ | sudo apt update && sudo apt install git cmake libasound2-dev libudev-dev gpsd libgps-dev automake libtool texinfo | ||
+ | </ | ||
+ | |||
+ | (Optional) Build and install hamlib: | ||
+ | < | ||
+ | cd ~ | ||
+ | git clone https:// | ||
+ | cd Hamlib | ||
+ | ./bootstrap | ||
+ | ./configure | ||
+ | make | ||
+ | sudo make install | ||
+ | </ | ||
+ | |||
+ | Build and install Dire Wolf (dev branch, 1.7, with IL2P support) | ||
+ | < | ||
+ | cd ~ | ||
+ | git clone https:// | ||
+ | cd direwolf | ||
+ | git checkout dev | ||
+ | mkdir build && cd build | ||
+ | cmake -DUNITTEST=1 .. | ||
+ | make -j4 | ||
+ | make test | ||
+ | sudo make install | ||
+ | sudo ln -s / | ||
+ | </ | ||
+ | |||
+ | It works! | ||
+ | < | ||
+ | $ direwolf -t 0 | ||
+ | Dire Wolf DEVELOPMENT version 1.7 G (Jul 23 2023) | ||
+ | Includes optional support for: gpsd hamlib cm108-ptt | ||
+ | </ | ||
+ | |||
+ | NB the "ln -s" above fixes the following: | ||
+ | |||
+ | direwolf: error while loading shared libraries: libhamlib.so.4: | ||
+ | |||
+ | The reason is that libhamlib.so is in / | ||
+ | |||
+ | ===== Decoding packet from audio ===== | ||
+ | |||
+ | OS-dependent, | ||
+ | direwolf.conf: | ||
+ | |||
+ | < | ||
+ | ADEVICE VoiceMeeter | ||
+ | CHANNEL 0 | ||
+ | MODEM 1200 | ||
+ | </ |
packet/dire-wolf.1681126356.txt.gz · Last modified: 2023/04/10 11:32 by m0lte