Discussion:
[Openexr-user] Question about using OpenEXR from a newbie
Seon Joo Kim
2006-03-25 18:33:15 UTC
Permalink
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 header & lib files from OpenEXR-1.2.2-win32 (using MSVC 6).
When I include the "ImfRgbaFile.h", there are 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 solution to this problem?

Thank you,

Seon Joo
Florian Kainz
2006-06-07 02:00:48 UTC
Permalink
Hi Seon Joo,

unfortunately, we cannot support MSVC 6. OpenEXR makes extensive
use of templates and exceptions, and MSVC 6 doesn't handle those
properly. You will have to upgrade to version 7.

Florian
Post by Seon Joo Kim
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 header & lib files from OpenEXR-1.2.2-win32 (using MSVC 6).
When I include the "ImfRgbaFile.h", there are 54 errors.
Some example are
error C2258: illegal pure syntax, must be '= 0'
error C2065: 'MAX_LENGTH' : undeclared identifier
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'
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 solution to this problem?
Thank you,
Seon Joo
_______________________________________________
Openexr-user mailing list
http://lists.nongnu.org/mailman/listinfo/openexr-user
Loading...