On 21/06/2026 15:29, Rainer Jung wrote:
Hi there,

I used the build instructions in confluence to first build tcnative on Windows using Visual Studio 2022:

https://cwiki.apache.org/confluence/display/TOMCAT/ Building+the+Tomcat+Native+binaries+for+Windows

This seems to have worked fine (at least I get the dll without errors), but I still need to test the dll. "dumpbin /DEPENDENTS" does not show any msvc dll dependency. Fine.

I then tried the same recipe for the isapi_redirector. It works, but the resulting dll has a dependency on vcruntime140.dll. Is this expected and OK? It seems despite the "140" in the name, this is the new universal dependency, so it is probably expected?

That might be an issue. You'd need to test on a completely clean OS install to be sure.

It might be worth looking at the changes Mladen made to native's NMAKEmakefile and NMAKEmakefile.inc when he switched the build to the universal runtime.

I will also test this dll inside iis.

I already (prematurely) updated the wiki docs page

https://cwiki.apache.org/confluence/display/TOMCAT/ Common+Native+Build+Environment

to no longer refer to Mladen's CMSC in the hope, that using Visual Studio 2022 simply works.

One note: I also tried Visual Studio 2026 for tcnative. It fails, but I think it is due to WINVER=WIN7 and I think I saw that Windows 7 is no longer a supported build platform for Visual Studio 2026.

We should update that to whatever is appropriate for Windows Server 2016.

I also have an isapi_redirector build with pcre2 instead of pcre(1), which still needs testing though. Just mentioning it to reduce risk of double work.

Nice.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to