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

npm install pcap doesn't work #252

Open
GkqqNkKC opened this issue Sep 5, 2019 · 2 comments
Open

npm install pcap doesn't work #252

GkqqNkKC opened this issue Sep 5, 2019 · 2 comments

Comments

@GkqqNkKC
Copy link

GkqqNkKC commented Sep 5, 2019

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\include\xkeycheck.h(255,1): warning C4005: 'inline': macro redefinition (compi
ling source file ..\pcap_binding.cc) [D:\business\x\node_modules\pcap\build\pcap_binding.vcxproj]

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\include\pcap-stdinc.h(69): message : see previous definition of 'inline' (comp
iling source file ..\pcap_binding.cc) [D:\business\x\node_modules\pcap\build\pcap_binding.vcxproj]

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\include\xkeycheck.h(257,1): error C1189: #error: The C++ Standard Library for
bids macroizing the keyword "inline". Enable warning C4005 to find the forbidden define. (compiling source file ..\pcap_binding.cc) [D:\business\x\node_modules\pcap\build\pcap_binding.vcxproj]

D:\business\x\node_modules\pcap\pcap_session.cc(3,10): error C1083: Cannot open include file: 'sys/ioctl.h': No such file or directo
ry [D:\business\x\node_modules\pcap\build\pcap_binding.vcxproj]

@bnonni
Copy link

bnonni commented Jan 13, 2020

@GkqqNkKC just so you're aware, this is an ongoing discussion/issue here: 251

@jonahharris has taken ownership of the npm repo and plans to integrate his fix. Now, Idk if that addresses issues for WIN or not, but thought I would make you aware.

@mildsunrise
Copy link
Contributor

if you're using windows, see #249 (comment)

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