ewpcap icon indicating copy to clipboard operation
ewpcap copied to clipboard

compiling on windows?

Open vans163 opened this issue 6 years ago • 2 comments
trafficstars

Any tips for compiling this on windows. It seems a Makefile / manual compilation would make sense. For example I cannot even understand how to get the rebar port_env to find erl_nif.h, I pass it /I arg.

vans163 avatar Dec 11 '18 11:12 vans163

See the build instructions for Windows: https://github.com/msantos/ewpcap/blob/master/WINDOWS.md

I've never actually tried to build on windows but other people have reported it works. If you run into problems or if the instructions aren't clear, let me know!

msantos avatar Dec 11 '18 13:12 msantos

A lot of the environment set up for that file can likely be skipped if you run the compile job from within a visual studio terminal since that’s what sets up the full environment. You’ll need to get the winpcap libs installer as well

ferd avatar Dec 11 '18 16:12 ferd