Thank you for the report and workaround Burak, I've filed it as 181050
<https://bugzilla.mozilla.org/show_bug.cgi?id=1810508>.

On Sun, 15 Jan 2023 at 10:15, Burak Arslan <pub...@burakarslan.com> wrote:

> Hello All,
>
> The coreconf/msvc.sh that ships with NSS 3.87 doesn't work with MSVS 2022.
>
> The full build logs are attached (but are admittedly not too useful).
> There's one type of error, here's a sample:
>
> D:\buildtrees\nss\x86-windows-dbg\nss\lib\util\secport.c(37): fatal error 
> C1083: Cannot open include file: 'wtypes.h': No such file or directory
>
> wtypes.h is there of course, just cl.exe can't find it. investigation
> showed that its list of include folders is incomplete and doesn't contain
> the folder of wtypes.h (among other ones, I imagine).
>
> The workaround is to prevent msvc.sh from doing any damage by setting the
> environment variables VSPATH, GYP_MSVS_OVERRIDE_PATH and GYP_MSVS_VERSION
> before running the build script inside a msvc dev shell.
>
> Also, no gyp-next release contains support for MSVS 2022 so I had to use
> the latest git checkout instead of a stable version.
>
> The full nss 3.87 build script can be found here:
> https://github.com/microsoft/vcpkg/pull/28933
> Best regards,
> Burak
>
> --
> You received this message because you are subscribed to the Google Groups "
> dev-tech-crypto@mozilla.org" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dev-tech-crypto+unsubscr...@mozilla.org.
> To view this discussion on the web visit
> https://groups.google.com/a/mozilla.org/d/msgid/dev-tech-crypto/30d9423f-47d4-aff2-cc82-6ee0ec762880%40burakarslan.com
> <https://groups.google.com/a/mozilla.org/d/msgid/dev-tech-crypto/30d9423f-47d4-aff2-cc82-6ee0ec762880%40burakarslan.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"dev-tech-crypto@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dev-tech-crypto+unsubscr...@mozilla.org.
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-tech-crypto/CAON8YFMNFg_iZZRJoTY9%2BqxYYdaoJDL4HTrFGg7A1e-hpoGRiA%40mail.gmail.com.

Reply via email to