Repository navigation
Expand file tree
/
Copy pathINSTALL
More file actions
87 lines (70 loc) · 2.55 KB
/
Copy pathINSTALL
File metadata and controls
87 lines (70 loc) · 2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
-------------------------------------------------------------------------------
INSTALL
-------------------------------------------------------------------------------
Requirements
------------
- git
- gcc (>= 4.0)
- g++
- make
- cmake >= 3.10
- Qt6 (Core, Gui, Widgets and Svg); Qt5 (>= 5.0) is still supported as a fallback
- libglib >= 2.32.0
- zlib
- libusb-1.0 >= 1.0.16
On FreeBSD, this is an integral part of the FreeBSD libc, not an extra package/library.
This is part of the standard OpenBSD install (not an extra package), apparently.
- libboost >= 1.42
- libfftw3 >= 3.3
- libpython > 3.2
- pkg-config >= 0.22
Building and installing
-----------------------
Step1: Installing the requirements:
please check your respective distro's package manager tool if you use other distros
Debian/Ubuntu:
$ sudo apt install git gcc g++ make cmake qt6-base-dev libqt6svg6-dev libgl1-mesa-dev \
libxkbcommon-dev libvulkan-dev libglib2.0-dev zlib1g-dev libusb-1.0-0-dev libboost-dev libfftw3-dev python3-dev libudev-dev pkg-config
How to install qt on ubuntu?
qt5: qtbase5-dev,libqt5svg5-dev
qt6: qt6-base-dev,libqt6svg6-dev,libgl1-mesa-dev*,libxkbcommon-dev,libvulkan-dev
The Qt Svg module is not optional: the themes draw all checkboxes, combobox
arrows and window buttons from SVG files, and without its qsvg plugins those
controls are simply not painted (the build and the startup log stay clean).
Fedora:
$ sudo yum install git gcc g++ make cmake pkgconfig glib2-devel \
zlib-devel libudev-devel libusb1-devel \
python3-devel qt6-qtbase-devel qt6-qtsvg-devel boost-devel libfftw3-devel
Arch:
$ pacman -S base-devel git cmake glib2 zlib libusb \
python boost qt6-base qt6-svg fftw
Mac:
install git
install hombrew
brew install gcc
brew install g++
brew install make
brew install cmake
brew install gettext
brew install glib
brew install libusb
brew install zlib
brew install boost
brew install fftw
brew install python3
brew install qt
brew install pkg-config
Step2: Get the DSView source code
$ git clone https://github.com/Schildkroet/DSView
Step3: Building
$ make
$ sudo make install
In-source builds (`cmake .`) are not supported. `make` configures and builds
in ./build (executable: build/bin/DSView). Without the wrapper:
$ cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
$ cmake --build build -j "$(nproc)"
$ sudo cmake --install build
See the following wiki page for more (OS-specific) instructions:
http://sigrok.org/wiki/Building
The latest source code:
https://github.com/Schildkroet/DSView