C++ 中 使用vtkGDCMImageReader.h遇到的unresolved external symbol错误解决办法

news/2024/7/5 8:04:12

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");

 

转载于:https://www.cnblogs.com/ankier/archive/2012/11/22/2782224.html


http://www.niftyadmin.cn/n/4799783.html

相关文章

windows xshell6启动时msvcp110.dll、msvcr110.dll、mfc110u.dll丢失解决

经过重重的磨难,终于解决了,真是踩了好多坑。 启动xshell时程序报错如下: 无法启动此程序,因为计算机中丢失MSVCR110.dll。尝试重新安装该程序以解决此问题。 尝试了好多种办法: 1、百度下载修复工具失败。 2、下载…

oracle10g异常日志查看

oracle10g异常日志查看参考文章: (1)oracle10g异常日志查看 (2)https://www.cnblogs.com/wanghonghu/archive/2012/04/18/2455651.html (3)https://www.javazxz.com/thread-4444-1-1.html 备…

Python3 错误:PermissionError: [Errno 13] Permission denied 如何解决?「xsl,csv」成功解决

问题描述: 在做爬虫时,保存数据到excel的xsl文件或者csv文件中会报错: PermissionError: [Errno 13] Permission denied:。。。原因分析: python脚本在往csv或xsl文件写入数据时手动打开了文件导致写入终止。open 打开一个文件…

php header函数

PHP 中 header()函数的作用是给客户端发送头信息。什么是头信息?这里只作简单解释,详细的自己看http协议。在 HTTP协议中,服务器端的回答(response)内容包括两部分:头信息(header) 和 体内容,这里的头信息不是HTML中的…

【Python3爬虫错误】:ConnectionResetError: [WinError 10054] 远程主机强迫关闭了一个现有的连接?解决办法

出现问题描述及分析: 最近做爬虫是,经常出现ConnectionResetError: [WinError 10054] 等错误,主要是因为使用urlopen方法太过频繁,引起远程主机的怀疑,被网站认定为是攻击行为,导致urlopen()后&#xff0c…

【Python3学习】常见字符串去除字符串空格的方法

1、replace()方法,可以去除全部空格 语法 str.replace(old, new[, max])old – 将被替换的子字符串。new – 新字符串,用于替换old子字符串。max – 可选字符串, 替换不超过 max 次 实例 str "this is string example....wow!!! this is reall…

安装memcache 时提示error while loading shared libraries: libevent-2.0解决办法

安装memcache 启动服务时出现 error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory >whereis libevent-2.0.so.5 libevent-2.0.so.5: /usr/local/lib/libevent-2.0.so.5 > ldd /usr/local/bin/memcach…

解决msvcr120.dll文件丢失问题(搞了半天,简直奔溃,最后完美解决)

我是在安装MySQL时提示缺少这个文件,搞了1太多,各种方法都试了。。。。。。 解决办法: 试了好多方法,都解决不了。 网上下载msvcr120.dll放到对应目录下失败 下载安装VC2013,微软官网的链接 https://www.microsoft.co…