代码拉取完成,页面将自动刷新
同步操作将从 中电华大科技(深圳)有限公司/DSView 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
-------------------------------------------------------------------------------
INSTALL
-------------------------------------------------------------------------------
Requirements
------------
- git
- gcc (>= 4.0)
- g++
- make
- libtool
- autoconf >= 2.63
- automake >= 1.11
- cmake >= 2.6
- Qt >= 5.0
- libtool
- libglib >= 2.32.0
- libzip >= 0.10
- 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 (including the following libs):
- libboost-system
- libboost-thread
- pkg-config >= 0.22
This is part of the standard OpenBSD install (not an extra package), apparently.
- check >= 0.9.4 (optional, only needed to run unit tests)
- libfftw3 >= 3.3
Building and installing
-----------------------
Step1: Get the DSView source code
$ git clone git://github.com/DreamSourceLab/DSView
Step2: Installing the requirements:
please check your respective distro's package manager tool if you use other distros
Debian/Ubuntu:
$ sudo apt-get install git-core build-essential cmake autoconf automake libtool pkg-config \
libglib2.0-dev libzip-dev libudev-dev libusb-1.0-0-dev \
python3-dev qt5-default libboost-dev libboost-test-dev libboost-thread-dev libboost-system-dev libboost-filesystem-dev check libfftw3-dev
Fedora (18, 19):
$ sudo yum install git gcc g++ make cmake autoconf automake libtool pkgconfig glib2-devel \
libzip-devel libudev-devel libusb1-devel \
python3-devel qt-devel boost-devel check libfftw3-devel
Arch:
$ pacman -S base-devel git cmake glib2 libzip libusb check
python boost qt5 fftw
Step3: Building
$ cd libsigrok4DSL
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
$ cd ..
$ cd libsigrokdecode4DSL
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
$ cd ..
$ cd DSView
$ cmake .
/*
* If this step fails,
* make sure that your pkg-config is properly configured
* to find the libsigrok and libsigrokdecode libraries
* (It's not by default in Fedora 23).
* To do this add "export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
* or "export PKG_CONFIG_PATH=/usr/lib/pkgconfig"
* or "export PKG_CONFIG_PATH=/usr/lib64/pkgconfig"
* to your ~/.bashrc and reload it `. ~/.bashrc`.
*/
$ make
$ sudo make install
See the following wiki page for more (OS-specific) instructions:
http://sigrok.org/wiki/Building
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。