I want to create the .exe of the ndpiReader.c demo program that comes with the nDPI library . I managed to compile it on Ubuntu using the commands specified on their github page, as shown below:
./autogen.sh ./configure make
I tried to compile it using GCC inside Ubuntu, but I failed. I also tried using pcapExample.sln to compile it in Visual Studio 2012, but I keep getting error messages, for example:
Error 29 Error C1083: Cannot open include file: 'ndpi_api.h': No such file or directory
Although ndpi_api.h and all other files for which I get this error are already listed in the project explorer. Has anyone really been able to make the win32 executable from this ndpiReader.c file? If yes, indicate steps, requirements or link.
nDPI This is where the lib is located: https://github.com/ntop/nDPI
ndpiReader.c : https://github.com/ntop/nDPI/tree/dev/example
pcapExample.sln located here: https://github.com/ntop/nDPI/tree/dev/example/Win32
c ++ c compilation cross-compiling
Nobody
source share