2020-03-15 02:50:57 +00:00
# How to install wfview
### 1. Install prerequisites:
(Note, some packages may have slightly different version numbers, this should be ok for minor differences.)
~~~
sudo apt-get install build-essential
sudo apt-get install qt5-qmake
sudo apt-get install qt5-default
sudo apt-get install libqt5core5a
sudo apt-get install qtbase5-dev
sudo apt-get install libqt5serialport5 libqt5serialport5-dev
2021-02-12 07:32:14 +00:00
sudo apt-get install libqt5multimedia5
sudo apt-get install libqt5multimedia5-plugins
sudo apt-get install qtmultimedia5-dev
2020-03-15 02:50:57 +00:00
sudo apt-get install git
2021-08-16 12:40:54 +00:00
sudo apt-get install libopus-dev
2022-05-19 16:03:06 +00:00
sudo apt-get install libeigen3-dev
sudo apt-get install portaudio19-dev
sudo apt-get install librtaudio-dev
2022-12-28 21:38:39 +00:00
sudo apt-get install libhidapi-dev libqt5gamepad5-dev
2020-04-03 23:23:10 +00:00
~~~
Now you need to install qcustomplot. There are two versions that are commonly found in linux distros: 1.3 and 2.0. Either will work fine. If you are not sure which version your linux install comes with, simply run both commands. One will work and the other will fail, and that's fine!
qcustomplot1.3 for older linux versions (Linux Mint 19.x, Ubuntu 18.04):
~~~
2020-03-28 00:53:04 +00:00
sudo apt-get install libqcustomplot1.3 libqcustomplot-doc libqcustomplot-dev
2020-04-03 23:23:10 +00:00
~~~
2020-10-16 23:37:52 +00:00
qcustomplot2 for newer linux versions (Linux Mint 20, Ubuntu 19, Rasbian V?, Debian 10):
2020-04-03 23:23:10 +00:00
~~~
2020-04-05 00:50:47 +00:00
sudo apt-get install libqcustomplot2.0 libqcustomplot-doc libqcustomplot-dev
2020-03-15 02:50:57 +00:00
~~~
2020-04-03 23:23:10 +00:00
2020-03-15 02:50:57 +00:00
optional for those that want to work on the code using the QT Creator IDE:
~~~
sudo apt-get install qtcreator qtcreator-doc
~~~
### 2. Clone wfview to a local directory on your computer:
~~~
cd ~/Documents
git clone https://gitlab.com/eliggett/wfview.git
~~~
### 3. Create a build directory, compile, and install:
2021-08-01 11:55:44 +00:00
If you want to change the default install path from `/usr/local` to a different prefix (e.g. `/opt` ), you must call `qmake ../wfview/wfview.pro PREFIX=/opt`
2020-03-15 02:50:57 +00:00
~~~
mkdir build
cd build
qmake ../wfview/wfview.pro
make -j
2021-08-01 11:55:44 +00:00
sudo make install
2020-03-15 02:50:57 +00:00
~~~
2020-04-07 21:33:15 +00:00
2020-03-15 02:50:57 +00:00
### 4. You can now launch wfview, either from the terminal or from your desktop environment. If you encounter issues using the serial port, run the following command:
~~~
2021-03-24 07:01:13 +00:00
if you are using the wireless 705 or any networked rig like the 7610, 7800, 785x, there is no need to use USB so below is not needed.
2020-03-15 02:50:57 +00:00
sudo chown $USER /dev/ttyUSB*
2021-04-29 05:07:47 +00:00
Note, on most linux systems, you just need to add your user to the dialout group, which is persistent and more secure:
2021-02-03 18:57:22 +00:00
2021-04-29 05:07:47 +00:00
~~~
2021-02-10 12:39:30 +00:00
sudo usermod -aG dialout $USER
2021-04-29 05:07:47 +00:00
~~~
2021-02-10 12:39:30 +00:00
(don't forget to log out and log in)
2021-02-03 18:57:22 +00:00
2021-03-24 07:01:13 +00:00
~~~
2021-02-03 18:57:22 +00:00
2021-08-01 11:55:44 +00:00
### opensuse/sles/tumbleweed install
2021-02-03 18:57:22 +00:00
---
2022-04-11 12:20:24 +00:00
install wfview on suse 15.3 & up, sles 15.x or tumbleweed; this was done on a clean install/updated OS.
2021-02-03 18:57:22 +00:00
2021-03-24 07:01:13 +00:00
we need to add packages to be able to build the stuff.
2021-02-03 18:57:22 +00:00
2021-02-03 19:07:25 +00:00
- sudo zypper in --type pattern devel_basis
2023-01-30 18:49:49 +00:00
- sudo zypper in libQt5Widgets-devel libqt5-qtbase-common-devel libqt5-qtserialport-devel libQt5SerialPort5 qcustomplot-devel libqcustomplot2 libQt5PrintSupport-devel libqt5-qtmultimedia-devel lv2-devel libopus-devel eigen3-devel libQt5Xml-devel portaudio-devel rtaudio-devel libqt5-qtgamepad-dev
libQt5Gamepad5
2021-02-03 18:57:22 +00:00
2021-07-24 08:59:01 +00:00
optional (mainly for development specifics): get and install qt5:
2021-02-03 18:57:22 +00:00
2021-03-24 07:01:13 +00:00
- wget http://download.qt.io/official_releases/online_installers/qt-unified-linux-x64-online.run
2021-02-03 19:07:25 +00:00
- chmod +x qt-unified-linux-x64-online.run
2021-03-24 07:01:13 +00:00
2021-02-03 19:07:25 +00:00
- kdesu ./qt-unified-linux-x64-online.run
2021-03-24 07:01:13 +00:00
install Qt 5.15.2 for GCC for desktop application development
2021-03-23 20:16:47 +00:00
2021-03-24 07:01:13 +00:00
when done, create the place where to build:
2021-03-23 20:16:47 +00:00
2021-03-24 07:01:13 +00:00
in this case, use your homedir:
2021-02-03 19:07:25 +00:00
2021-03-24 07:01:13 +00:00
- mkdir -p ~/src/build && cd src
2021-02-03 19:07:25 +00:00
- git clone https://gitlab.com/eliggett/wfview.git
- cd build
2022-04-11 12:20:24 +00:00
- qmake-qt5 ../wfview/wfview.pro (wfserver.pro if you build the server version)
2021-02-03 19:07:25 +00:00
- make -j
2022-04-11 12:20:24 +00:00
- sudo make install
2021-02-03 18:57:22 +00:00
2021-03-24 07:01:13 +00:00
wfview is now installed in /usr/local/bin
2021-02-03 18:57:22 +00:00
---
2021-05-26 13:21:32 +00:00
### Fedora install ###
---
Tested under Fedora 33/34.
Install qt5 dependencies:
2021-08-16 12:40:54 +00:00
- sudo dnf install qt5-qtbase-common qt5-qtbase qt5-qtbase-gui qt5-qtserialport qt5-qtmultimedia mingw64-qt5-qmake qt5-qtbase-devel qt5-qtserialport-devel qt5-qtmultimedia-devel libopus-dev
2021-05-26 13:21:32 +00:00
Install qcustomplot:
- sudo dnf install qcustomplot qcustomplot-devel
When done, create a build area, clone the repo, build and install:
- mkdir -p ~/src/build && cd src
- git clone https://gitlab.com/eliggett/wfview.git
- cd build
- qmake-qt5 ../wfview/wfview.pro
- make -j
- sudo ./install.sh
wfview is now installed in /usr/local/bin
2022-12-28 21:38:39 +00:00
# How to configure your RC-28 knob under Linux
To use RC-28 knob you need to add udev rules, please execute as root:
~~~
echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="0c26", ATTRS{idProduct}=="001e", MODE="0666"' >> /etc/udev/rules.d/99-ham-wfview.rules
udevadm control --reload-rules & & udevadm trigger
~~~
2021-05-26 13:21:32 +00:00
---