Search Posts

Compile libsigrok and pulseview in windows by msys2

This is the tutorial to build libsigrok and pulseview in windows

  1. Download msys
  2. Open “MSYS2 MinGW x64”, don’t use “MSYS2 MSYS”

3. git clone

4. cd sigrok-utils/cross-compile/msys2

5. ./sigrok-native-msys2 prepare , it will auto install all necessary packages

Compile libsigrok

6. git clone

7. cd libsigrok

8. ./

9. vi configure and comment out these lines, since the event-abstraction branhc of libusb is not available anymore

10. ./configure –disable-python

11. make

12. make install , if this step success, you got libsigrok, now you can compile libsigrokdecode and pulseview

Compile libsigrokdecode

13. git clone

14. ./

15. make

16. make install

Compile pulseview

1. git clone

2. pacman -S ninja

3. pacman -S mingw-w64-x86_64-qt5

4. cmake -D CMAKE_C_COMPILER=/mingw64/bin/gcc.exe -D CMAKE_CXX_COMPILER=/mingw64/bin/g++.exe .


Leave a Reply

Your email address will not be published. Required fields are marked *