Hamlib: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
mNo edit summary
Line 21: Line 21:
https://github.com/Hamlib/Hamlib.git
https://github.com/Hamlib/Hamlib.git
cd Hamlib/docker-build/
cd Hamlib/docker-build/
# Install the toolchain in an image
docker buildx build -t hamlib-build .
docker buildx build -t hamlib-build .
cd ..
cd ..
# Use the toolchain to actually compile and install hamlib on the host.
docker run --rm -ti -u root -v $(pwd):/home/hamlib/build -v /usr/local/hamlib-alpha:/usr/local/hamlib-alpha hamlib-build
docker run --rm -ti -u root -v $(pwd):/home/hamlib/build -v /usr/local/hamlib-alpha:/usr/local/hamlib-alpha hamlib-build
/usr/local/hamlib-alpha/bin/rigctl
/usr/local/hamlib-alpha/bin/rigctl
Line 28: Line 30:


=== Build Grig (in Docker?) ===
=== Build Grig (in Docker?) ===
[[Category: Radio]]
[[Category: Radio]]

Revision as of 02:19, 28 March 2023

A library for radio and rig control.

https://github.com/Hamlib/Hamlib

Grig

Grig is an app for controlling rigs and rotators.

Getting started I want to set up Grig + the Kenwood TM-D710A on Plover (Ubuntu Linux), so that I can test Hamlib with that radio

I am trying to use it in my Svxlink projects.

I need the latest versions of things to work on Plover, so I am building them from source code. I want to try building in Docker so that I can keep the changes to Plover contained.

Build Hamlib in Docker

It comes with instructions, here: https://github.com/Hamlib/Hamlib/tree/master/docker-build This will build and install hamlib in /usr/local/hamlib-alpha/.

cd ~/docker
https://github.com/Hamlib/Hamlib.git
cd Hamlib/docker-build/
# Install the toolchain in an image
docker buildx build -t hamlib-build .
cd ..
# Use the toolchain to actually compile and install hamlib on the host.
docker run --rm -ti -u root -v $(pwd):/home/hamlib/build -v /usr/local/hamlib-alpha:/usr/local/hamlib-alpha hamlib-build
/usr/local/hamlib-alpha/bin/rigctl

Build Grig (in Docker?)