Linking troubles

Gonzalo Garramuño <[email protected]>
Newsgroups gmane.comp.video.openexr.devel
Message-ID <[email protected]>
With all the previous patches applied, I get a LIB file.  But linking 
against it results in errors like the following:

mrvFrame.obj : warning LNK4217: locally defined symbol ??0half@@O 
EAA@M@Z (public: __cdecl half::half(float)) imported i
  function "private: struct mrv::ImagePixel __cdecl 
mrv::VideoFrame::pixel_h16(unsigned int,unsigned int)const " (?pixel
h16@VideoFrame@mrv@@AEBA?AUImagePixel@2@II@Z)
mrvGLLut3d.obj : warning LNK4049: locally defined symbol 
??0half@@QEAA@M@Z (public: __cdecl half::half(float)) imported
mrvGLLut3d.obj : warning LNK4217: locally defined symbol 
??0half@@QEAA@XZ (public: __cdecl half::half(void)) imported i
  function "public: void __cdecl Imf::Array<class 
half>::resizeErase(long)" (?resizeErase@?$Array@Vhalf@@@Imf@@QEAAXJ@Z)
mrvFrame.obj : error LNK2019: unresolved external symbol 
"__declspec(dllimport) private: static union half::uif * half:
_toFloat" (__imp_?_toFloat@half@@0PATuif@1@A) referenced in function 
"private: struct mrv::ImagePixel __cdecl mrv::Vide
Frame::pixel_h16(unsigned int,unsigned int)const " 
(?pixel_h16@VideoFrame@mrv@@AEBA?AUImagePixel@2@II@Z)
ddsImage.obj : error LNK2001: unresolved external symbol 
"__declspec(dllimport) private: static union half::uif * half:
_toFloat" (__imp_?_toFloat@half@@0PATuif@1@A)
mrvGLLut3d.obj : error LNK2001: unresolved external symbol 
"__declspec(dllimport) private: static union half::uif * hal
::_toFloat" (__imp_?_toFloat@half@@0PATuif@1@A)
IlmImf.lib(ImfPxr24Compressor.cpp.obj) : error LNK2019: unresolved 
external symbol compress referenced in function "pri
ate: int __cdecl Imf::Pxr24Compressor::compress(char const *,int,class 
Imath::Box<class Imath::Vec2<int> >,char const *
&)" 
(?compress@Pxr24Compressor@Imf@@AEAAHPEBDHV?$Box@V?$Vec2@H@Imath@@@Imath@@AEAPEBD@Z)
IlmImf.lib(ImfZipCompressor.cpp.obj) : error LNK2001: unresolved 
external symbol compress
IlmImf.lib(ImfPxr24Compressor.cpp.obj) : error LNK2019: unresolved 
external symbol uncompress referenced in function "p
ivate: int __cdecl Imf::Pxr24Compressor::uncompress(char const 
*,int,class Imath::Box<class Imath::Vec2<int> >,char con
t * &)" 
(?uncompress@Pxr24Compressor@Imf@@AEAAHPEBDHV?$Box@V?$Vec2@H@Imath@@@Imath@@AEAPEBD@Z)
IlmImf.lib(ImfZipCompressor.cpp.obj) : error LNK2001: unresolved 
external symbol uncompress
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.