-
-
Notifications
You must be signed in to change notification settings - Fork 184
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
Missing CLIPFORMAT
(and others) from objbase.h
and objidl.h
#395
Comments
This does not seem an issue with llvm-mingw or clang. APR can be compiled with some patches using mingw-w64 toolchain, see the apr_wtypes.patch in https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-apr |
Thank you for your reply. Yes, I have just located the MinGW patches in MSYS2 tonight, and converted them to git patches to be submitted to Vcpkg. I will be submitting the following patches, which are identical to the patches found in https://github.com/msys2/MINGW-packages/tree/1f05e92bf7f5d7194bcfd85e3078a4d7ee0144b1/mingw-w64-apr: However, I'm still encountering build issues in LLVM MinGW such as |
It could be possible to disable those warnings with compiler flags. I would suggest to upstream any changes if required. By the way, I am not sure if that apr_wtypes.patch is valid or it should be applied. That patch is 10 years old and untouched as of writing this comment. |
Also, the actual underlying issue could be in mingw-w64 headers. Contributions are welcomed. |
I will surely upstream my changes once I get it to compile, locally first,
then on vcpkg. I can see that APR is built for target
`mingw-w64-clang-x86_64` (`mingw-w64-clang-x86_64-apr`). Does MSYS2 use
CMake to build this package, or only the autoconf?
…On Fri, Jan 26, 2024, 11:26 PM Biswapriyo Nath ***@***.***> wrote:
Also, the actual underlying issue could be in mingw-w64 headers.
Contributions are welcomed.
—
Reply to this email directly, view it on GitHub
<#395 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD7DVCFAGE6IAHIWV3YXTULYQSTZ7AVCNFSM6AAAAABCM6GCCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGA2TEMBTHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The mingw apr package is built using autotools build system. The build procedure can be found in PKGBUILD file https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-apr/PKGBUILD |
I am trying to build APR (Apache Portable Runtime) using MinGW from Vcpkg, and it reports the following errors:
The items missing (e.g.
CLIPFORMAT
) are inwtypes.h
, and in the include hierarchy this files seems to be included. However, missing such types are reported as errors as seen above.Btw, the targets I have tested building for are
x64-mingw-static
andx64-mingw-dynamic
(the one shown above is from the former, but they both report the same errors). Not sure if this is a Vcpkg issue or this toolchain's issue. Bummer, APR is such a great library and I was hoping to use it with the MinGW toolchain (MSVC builds just fine). It simplifies cross-plat dev.The text was updated successfully, but these errors were encountered: