NanLeb
unread,Apr 7, 2026, 12:40:27 PMApr 7Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PcapPlusPlus support
When building project on Windows using MSVC 2022 (v143 toolchain) and libraries provided by vcpkg (Pcap++, Packet++, Common++), the linking stage fails with unresolved external symbols related to the C++ standard library implementation.
The build uses vcpkg for dependencies
OS: Windows 10
Compiler: Microsoft Visual Studio 2022 Community (v143, toolchain 14.36+)
CMake: 3.27+
Build System: Ninja (via CMake)
vcpkg: latest commit (triplet x64-windows)(Version PcapPlusPlus 25.5)
Output Log
Pcap++.lib(PcapLiveDevice.cpp.obj) : error LNK2001: unresolved external symbol __std_search_1
Packet++.lib(DnsLayer.cpp.obj) : error LNK2001: unresolved external symbol __std_search_1
Packet++.lib(SipLayer.cpp.obj) : error LNK2001: unresolved external symbol __std_search_1
Packet++.lib(SingleCommandTextProtocol.cpp.obj) : error LNK2001: unresolved external symbol __std_search_1
Pcap++.lib(PcapLiveDevice.cpp.obj) : error LNK2001: unresolved external symbol _Thrd_sleep_for
Common++.lib(SystemUtils.cpp.obj) : error LNK2001: unresolved external symbol _Thrd_sleep_for
Packet++.lib(SingleCommandTextProtocol.cpp.obj) : error LNK2001: unresolved external symbol __std_find_end_1
src\app\zapretpp_cli.exe : fatal error LNK1120: 3 unresolved externals