You may have to upgrade to Visual C++ 7.  OpenEXR uses
a lot of templates, and Visual C++ 6 doesn't like that.

Alternatively, you may be able to use the C interface
defined in ImfCRgbaFile.h.

Florian


Seon Joo Kim wrote:
Hi,

I'm a first time user of OpenEXR and I'm having some problems starting.
All I want to do is to write OpenEXR files.
I'm using the windows precompiled version (.hr & .lib files) from OpenEXR-1.2.2-win32 (using MSVC 6).
I'm having problems in including a header file.
When I include the "ImfRgbaFile.h" (#include "ImfRgbaFile.h"), I get 54 errors.

Some example are
- F: \ToneMapping\OpenEXR-1.2.2-win32\include\IlmImf\ImfName.h(82) : error C2258: illegal pure syntax, must be '= 0' - F:\ToneMapping\OpenEXR-1.2.2-win32\include\IlmImf\ImfName.h(103) : error C2065: 'MAX_LENGTH' : undeclared identifier - F:\ToneMapping\OpenEXR-1.2.2-win32\include\Imath\ImathVec.h(635) : error C2955: 'Vec2' : use of class template requires template argument list F:\ToneMapping\OpenEXR-1.2.2-win32\include\Imath\ImathVec.h(247) : see declaration of 'Vec2' - F:\ToneMapping\OpenEXR-1.2.2-win32\include\IlmImf\ImfRgbaFile.h(114) : error C2440: 'default argument' : cannot convert from 'class Imath::Vec2<float>' to 'const class Imath::Vec2<float>' No copy constructor available for class 'Imath::Vec2<float>'


Any ideas how I can solve this problem?

Thank you,

Seon Joo



_______________________________________________
Openexr-devel mailing list
Openexr-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to