I want to create a .exe of ndpiReader.c
demo program that comes with nDPI library
. I was successful to compile it on Ubuntu using commands specified on their github page as bellow:
./autogen.sh
./configure
make
I have tried to cross compile it using GCC inside Ubuntu but I wasn't successful. I also tried to use the pcapExample.sln
to compile it in Visual Studio 2012, but I keep getting error messages like:
Error 29 error C1083: Cannot open include file: 'ndpi_api.h': No such file or directory
Although ndpi_api.h
and all other files that I get this error for already are listed in the project solution explorer.
Has anyone actually been able to make a win32 executable out of this ndpiReader.c
file? If yes, please specify the steps, requirements, or a link.
nDPI
lib is hosted here: https://github.com/ntop/nDPI
ndpiReader.c
is hosted here: https://github.com/ntop/nDPI/tree/dev/example
pcapExample.sln
is hosted here: https://github.com/ntop/nDPI/tree/dev/example/Win32
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With