首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C语言 >

opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号解决方法

2013-11-21 
opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号不知道有没有谁碰到过这个问

opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号
不知道有没有谁碰到过这个问题啊,我是用Opencv VS2010 编写静态执行程序时遇到的问题,求高手解答啊!


opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: __thiscall Imf::Chromaticities::Chromaticities(class Imath::Vec2<float> const &,class Imath::Vec2<float> const &,class Imath::Vec2<float> const &,class Imath::Vec2<float> const &)" (??0Chromaticities@Imf@@QAE@ABV?$Vec2@M@Imath@@000@Z),该符号在函数 "public: __thiscall cv::ExrDecoder::ExrDecoder(void)" (??0ExrDecoder@cv@@QAE@XZ) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: struct Imf::Channel const * __thiscall Imf::ChannelList::findChannel(char const * const)const " (?findChannel@ChannelList@Imf@@QBEPBUChannel@2@QBD@Z),该符号在函数 "public: virtual bool __thiscall cv::ExrDecoder::readHeader(void)" (?readHeader@ExrDecoder@cv@@UAE_NXZ) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: class Imf::ChannelList const & __thiscall Imf::Header::channels(void)const " (?channels@Header@Imf@@QBEABVChannelList@2@XZ),该符号在函数 "public: virtual bool __thiscall cv::ExrDecoder::readHeader(void)" (?readHeader@ExrDecoder@cv@@UAE_NXZ) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "struct Imf::Chromaticities const & __cdecl Imf::chromaticities(class Imf::Header const &)" (?chromaticities@Imf@@YAABUChromaticities@1@ABVHeader@1@@Z),该符号在函数 "public: virtual bool __thiscall cv::ExrDecoder::readHeader(void)" (?readHeader@ExrDecoder@cv@@UAE_NXZ) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "bool __cdecl Imf::hasChromaticities(class Imf::Header const &)" (?hasChromaticities@Imf@@YA_NABVHeader@1@@Z),该符号在函数 "public: virtual bool __thiscall cv::ExrDecoder::readHeader(void)" (?readHeader@ExrDecoder@cv@@UAE_NXZ) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: class Imath::Box<class Imath::Vec2<int> > const & __thiscall Imf::Header::dataWindow(void)const " (?dataWindow@Header@Imf@@QBEABV?$Box@V?$Vec2@H@Imath@@@Imath@@XZ),该符号在函数 "public: virtual bool __thiscall cv::ExrDecoder::readHeader(void)" (?readHeader@ExrDecoder@cv@@UAE_NXZ) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: class Imf::Header const & __thiscall Imf::InputFile::header(void)const " (?header@InputFile@Imf@@QBEABVHeader@2@XZ),该符号在函数 "public: virtual bool __thiscall cv::ExrDecoder::readHeader(void)" (?readHeader@ExrDecoder@cv@@UAE_NXZ) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: __thiscall Imf::InputFile::InputFile(char const * const,int)" (??0InputFile@Imf@@QAE@QBDH@Z),该符号在函数 "public: virtual bool __thiscall cv::ExrDecoder::readHeader(void)" (?readHeader@ExrDecoder@cv@@UAE_NXZ) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "int __cdecl Imf::globalThreadCount(void)" (?globalThreadCount@Imf@@YAHXZ),该符号在函数 "public: virtual bool __thiscall cv::ExrDecoder::readHeader(void)" (?readHeader@ExrDecoder@cv@@UAE_NXZ) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: void __thiscall Imf::InputFile::readPixels(int,int)" (?readPixels@InputFile@Imf@@QAEXHH@Z),该符号在函数 "public: virtual bool __thiscall cv::ExrDecoder::readData(class cv::Mat &)" (?readData@ExrDecoder@cv@@UAE_NAAVMat@2@@Z) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: void __thiscall Imf::InputFile::setFrameBuffer(class Imf::FrameBuffer const &)" (?setFrameBuffer@InputFile@Imf@@QAEXABVFrameBuffer@2@@Z),该符号在函数 "public: virtual bool __thiscall cv::ExrDecoder::readData(class cv::Mat &)" (?readData@ExrDecoder@cv@@UAE_NAAVMat@2@@Z) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: void __thiscall Imf::FrameBuffer::insert(char const * const,struct Imf::Slice const &)" (?insert@FrameBuffer@Imf@@QAEXQBDABUSlice@2@@Z),该符号在函数 "public: virtual bool __thiscall cv::ExrDecoder::readData(class cv::Mat &)" (?readData@ExrDecoder@cv@@UAE_NAAVMat@2@@Z) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: __thiscall Imf::Slice::Slice(enum Imf::PixelType,char *,unsigned int,unsigned int,int,int,double,bool,bool)" (??0Slice@Imf@@QAE@W4PixelType@1@PADIIHHN_N2@Z),该符号在函数 "public: virtual bool __thiscall cv::ExrDecoder::readData(class cv::Mat &)" (?readData@ExrDecoder@cv@@UAE_NAAVMat@2@@Z) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: __thiscall Imf::Header::~Header(void)" (??1Header@Imf@@QAE@XZ),该符号在函数 __catch$?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z$0 中被引用


