Difference between revisions of "PulseView"

From sigrok
Jump to navigation Jump to search
Line 37: Line 37:
  $ cmake ..
  $ cmake ..
* Use <code>PKG_CONFIG_PATH=/''<prefix-of-libsigrok-installation>''/lib/pkgconfig/</code> if libsigrok and libsigrokdecode are installed to a non-standard prefix.
* Use <code>PKG_CONFIG_PATH=/''<prefix-of-libsigrok-installation>''/lib/pkgconfig/</code> if libsigrok and libsigrokdecode are installed to a non-standard prefix.
* To change the install prefix: <code>cmake -DCMAKE_INSTALL_PREFIX=''<prefix-dir>''/ .</code>
* To change the install prefix: <code>cmake -DCMAKE_INSTALL_PREFIX=''<prefix-dir>''/ ..</code>
* To make a non-stripped debug build <code>cmake -DCMAKE_BUILD_TYPE=Debug .</code>
* To make a non-stripped debug build <code>cmake -DCMAKE_BUILD_TYPE=Debug ..</code>
* To enable unit tests: <code>cmake -DENABLE_TESTS=y .</code>
* To enable unit tests: <code>cmake -DENABLE_TESTS=y ..</code>
* To disable -Werror: <code>cmake -DDISABLE_WERROR=y .</code>
* To disable -Werror: <code>cmake -DDISABLE_WERROR=y ..</code>
* To build with clang: <code>CXX=clang++ cmake .</code>
* To build with clang: <code>CXX=clang++ cmake ..</code>
* If cmake complains that it can only find Qt5, even though you have Qt4 installed: <code>cmake&nbsp;-DQT_QMAKE_EXECUTABLE:string=qmake-qt4&nbsp;..</code>


==== Build ====
==== Build ====

Revision as of 14:55, 5 May 2013

PulseView on KDE (06/10/2012)

PulseView is a Qt based logic analyzer GUI for sigrok.

Features

  • Fast O(log N) signal rendering at all zoom levels.

Download

[Browse Source]

git clone git://sigrok.org/pulseview.git

Requirements

  • git
  • g++
  • make
  • cmake >= 2.6
  • libtool
  • pkg-config >= 0.22
  • libglib >= 2.28.0
  • Qt >= 4.x
  • libsigrok >= 0.2.0
  • libboost >= 1.4.6
  • libboost-test >= 1.4.6 (Boost unit test lib)

Building

Ubuntu

Prerequisites

  • You first need to build and install the libsigrok and libsigrokdecode.
  • You will also need to install boost and cmake with the following command:
$ sudo apt-get install cmake libqt4-dev libboost-dev libboost-test-dev libboost-thread-dev libboost-system-dev

Bootstrap

$ mkdir build
$ cd build
$ cmake ..
  • Use PKG_CONFIG_PATH=/<prefix-of-libsigrok-installation>/lib/pkgconfig/ if libsigrok and libsigrokdecode are installed to a non-standard prefix.
  • To change the install prefix: cmake -DCMAKE_INSTALL_PREFIX=<prefix-dir>/ ..
  • To make a non-stripped debug build cmake -DCMAKE_BUILD_TYPE=Debug ..
  • To enable unit tests: cmake -DENABLE_TESTS=y ..
  • To disable -Werror: cmake -DDISABLE_WERROR=y ..
  • To build with clang: CXX=clang++ cmake ..
  • If cmake complains that it can only find Qt5, even though you have Qt4 installed: cmake -DQT_QMAKE_EXECUTABLE:string=qmake-qt4 ..

Build

$ make
  • make VERBOSE=1 to show compiler arguments.

Test

$ ./pulseview

Install

$ sudo make install

See Also