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
Unresolved external symbols when building with UWP #32
Comments
Was a bit confused about the relationship between Windows and Android. Then I figured out this was actually two questions. The first question about unresolved external symbols is not one I can answer. The existing code does compile and run on standard windows. If Windows Universal Platform is different in some way from standard Windows then someone needs to provide support for that. With regard to the implementations of
I disagree. The first version uses GCC's |
CreateFileA and CreateFileW need to be replaced with CreateFile2 on UWP on Android the flac_min and flac_max are simply not defined at all, so the compilation/linking process fails. |
The |
I've mentioned the UWP problem on the flac-dev mailing list and linked to this issue. |
@GregSlazinski Quite a bit has changed with the UTF-8 code, is this still an issue? |
Several patches for UWP are supplied here: https://gitlab.xiph.org/xiph/flac/-/merge_requests/1 It seems however users of UWP are encouraged to migrate: https://www.techradar.com/news/microsoft-is-finally-dropping-uwp-app-support-windows-app-sdk-heres-why Because of that, I'm not sure whether rebasing and integrating these patches is worth the hassle. |
This has been fixed with the merge of #457 |
I'm getting unresolved external symbols when compiling in following cases:
CreateFileA CreateFileW from here: https://github.com/xiph/flac/blob/master/src/libFLAC/windows_unicode_filenames.c
when compiling on Windows Universal Platform (UWP does not have CreateFileA CreateFileW, it only has CreateFile2)
flac_max flac_min from here:
https://github.com/xiph/flac/blob/master/src/libFLAC/include/private/macros.h
when compiling on Android with latest Android NDK (Clang)
there are so many options in that file, but can you just keep it simple to one version in all cases:
The text was updated successfully, but these errors were encountered: