1. 错误信息一
2>gdcmMSFF.lib(gdcmUIDGenerator.obj) : error LNK2019: unresolved external symbol __imp__UuidCreate@4 referenced in function "protected: static bool __cdecl gdcm::UIDGenerator::GenerateUUID(unsigned char *)" (?GenerateUUID@UIDGenerator@gdcm@@KA_NPAE@Z)
解决方法 需要在hear文件中加入如下lib:
#pragma comment(lib,"rpcrt4.lib"); #pragma comment(lib,"WS2_32.lib");