This is the tutorial to build libsigrok and pulseview in windows
- Download msys https://www.msys2.org/
- Open “MSYS2 MinGW x64”, don’t use “MSYS2 MSYS”
3. git clone https://github.com/sigrokproject/sigrok-util.git
4. cd sigrok-utils/cross-compile/msys2
5. ./sigrok-native-msys2 prepare , it will auto install all necessary packages
Compile libsigrok
6. git clone https://gitlab.com/quantr/toolchain/libsigrok.git
7. cd libsigrok
8. ./autogen.sh
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 https://github.com/sigrokproject/libsigrokdecode.git
14. ./autogen.sh
15. make
16. make install
Compile pulseview
1. git clone https://github.com/sigrokproject/pulseview.git
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 .
5.