Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I download a source code from internet, wanna do some testing in my pc, however i cant debug since the system showing me the error that i state in the subject above,
i had install WinPcap..try to Google, no results, any idea why am i getting this error? and how to get this solve and allow me to debug

https://lh4.googleusercontent.com/-WmsqM_QuL-w/UAejIwT1oaI/AAAAAAAAAKs/0E_SvIe8ZSs/s567/Fullscreen+capture+1972012+20156+PM.jpg[^]
Posted
Updated 18-Jul-12 20:08pm
v2
Comments
nv3 19-Jul-12 2:20am    
Perhaps because file packet.h is not in your source directory. Look at the directory structure you have downloaded. Perhaps there is a subdirectory "include" that contains the missing file. In this case you have to adjust the include directory path in your compiler or project settings.

From looking at your screen capture, it looks like the project requires the WinPCap[^] library (makes sense since its essentially a library of packet definitions). You need to download the library and install it then add the installation path as one of your default paths or an "additional include directory" (that's why it was included using the #include <packet.h> instead of #include "packet.h").
 
Share this answer
 
v2
Comments
Sandeep Mewara 19-Jul-12 23:00pm    
Looks like that should resolve for sure. My 5!
Albert Holguin 20-Jul-12 11:30am    
Thanks... saw the pragma comment that included the library on his screen capture.
AFAIK, It means that 'Packet.h' file is missing or corrupt and thus cannot be opened.

Not too sure, if this is the same one or not, you can copy and provide the file to your project: Wincap: Packet.h[^]
 
Share this answer
 
Comments
Albert Holguin 19-Jul-12 15:03pm    
See my solution...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900