Windows
Revision as of 15:13, 17 March 2010 by Uwe Hermann (talk | contribs)
TODO: This page is outdated and not correct. This will be fixed soon!
This page describes how to build sigrok on Windows.
Building and installing the requirements
TortoiseGit
Mingw/MSYS
autotools
- autoconf
- automake
- libtool
- perl (required for autotools)
- libcrypt (required for perl)
- m4 (required for aclocal)
- TODO: Symlinks for autotools
libglib
Qt 4.6
libusb 1.0
libzip
- Needs zlib, it seems.
Building sigrok
Get the source code:
$ git clone git://sigrok.git.sourceforge.net/gitroot/sigrok/sigrok (or use TortoiseGit) $ cd sigrok
Make a local copy of some libusb files (we assume you already installed libusb into c:\Program Files):
$ cp /c/Program\ Files/LibUSB-Win32/lib/gcc/libusb.a lib $ cp /c/Program\ Files/LibUSB-Win32/include/usb.h include
Build the library:
$ make lib
Build the command-line tool:
$ make cli
Build the GUI:
- First, you need to copy some files into the gui/debug folder:
$ cd gui $ /c/Qt/2010.01/qt/bin/qmake.exe $ cd debug $ cp /c/Qt/2010.01/qt/bin/libgcc_s_dw2-1.dll . $ cp /c/Qt/2010.01/qt/bin/QtCored4.dll . $ cp /c/Qt/2010.01/qt/bin/QtGui4.dll . $ cp ../../lib/libsigrok.so .
- In a file explorer, double-click the sigrok-gui.pro file in the gui/ directory, which should open the project in Qt Creator.
- Build and run the project.