|
From: | Nico Ritsche |
Subject: | [Openexr-devel] Problem compiling my openexr code |
Date: | Tue, 2 Jan 2007 11:29:53 -0000 |
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)" (address@hidden@@YAHXZ)
myprogram.obj : error LNK2001: unresolved external symbol "public: class Imath::Box<class Imath::Vec2<int> > const & __thiscall Imf::RgbaInputFile::dataWindow(void)const " (address@hidden@Imf@@address@hidden@address@hidden@@@Imath@@XZ)
myprogram.obj : error LNK2001: unresolved external symbol "public: void __thiscall Imf::RgbaInputFile::readPixels(int,int)" (address@hidden@Imf@@address@hidden)
myprogram.obj : error LNK2001: unresolved external symbol "public: void __thiscall Imf::RgbaInputFile::setFrameBuffer(struct Imf::Rgba *,unsigned int,unsigned int)" (address@hidden@Imf@@address@hidden@address@hidden)
myprogram.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall Imf::RgbaInputFile::~RgbaInputFile(void)" (address@hidden@@address@hidden)
myprogram.obj : error LNK2001: unresolved external symbol "public: __thiscall Imf::RgbaInputFile::RgbaInputFile(char const * const,int)" (address@hidden@@address@hidden@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 - |
[Prev in Thread] | Current Thread | [Next in Thread] |