For the "tinc top" command, tinc requires a curses library.
If this library is not installed, you will get an error when running the configure script. You can either install a suitable curses library, or disable all functionality that depends on a curses library by using the "–disable-curses" option when running the configure script.
There are several curses libraries. It is recommended that you install "ncurses" (https://invisible-island.net/ncurses/), however other curses libraries should also work. In particular, "PDCurses" (https://pdcurses.sourceforge.io/) is recommended if you want to compile tinc for Windows.
You can use your operating system’s package manager to install this if available. Make sure you install the development AND runtime versions of this package.