-
Notifications
You must be signed in to change notification settings - Fork 146
How to build
Yancey Wang edited this page Oct 7, 2023
·
5 revisions
this is article OUTDATED, please refer to https://github.com/wangyu-/udp2raw/wiki/How-to-build
apt install libpcap-dev
apt install libnet1-dev
brew install libpcap
brew install libnet
pkg install libpcap
pkg install libnet
You dont need libnet/pcap to build. (though you need winpcap/npcap to run the builded binary)
check this article, its almost same. https://github.com/wangyu-/tinyPortMapper/wiki/How-to-build
for linux use make linux
or make linux_nolibnet
for mac use make mac
or make mac_nolibnet
for freebsd use make freebsd
or make freebsd_nolibnet
(sure, if you want to build the nolibnet version, libnet dont need to be installed)
for windows use make mingw
or make cygwin
, there is no make mingw_nolibnet
or make cygwin_nolibnet
. Because by default there is no libnet.