1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall Imf::OutputFile::~OutputFile(void)" (??1OutputFile@Imf@@UAE@XZ),该符号在函数 __catch$?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z$0 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: void __thiscall Imf::OutputFile::writePixels(int)" (?writePixels@OutputFile@Imf@@QAEXH@Z),该符号在函数 "public: virtual bool __thiscall cv::ExrEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" (?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: void __thiscall Imf::OutputFile::setFrameBuffer(class Imf::FrameBuffer const &)" (?setFrameBuffer@OutputFile@Imf@@QAEXABVFrameBuffer@2@@Z),该符号在函数 "public: virtual bool __thiscall cv::ExrEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" (?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: __thiscall Imf::OutputFile::OutputFile(char const * const,class Imf::Header const &,int)" (??0OutputFile@Imf@@QAE@QBDABVHeader@1@H@Z),该符号在函数 "public: virtual bool __thiscall cv::ExrEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" (?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: void __thiscall Imf::ChannelList::insert(char const * const,struct Imf::Channel const &)" (?insert@ChannelList@Imf@@QAEXQBDABUChannel@2@@Z),该符号在函数 "public: virtual bool __thiscall cv::ExrEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" (?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: class Imf::ChannelList & __thiscall Imf::Header::channels(void)" (?channels@Header@Imf@@QAEAAVChannelList@2@XZ),该符号在函数 "public: virtual bool __thiscall cv::ExrEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" (?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: __thiscall Imf::Channel::Channel(enum Imf::PixelType,int,int,bool)" (??0Channel@Imf@@QAE@W4PixelType@1@HH_N@Z),该符号在函数 "public: virtual bool __thiscall cv::ExrEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" (?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "public: __thiscall Imf::Header::Header(int,int,float,class Imath::Vec2<float> const &,float,enum Imf::LineOrder,enum Imf::Compression)" (??0Header@Imf@@QAE@HHMABV?$Vec2@M@Imath@@MW4LineOrder@1@W4Compression@1@@Z),该符号在函数 "public: virtual bool __thiscall cv::ExrEncoder::write(class cv::Mat const &,class std::vector<int,class std::allocator<int> > const &)" (?write@ExrEncoder@cv@@UAE_NABVMat@2@ABV?$vector@HV?$allocator@H@std@@@std@@@Z) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2019: 无法解析的外部符号 "private: static short __cdecl half::convert(int)" (?convert@half@@CAFH@Z),该符号在函数 "public: __thiscall half::half(float)" (??0half@@QAE@M@Z) 中被引用
1>opencv_highgui243d.lib(grfmt_exr.obj) : error LNK2001: 无法解析的外部符号 "private: static unsigned short const * const half::_eLut" (?_eLut@half@@0QBGB)
1>libtiffd.lib(tif_win32.obj) : error LNK2019: 无法解析的外部符号 __imp__MessageBoxA@16,该符号在函数 _Win32WarningHandler 中被引用
1>libtiffd.lib(tif_win32.obj) : error LNK2019: 无法解析的外部符号 __imp__GetFocus@0,该符号在函数 _Win32WarningHandler 中被引用
1>D:\Projects\VS2010\ImageCompare\Debug\ImageCompare.exe : fatal error LNK1120: 26 个无法解析的外部命令 OpenCV error?LNK2019
[解决办法]


VS20xx:
 项目、属性、链接器、常规、附加库目录:填写附加依赖库所在目录 分号间隔多项
 项目、属性、链接器、输入、附加依赖项:填写附加依赖库的名字.lib 空格或分号间隔多项

热点排行