robertdavidgraham / masscan

TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes.
GNU Affero General Public License v3.0
22.97k stars 3.02k forks source link

error LNK2001 #751

Open kouzhudong opened 6 months ago

kouzhudong commented 6 months ago
1>proto-isakmp.obj : error LNK2001: 无法解析的外部符号 e_next_int32
1>proto-isakmp.obj : error LNK2001: 无法解析的外部符号 e_next_byte
1>proto-isakmp.obj : error LNK2001: 无法解析的外部符号 e_next_short16
1>proto-isakmp.obj : error LNK2001: 无法解析的外部符号 e_next_long64
yllhwa commented 5 months ago

Solution > Source Files > utils

right click and add existing item.

add file "src/util-extract.h" "src/util-extract.c"

then you can compile.

It seems that these two files have not been included in the compilation.

But I don't know how to cleanly modify in VS2022 to pull request.