"Paul K. McKneely" wrote in message news:lvpddi$ejj$***@www.openwatcom.org...
Marty,
Post by Marty StanquistYes, there is some namespace support in OW 1.9. Which OpenEXR download and
which file were you having trouble with?
I have downloaded the lastest OpenEXR 2.2.0 releases
from this URL:
http://openexr.com/downloads.html
As a start, I am using the viewer code since it must contain the
code needed to read a file and interpret its contents and format:
http://download.savannah.nongnu.org/releases/openexr/openexr_viewers-2.2.0.tar.gz
Figuring this code uses the base library code in the base
package I am also using files from this package:
http://download.savannah.nongnu.org/releases/openexr/openexr-2.2.0.tar.gz
There are headers in <config> and <config.windows> directories of
the openexr-2.2.0 package. Since I am running on Windows-7
I am selecting the file from <config.windows> when there are two of
them assuming that this one is altered to work with the OS I am using.
I am trying to compile the file "FileReadingThread.cpp" and I have been
fetching header files and including them in the local directory to resolve
"file not found" errors and modifying the include string encapsulators
to make the compiler look in the current directory where they occur.
Below is a listing of the output I get when trying to compile the source
file:
E:\WP\exr>wpp386 -zp1 -w1 -e25 -zq -od -d2 -3s -bt=nt -mf -i=E:\WP\h
FileReadingThread
IlmThreadNamespace.h(99): Warning! W848: col(50) useless using directive
ignored
IlmThreadNamespace.h(99): Note! N393: col(50) included from IlmThread.h(95)
IlmThreadNamespace.h(99): Note! N393: col(50) included from
FileReadingThread.h(47)
IlmThreadNamespace.h(99): Note! N393: col(50) included from
FileReadingThread.cpp(41)
FileReadingThread.h(54): Warning! W188: col(1) base class is inherited with
private access
ImfNamespace.h(99): Warning! W848: col(52) useless using directive ignored
ImfFrameBuffer.h(306): Error! E041: col(13) expression for '->' must be
pointer to class, struct or union
ImfFrameBuffer.h(306): Note! N638: col(13) 'iterator' defined in:
C:\Watcom\H\_rbtree.h(225) (col 11)
ImfFrameBuffer.h(306): Note! N719: col(13) operand type is
'std::_ow::RedBlackTree<Imf::Name,std::less<Imf::Name>,std::allocator<std::pair<Imf::Name
const,Imf::Slice>>,std::_ow::TreePairWrapper<Imf::Name,Imf::Slice>>::iterator
const'
ImfFrameBuffer.h(313): Error! E041: col(12) expression for '->' must be
pointer to class, struct or union
ImfFrameBuffer.h(313): Note! N638: col(12) 'iterator' defined in:
C:\Watcom\H\_rbtree.h(225) (col 11)
ImfFrameBuffer.h(313): Note! N719: col(12) operand type is
'std::_ow::RedBlackTree<Imf::Name,std::less<Imf::Name>,std::allocator<std::pair<Imf::Name
const,Imf::Slice>>,std::_ow::TreePairWrapper<Imf::Name,Imf::Slice>>::iterator
const'
ImfFrameBuffer.h(358): Error! E041: col(13) expression for '->' must be
pointer to class, struct or union
ImfFrameBuffer.h(358): Note! N638: col(13) 'const_iterator' defined in:
C:\Watcom\H\_rbtree.h(252) (col 11)
ImfFrameBuffer.h(358): Note! N719: col(13) operand type is
'std::_ow::RedBlackTree<Imf::Name,std::less<Imf::Name>,std::allocator<std::pair<Imf::Name
const,Imf::Slice>>,std::_ow::TreePairWrapper<Imf::Name,Imf::Slice>>::const_iterator
const'
ImfFrameBuffer.h(364): Error! E041: col(12) expression for '->' must be
pointer to class, struct or union
ImfFrameBuffer.h(364): Note! N638: col(12) 'const_iterator' defined in:
C:\Watcom\H\_rbtree.h(252) (col 11)
ImfFrameBuffer.h(364): Note! N719: col(12) operand type is
'std::_ow::RedBlackTree<Imf::Name,std::less<Imf::Name>,std::allocator<std::pair<Imf::Name
const,Imf::Slice>>,std::_ow::TreePairWrapper<Imf::Name,Imf::Slice>>::const_iterator
const'
ImfFrameBuffer.h(372): Error! E531: col(17) left operand must be a pointer,
pointer to class member, or arithmetic
ImfFrameBuffer.h(372): Note! N638: col(17) 'const_iterator' defined in:
C:\Watcom\H\_rbtree.h(252) (col 11)
ImfFrameBuffer.h(372): Note! N717: col(17) left operand type is
'std::_ow::RedBlackTree<Imf::Name,std::less<Imf::Name>,std::allocator<std::pair<Imf::Name
const,Imf::Slice>>,std::_ow::TreePairWrapper<Imf::Name,Imf::Slice>>::const_iterator
const'
ImfFrameBuffer.h(372): Note! N718: col(17) right operand type is
'std::_ow::RedBlackTree<Imf::Name,std::less<Imf::Name>,std::allocator<std::pair<Imf::Name
const,Imf::Slice>>,std::_ow::TreePairWrapper<Imf::Name,Imf::Slice>>::const_iterator
const (lvalue)'
ImathBox.h(65): Error! E059: col(10) unable to open 'ImathVec.h'
ImathBox.h(66): Error! E059: col(10) unable to open 'ImathNamespace.h'
ImathBox.h(71): Error! E121: col(1) syntax error
ImathBox.h(132): Error! E360: col(13) typedef 'Box' defined without an
explicit type
ImathBox.h(132): Error! E006: col(13) syntax error; probable cause: missing
';'
ImathBox.h(133): Error! E118: col(13) nameless declaration is not allowed
ImathBox.h(133): Error! E006: col(13) syntax error; probable cause: missing
';'
ImathBox.h(134): Error! E118: col(13) nameless declaration is not allowed
ImathBox.h(134): Error! E006: col(13) syntax error; probable cause: missing
';'
ImathBox.h(135): Error! E118: col(13) nameless declaration is not allowed
ImathBox.h(135): Error! E006: col(13) syntax error; probable cause: missing
';'
ImathBox.h(136): Error! E118: col(13) nameless declaration is not allowed
ImathBox.h(136): Error! E006: col(13) syntax error; probable cause: missing
';'
ImathBox.h(137): Error! E118: col(13) nameless declaration is not allowed
ImathBox.h(137): Error! E006: col(13) syntax error; probable cause: missing
';'
ImathBox.h(138): Error! E118: col(13) nameless declaration is not allowed
ImathBox.h(138): Error! E006: col(13) syntax error; probable cause: missing
';'
ImathBox.h(139): Error! E118: col(13) nameless declaration is not allowed
ImathBox.h(139): Error! E006: col(13) syntax error; probable cause: missing
';'
ImathBox.h(147): Error! E118: col(11) nameless declaration is not allowed
ImathBox.h(147): Error! E133: col(11) too many errors: compilation aborted
I suspect they are using a more recent syntax. But I'll take a look.
Marty