Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building #66

Open
incarnadined opened this issue Apr 9, 2020 · 2 comments
Open

Error when building #66

incarnadined opened this issue Apr 9, 2020 · 2 comments

Comments

@incarnadined
Copy link

incarnadined commented Apr 9, 2020

After cloning the repo and running python setup.py install, I get this error

dist.py:474: UserWarning: Normalizing '0.11.5-dev' to '0.11.5.dev0'
  normalized_version,
running install
running bdist_egg
running egg_info
creating pcapy.egg-info
writing pcapy.egg-info\PKG-INFO
writing dependency_links to pcapy.egg-info\dependency_links.txt
writing top-level names to pcapy.egg-info\top_level.txt
writing manifest file 'pcapy.egg-info\SOURCES.txt'
reading manifest file 'pcapy.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pcapy.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_ext
building 'pcapy' extension
creating build
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
creating build\temp.win-amd64-3.6\Release\win32
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -DWIN32=1 -Ic:\wpdpack\Include -IC:\Users\user\AppData\Local\Programs\Python\Python36\include -IC:\Users\user\AppData\Local\Programs\Python\Python36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /EHsc /Tppcapdumper.cc /Fobuild\temp.win-amd64-3.6\Release\pcapdumper.obj
pcapdumper.cc
pcapdumper.cc(11): fatal error C1083: Cannot open include file: 'pcap.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.25.28610\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2

Telling me that it cannot find pcap.h. The same error occurs when using pip.

@gvanem
Copy link

gvanem commented Apr 17, 2020

Edit setup.py or set the WPDPACK_BASE env-var to point to libpcap and WinPcap.

It's a complete sloppy mess.

@si452772
Copy link

и как решили проблему? у меня такая же, что делать?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants