Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make win32 (mingw64) compatible #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pengowray
Copy link

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.

image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant