https://bugs.winehq.org/show_bug.cgi?id=49775
Bug ID: 49775 Summary: sapi51.h and sapi51.idl (from which it is claimed to be generated in original Windows SDK) are missing from the sdk Product: Wine Version: 5.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: sapi Assignee: wine-bugs@winehq.org Reporter: kolan_n@mail.ru Distribution: ---
In the original sapi51.h it is claimed that it is generated by MIDL. Unfortunately, sapi51.idl is missing from Windows SDK, so we cannot generate it. This prevents building sapi5 modules with free open-source toolchains, essentially forcing developers to use Visual Studio.
https://bugs.winehq.org/show_bug.cgi?id=49775
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #1 from Vijay Kamuju infyquest@gmail.com --- There is no sapi51.idl or sapi53.idl on Windows SDK, the corresponding header files are generated using sapi.idl. May be the header files are generated by midl by passing _SAPI_BUILD_VER argument.
https://bugs.winehq.org/show_bug.cgi?id=49775
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- I'm very confused by this bug report. Are you reporting a bug against the Windows headers, the mingw-w64 headers, or the wine headers? Only the latter warrants a report here, and we don't ship sapi51.h at all.
https://bugs.winehq.org/show_bug.cgi?id=49775
--- Comment #3 from KOLANICH kolan_n@mail.ru ---
There is no sapi51.idl or sapi53.idl on Windows SDK, the corresponding header files are generated using sapi.idl. May be the header files are generated by midl by passing _SAPI_BUILD_VER argument.
Have already figured it out ;)
Are you reporting a bug against the Windows headers, the mingw-w64 headers, or the wine headers?
I am trying to build some software without using VisualStudio. So I used MinGW-w64. The Windows SDK is not considered a part of Visual Studio (and compilers used with it) since it can be installed separately.
So, since there were no the needed headers in MinGW-w64, the first my attempt was to search in Wine. Since I haven't found, my second attempt was to use the stuff from Windows SDK (recompiling them with WIDL have removed most of the compile errors).
Only the latter warrants a report here, and we don't ship sapi51.h at all.
I understand.
BTW, they are not the only headers missing. `sapiddk.h` and `sapi5ddk.h` were also needed (again, solved with compiling from IDLs in Windows SDK).
But there was 1 file missing, `sperror.h` (Wine has one, but it doesn't have most of enums definitions found in the original one), but again the one from Windows SDK worked well (luckily it is just a bunch of defines (why don't they use enums for that?)).