Problem compiling my openexr code
2007-01-02 11:29:53 GMT
RgbaInputFile file( ".\\HDR\\Ocean.exr" );
Box2i dw = file.dataWindow();
int width = dw.max.x - dw.min.x + 1;
int height = dw.max.y - dw.min.y + 1;
Array2D<Rgba> pixels;
pixels.resizeErase( height, width );
file.setFrameBuffer ( &pixels[0][0] - dw.min.x - dw.min.y * width, 1, width );
file.readPixels ( dw.min.y, dw.max.y );
These errors I get:
myprogram.obj : error LNK2001: unresolved external symbol "int __cdecl Imf::globalThreadCount(void)" (?globalThreadCount <at> Imf <at> <at> YAHXZ)
myprogram.obj : error LNK2001: unresolved external symbol "public: class Imath::Box<class Imath::Vec2<int> > const & __thiscall Imf::RgbaInputFile::dataWindow(void)const " (?dataWindow <at> RgbaInputFile <at> Imf <at> <at> QBEABV?$Box <at> V?$Vec2 <at> H <at> Imath <at> <at> <at> Imath <at> <at> XZ)
myprogram.obj : error LNK2001: unresolved external symbol "public: void __thiscall Imf::RgbaInputFile::readPixels(int,int)" (?readPixels <at> RgbaInputFile <at> Imf <at> <at> QAEXHH <at> Z)
myprogram.obj : error LNK2001: unresolved external symbol "public: void __thiscall Imf::RgbaInputFile::setFrameBuffer(struct Imf::Rgba *,unsigned int,unsigned int)" (?setFrameBuffer <at> RgbaInputFile <at> Imf <at> <at> QAEXPAURgba <at> 2 <at> II <at> Z)
myprogram.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall Imf::RgbaInputFile::~RgbaInputFile(void)" (??1RgbaInputFile <at> Imf <at> <at> UAE <at> XZ)
myprogram.obj : error LNK2001: unresolved external symbol "public: __thiscall Imf::RgbaInputFile::RgbaInputFile(char const * const,int)" (??0RgbaInputFile <at> Imf <at> <at> QAE <at> QBDH <at> Z)
I was't able yet to locate the problem. Any libs missing?
I would highly appreciate any help or links to suitable forums.
Thanks,
Nico
|
- This message is subject to Imagination Technologies' e-mail terms: http://www.imgtec.com/e-mail.htm - |
_______________________________________________ Openexr-devel mailing list Openexr-devel <at> nongnu.org http://lists.nongnu.org/mailman/listinfo/openexr-devel

RSS Feed