nDPI/windows/README.md
Ivan Nardi 30cd98f978
croaring: update to 4.3.6 (from 3.0.0) (#2934)
Old compilers (example: gcc < 7, mingw or VS older than 2022) don't
work with latest croaring versions; note that we had this issue even
before this change...

We somehow try to autodect if we can use latest version (TODO: we can do
better!): otherwise we fallback to legacy code.
The user can force that via `--enable-old-croaring` option: that's the
option to use if you get any errors on `roaring.c` filw while compiling.

Remove `-AC_COMPILE_IFELSE` check which does nothing and provides
misleading output!

On CI, we always use legacy version on Windows (if we use VisualStudio)
and with Mingw compiler.

Please, note that before the recent code adding
`NDPI_UNRESOLVED_HOSTNAME` support, the croaring code, even if present
in the repository, was NEVER used!!
2025-09-02 15:50:03 +02:00

6 lines
322 B
Markdown

# Building on Windows
This directory contains windows-specific files. In particular:
- nDPI.vcxproj is a sample project for nDPI. Use it as starting point for compiling on Windows.
If you are using VS 2022 or newer, you can use the latest croaring code: you can remove the `USE_OLD_ROARING` define from the project file