openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openexr-devel] Problem compiling my openexr code


From: Nico Ritsche
Subject: [Openexr-devel] Problem compiling my openexr code
Date: Tue, 2 Jan 2007 11:29:53 -0000

Hi everybody,
 
I don't know if this is the right place to ask, but I couldn't find an openEXR developer forum on the web yet.
I have a problem compiling my program with VC 2005 using the openEXR librarys. I get some unresolved
externals when trying to use this code which is basically the code from one of the image loading examples:
 

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
-

reply via email to

[Prev in Thread] Current Thread [Next in Thread]