Forum OpenACS Development: Re: Windows-OpenACS / Visual Studio 2022

Collapse
Posted by Andrew Piskorski on
Neophytos, I think Maurizio has a different way, but the standard Windows build instructions are at the top of Makefile.win32. That's how I do it. Pay attention to the comments at the top saying which variables you may need to edit. Then run it. I do this:

"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
z: & cd Z:\src\web\ns-head-pub\naviserver
nmake -f Makefile.win32 clean-core clean-mod
nmake -f Makefile.win32 all-core all-mod

However, I don't think there are any docs telling you how to install the other Windows libraries that Naviserver wants. There are other options, but here's what I use:

  • Install ActiveTcl, e.g. into C:\P\Tcl-64-8.6.12\.
  • Install Win32OpenSSL, e.g. into C:\P\OpenSSL-Win64-3.1.4\.
  • In the System Environment Variables, manually add those to your PATH, e.g. add C:\P\Tcl-64-8.6.12\bin and C:\P\OpenSSL-Win64-3.1.4\bin
  • You can build and manually install Zlib if you want, but Naviserver will run without it.