You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+21-3
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ This is an unofficial Linux client for the Q2 Wi-Fi Internet Radio.
5
5
It uses libusb for the communication with the device in userspace.
6
6
This program provides some basic functionality for loading radio stations to each side of the radio.
7
7
8
+
A [windows executable](https://github.com/vporpo/q2radio/releases) can be found in the releases. Please download the zip file containing the windows executable along with the dlls.
9
+
8
10
## Requirements
9
11
* libusb: You need to have the libusb developers package (The header file libusb.h is required).
10
12
* A c++ compiler
@@ -13,10 +15,26 @@ This program provides some basic functionality for loading radio stations to eac
13
15
## Build Instructions
14
16
```bash
15
17
$ git clone https://github.com/vporpo/q2radio.git
16
-
$ cd q2radio
17
-
$ make
18
-
$ sudo make install
18
+
$ make -C q2radio/src
19
+
$ sudo make install # or just run the binary: q2radio/src/q2radio
20
+
```
21
+
### Windows build (thanks to user @Untitled-Document-1)
22
+
You can use [MSYS2 UCRT64](https://www.msys2.org/) as a build environment.
19
23
```
24
+
# In the MSYS2 UCRT64 terminal window:
25
+
pacman -S git make mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-libusb
26
+
git clone https://github.com/vporpo/q2radio.git
27
+
make -C q2radio/src windows # Don't forget the 'windows' target
28
+
# Run
29
+
./q2radio/src/q2radio.exe
30
+
```
31
+
The chances are that you will get an error.
32
+
33
+
You need to make sure the Q2Radio device uses the WinUSB driver.
34
+
There is a tool for changing the driver called [Zadig](https://zadig.akeo.ie) (check out the [libusb windows documentation](https://github.com/libusb/libusb/wiki/Windows#how-to-use-libusb-on-windows).
35
+
In the Zadig tool click on Options > List All Devices. Then Q2Radio should show up as a "USB Serial Device" in the drop-down list.
36
+
Switch it to the "WinUSB" driver by selecting it on the right hand side of the green arrow, and click on the "Replace Driver" button.
37
+
Then try running `q2radio.exe` once again, this time it should work.
0 commit comments