josevcm / nfc-laboratory

NFC signal and protocol analyzer using SDR receiver
GNU General Public License v3.0
411 stars 47 forks source link

nfc-lab v2.6.6 build broken with QtCreator5.0.2 / MinGW 8.1 #10

Closed bvernoux closed 2 years ago

bvernoux commented 2 years ago

Since nfc-lab v2.6.6 latest commit the build is broken with QtCreator5.0.2 / MinGW 8.1 (because of change to support MinGW 9.0 to be clarified see https://github.com/josevcm/nfc-laboratory/commit/e59be31bea6f0627d6f95769338361b245ec168e) It will be great to support if possible MinGW 8.1(by default with latest Community version of QtCreator5.0.2) and the new MinGW 9.0

josevcm commented 2 years ago

Hi Benjamin

MinGW 8.1 has a bug in the include file "filesystem" that prevents its use, see https://sourceforge.net/p/mingw-w64/bugs/737/.

I have replaced it with my own implementation to be able to compile with 8.1 versions, you can find the fix in the last commit.

Regards

bvernoux commented 2 years ago

Thanks all work fine now with your fix https://github.com/josevcm/nfc-laboratory/commit/64645adacdafc9e1f280b22c2fb927d712c190b7 and when using QtCreator5.0.2 / MinGW 8.1