ATongger 2016-05-04 14:40 采纳率: 50%
浏览 2204
已采纳

vs2013 使用imagemagick库出现无法解析的外部符号

错误 141 error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: virtual thiscall Magick::Blob::~Blob(void)" (imp_??1Blob@Magick@@UAE@XZ),该符号在函数 "public: thiscall Texture::~Texture(void)" (??1Texture@@QAE@XZ) 中被引用 C:\Users\TWJCXF\Downloads\OpenGL Course1\OpenGL Course\OpenGL Course\Texture\mesh.obj Texture
错误 142 error LNK2001: 无法解析的外部符号 "
declspec(dllimport) public: virtual thiscall Magick::Blob::~Blob(void)" (imp_??1Blob@Magick@@UAE@XZ) C:\Users\TWJCXF\Downloads\OpenGL Course1\OpenGL Course\OpenGL Course\Texture\Texture.obj Texture
错误 143 error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: virtual thiscall Magick::Image::~Image(void)" (imp_??1Image@Magick@@UAE@XZ),该符号在函数 "public: thiscall Texture::~Texture(void)" (??1Texture@@QAE@XZ) 中被引用 C:\Users\TWJCXF\Downloads\OpenGL Course1\OpenGL Course\OpenGL Course\Texture\mesh.obj Texture
错误 144 error LNK2001: 无法解析的外部符号 "
declspec(dllimport) public: virtual thiscall Magick::Image::~Image(void)" (imp_??1Image@Magick@@UAE@XZ) C:\Users\TWJCXF\Downloads\OpenGL Course1\OpenGL Course\OpenGL Course\Texture\Texture.obj Texture
错误 145 error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: thiscall Magick::Blob::Blob(void)" (imp_??0Blob@Magick@@QAE@XZ),该符号在函数 "public: thiscall Texture::Texture(unsigned int,class std::basic_string,class std::allocator > const &)" (??0Texture@@QAE@IABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中被引用 C:\Users\TWJCXF\Downloads\OpenGL Course1\OpenGL Course\OpenGL Course\Texture\Texture.obj Texture
错误 146 error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: void const * thiscall Magick::Blob::data(void)const " (imp_?data@Blob@Magick@@QBEPBXXZ),该符号在函数 catch$?Load@Texture@@QAE_NXZ$0 中被引用 C:\Users\TWJCXF\Downloads\OpenGL Course1\OpenGL Course\OpenGL Course\Texture\Texture.obj Texture
错误 147 error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: thiscall Magick::Image::Image(void)" (imp_??0Image@Magick@@QAE@XZ),该符号在函数 "public: thiscall Texture::Texture(unsigned int,class std::basic_string,class std::allocator > const &)" (??0Texture@@QAE@IABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中被引用 C:\Users\TWJCXF\Downloads\OpenGL Course1\OpenGL Course\OpenGL Course\Texture\Texture.obj Texture
错误 148 error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: void thiscall Magick::Image::read(class std::basic_string,class std::allocator > const &)" (imp_?read@Image@Magick@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z),该符号在函数 "public: bool thiscall Texture::Load(void)" (?Load@Texture@@QAE_NXZ) 中被引用 C:\Users\TWJCXF\Downloads\OpenGL Course1\OpenGL Course\OpenGL Course\Texture\Texture.obj Texture
错误 149 error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: void thiscall Magick::Image::write(class Magick::Blob *,class std::basic_string,class std::allocator > const &)" (imp_?write@Image@Magick@@QAEXPAVBlob@2@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z),该符号在函数 "public: bool thiscall Texture::Load(void)" (?Load@Texture@@QAE_NXZ) 中被引用 C:\Users\TWJCXF\Downloads\OpenGL Course1\OpenGL Course\OpenGL Course\Texture\Texture.obj Texture
错误 150 error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: unsigned int thiscall Magick::Image::columns(void)const " (imp_?columns@Image@Magick@@QBEIXZ),该符号在函数 catch$?Load@Texture@@QAE_NXZ$0 中被引用 C:\Users\TWJCXF\Downloads\OpenGL Course1\OpenGL Course\OpenGL Course\Texture\Texture.obj Texture
错误 151 error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: unsigned int thiscall Magick::Image::rows(void)const " (imp_?rows@Image@Magick@@QBEIXZ),该符号在函数 __catch$?Load@Texture@@QAE_NXZ$0 中被引用 C:\Users\TWJCXF\Downloads\OpenGL Course1\OpenGL Course\OpenGL Course\Texture\Texture.obj Texture
错误 152 error LNK1120: 9 个无法解析的外部命令 C:\Users\TWJCXF\Downloads\OpenGL Course1\OpenGL Course\OpenGL Course\Debug\Texture.exe Texture
具体错误如上
我把.lib文件放入../VC/lib中了
也把.dll文件放入system32了

  • 写回答

1条回答 默认 最新

  • threenewbee 2016-05-04 15:25
    关注

    在你的项目设置里面看下lib的目录是否包含../VC/lib,还有头文件里面是怎么引用的lib

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题