User Tools

Site Tools


packet:dire-wolf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
packet:dire-wolf [2023/07/23 08:33] m0ltepacket:dire-wolf [2024/04/29 19:24] (current) – Added website link alexswl
Line 1: Line 1:
 ====== Dire Wolf ====== ====== Dire Wolf ======
 +
 +Official website: https://github.com/wb2osz/direwolf
 +
 +===== Debian, Raspberry Pi OS, Ubuntu =====
 +
 +Dire Wolf packages for Debian and some Debian-derived Linux distributions are available from the 
 +[[https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/|OARC Package Repository]].
 +
 +===== Windows =====
 +
  
 Binaries built from dev branch, with IL2P: Binaries built from dev branch, with IL2P:
  
-1.7.0-11468f2 for Windows x64: https://drive.google.com/uc?id=1PpiR1e2i-IJGI5ubVICj9ylO9Gay5AxO&export=download+1.7.0-11468f2 for Windows x64 (April 2023): https://drive.google.com/uc?id=1PpiR1e2i-IJGI5ubVICj9ylO9Gay5AxO&export=download 
 + 
 +1.7.0-c5ad945 for Windows x64 (23 July 2023): https://drive.google.com/uc?export=download&id=1bgNcgtwSK_Ro0qq0BzN2yn_8aUaoPgpG 
 + 
 +===== 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://drive.google.com/uc?id=1vW2CMlN9uaiJ48-ZfcVdtaDH3XaIHlek&export=download 1.7.0-75ccf18 for Raspberry Pi OS 64 bit: https://drive.google.com/uc?id=1vW2CMlN9uaiJ48-ZfcVdtaDH3XaIHlek&export=download
Line 11: Line 27:
 ===== Building Dire Wolf from source on Windows (optional) ===== ===== Building Dire Wolf from source on Windows (optional) =====
  
-Excerpt from user guide follows+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
  
-The Windows version contains prebuilt executable files so you don’t need to build it from source. If you want to build it from sourcehere is how to do it.+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. 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.
Line 96: Line 112:
  
 Skip sections 5 (Linux) and 6 (Mac OS X) and proceed to section 7 for Basic Operation. 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:
 +<code>
 +sudo apt update && sudo apt install git cmake libasound2-dev libudev-dev gpsd libgps-dev automake libtool texinfo
 +</code>
 +
 +(Optional) Build and install hamlib:
 +<code>
 +cd ~
 +git clone https://github.com/Hamlib/Hamlib.git
 +cd Hamlib
 +./bootstrap
 +./configure
 +make
 +sudo make install
 +</code>
 +
 +Build and install Dire Wolf (dev branch, 1.7, with IL2P support)
 +<code>
 +cd ~
 +git clone https://www.github.com/wb2osz/direwolf.git
 +cd direwolf
 +git checkout dev
 +mkdir build && cd build
 +cmake -DUNITTEST=1 ..
 +make -j4
 +make test
 +sudo make install
 +sudo ln -s /usr/local/lib/libhamlib.so.4 /usr/lib/libhamlib.so.4
 +</code>
 +
 +It works!
 +<code>
 +$ direwolf -t 0
 +Dire Wolf DEVELOPMENT version 1.7 G (Jul 23 2023)
 +Includes optional support for:  gpsd hamlib cm108-ptt
 +</code>
 +
 +NB the "ln -s" above fixes the following:
 +
 +direwolf: error while loading shared libraries: libhamlib.so.4: cannot open shared object file: No such file or directory
 +
 +The reason is that libhamlib.so is in /usr/local/lib rather than the usual /usr/lib and the particular operating system does not look in the former. 
packet/dire-wolf.txt · Last modified: 2024/04/29 19:24 by alexswl