_GetAdaptersAddresses与_GetProcessMemoryInfo需要的lib

error LNK2019: unresolved external symbol _GetAdaptersAddresses@20 referenced in function _uv_interface_addresses

error LNK2019: unresolved external symbol _GetProcessMemoryInfo@12 referenced in function _uv_resident_set_memory

编译时出现上述两个link错误时,是因为缺少lib依赖

 

#pragma comment(lib, "IPHLPAPI.lib")
#pragma comment(lib, "Psapi.lib")

 

你可能感兴趣的:(Adapter)