mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-04-28 06:59:40 +00:00
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!!
322 B
322 B
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