I've tweaked some files so I could compile gen_ft8.exe under MSYS2 on Windows. I can run gen_ft8.exe in Windows, and with it I have successfully created a .wav which could be opened and decoded by WSJT-X on Windows 10.
test_ft8.exe gives "Test OK" 3808 times. I have not yet tested any other binary outputs, but it all compiled successfully.
Made this pull request in case you want to take the changes on. I understand if this project has no interest in maintaining Windows compatibility.
Main changes:
Added Windows/mingw64 fallbacks for stpcpy and gmtime_r.
USE_ASAN = 1 has been added to the Makefile which allows you to turn on/off the flag -fsanitize=address more easily. This is because I needed to turn it off for mingw64 to get it to compile. But I've just left it on (i.e. unchanged), requiring manual editing to = 0 for a Windows build
My goal is to make a C# wrapper for ft8_lib. I'm no expert, just working out what I'm doing as I go.
Hope this is something useful and I haven't gone down the wrong path.
I've tweaked some files so I could compile
gen_ft8.exe
under MSYS2 on Windows. I can rungen_ft8.exe
in Windows, and with it I have successfully created a .wav which could be opened and decoded by WSJT-X on Windows 10.test_ft8.exe
gives "Test OK" 3808 times. I have not yet tested any other binary outputs, but it all compiled successfully.Made this pull request in case you want to take the changes on. I understand if this project has no interest in maintaining Windows compatibility.
Main changes:
Added Windows/mingw64 fallbacks for
stpcpy
andgmtime_r
.USE_ASAN = 1
has been added to the Makefile which allows you to turn on/off the flag-fsanitize=address
more easily. This is because I needed to turn it off for mingw64 to get it to compile. But I've just left it on (i.e. unchanged), requiring manual editing to= 0
for a Windows buildMy goal is to make a C# wrapper for ft8_lib. I'm no expert, just working out what I'm doing as I go.
Hope this is something useful and I haven't gone down the wrong path.