Archana Gopalan
17 years ago
Hi all,
I am kind of new to open exr.I have installed the entire package.I tried to
run the code in IlmIlmExamples folder.But i was not able to run
it.Couldanyone help me out with this?the following is the error i
get..
.............................................................................................................................................................................................
***@archana-desktop:~/Desktop/openexr-1.6.1/IlmImfExamples$ gcc
rgbaInterfaceExamples.cpp
rgbaInterfaceExamples.cpp:47:25: error: ImfRgbaFile.h: No such file or
directory
rgbaInterfaceExamples.cpp:48:32: error: ImfStringAttribute.h: No such file
or directory
rgbaInterfaceExamples.cpp:49:32: error: ImfMatrixAttribute.h: No such file
or directory
rgbaInterfaceExamples.cpp:50:22: error: ImfArray.h: No such file or
directory
rgbaInterfaceExamples.cpp:51:23: error: drawImage.h: No such file or
directory
rgbaInterfaceExamples.cpp:56: error: 'Imf' is not a namespace-name
rgbaInterfaceExamples.cpp:56: error: expected namespace-name before ';'
token
rgbaInterfaceExamples.cpp:57: error: 'Imath' is not a namespace-name
rgbaInterfaceExamples.cpp:57: error: expected namespace-name before ';'
token
rgbaInterfaceExamples.cpp:62: error: expected ',' or '...' before '*' token
rgbaInterfaceExamples.cpp:64: error: ISO C++ forbids declaration of 'Rgba'
with no type
rgbaInterfaceExamples.cpp: In function 'void writeRgba1(const char*, int)':
rgbaInterfaceExamples.cpp:75: error: 'RgbaOutputFile' was not declared in
this scope
rgbaInterfaceExamples.cpp:75: error: expected `;' before 'file'
rgbaInterfaceExamples.cpp:76: error: 'file' was not declared in this scope
rgbaInterfaceExamples.cpp:76: error: 'pixels' was not declared in this scope
rgbaInterfaceExamples.cpp:76: error: 'width' was not declared in this scope
rgbaInterfaceExamples.cpp:77: error: 'height' was not declared in this scope
rgbaInterfaceExamples.cpp: At global scope:
rgbaInterfaceExamples.cpp:83: error: expected ',' or '...' before '*' token
rgbaInterfaceExamples.cpp:86: error: ISO C++ forbids declaration of 'Rgba'
with no type
rgbaInterfaceExamples.cpp: In function 'void writeRgba2(const char*, int)':
rgbaInterfaceExamples.cpp:98: error: 'Box2i' was not declared in this scope
rgbaInterfaceExamples.cpp:98: error: expected `;' before 'displayWindow'
rgbaInterfaceExamples.cpp:99: error: 'RgbaOutputFile' was not declared in
this scope
rgbaInterfaceExamples.cpp:99: error: expected `;' before 'file'
rgbaInterfaceExamples.cpp:100: error: 'file' was not declared in this scope
rgbaInterfaceExamples.cpp:100: error: 'pixels' was not declared in this
scope
rgbaInterfaceExamples.cpp:100: error: 'width' was not declared in this scope
rgbaInterfaceExamples.cpp:101: error: 'dataWindow' was not declared in this
scope
rgbaInterfaceExamples.cpp: At global scope:
rgbaInterfaceExamples.cpp:107: error: expected ',' or '...' before '*' token
rgbaInterfaceExamples.cpp:111: error: ISO C++ forbids declaration of 'Rgba'
with no type
rgbaInterfaceExamples.cpp: In function 'void writeRgba3(const char*, int)':
rgbaInterfaceExamples.cpp:123: error: 'Header' was not declared in this
scope
rgbaInterfaceExamples.cpp:123: error: expected `;' before 'header'
rgbaInterfaceExamples.cpp:124: error: 'header' was not declared in this
scope
rgbaInterfaceExamples.cpp:124: error: 'comments' was not declared in this
scope
rgbaInterfaceExamples.cpp:124: error: 'StringAttribute' was not declared in
this scope
rgbaInterfaceExamples.cpp:125: error: 'cameraTransform' was not declared in
this scope
rgbaInterfaceExamples.cpp:125: error: 'M44fAttribute' was not declared in
this scope
rgbaInterfaceExamples.cpp:127: error: 'RgbaOutputFile' was not declared in
this scope
rgbaInterfaceExamples.cpp:127: error: expected `;' before 'file'
rgbaInterfaceExamples.cpp:128: error: 'file' was not declared in this scope
rgbaInterfaceExamples.cpp:128: error: 'pixels' was not declared in this
scope
rgbaInterfaceExamples.cpp:128: error: 'width' was not declared in this scope
rgbaInterfaceExamples.cpp:129: error: 'height' was not declared in this
scope
rgbaInterfaceExamples.cpp: At global scope:
rgbaInterfaceExamples.cpp:135: error: 'Array2D' has not been declared
rgbaInterfaceExamples.cpp:135: error: expected ',' or '...' before '<' token
rgbaInterfaceExamples.cpp: In function 'void readRgba1(const char*, int)':
rgbaInterfaceExamples.cpp:148: error: 'RgbaInputFile' was not declared in
this scope
rgbaInterfaceExamples.cpp:148: error: expected `;' before 'file'
rgbaInterfaceExamples.cpp:149: error: 'Box2i' was not declared in this scope
rgbaInterfaceExamples.cpp:149: error: expected `;' before 'dw'
rgbaInterfaceExamples.cpp:151: error: 'width' was not declared in this scope
rgbaInterfaceExamples.cpp:151: error: 'dw' was not declared in this scope
rgbaInterfaceExamples.cpp:152: error: 'height' was not declared in this
scope
rgbaInterfaceExamples.cpp:153: error: 'pixels' was not declared in this
scope
rgbaInterfaceExamples.cpp:155: error: 'file' was not declared in this scope
rgbaInterfaceExamples.cpp: In function 'void readRgba2(const char*)':
rgbaInterfaceExamples.cpp:177: error: 'RgbaInputFile' was not declared in
this scope
rgbaInterfaceExamples.cpp:177: error: expected `;' before 'file'
rgbaInterfaceExamples.cpp:178: error: 'Box2i' was not declared in this scope
rgbaInterfaceExamples.cpp:178: error: expected `;' before 'dw'
rgbaInterfaceExamples.cpp:180: error: 'dw' was not declared in this scope
rgbaInterfaceExamples.cpp:182: error: 'Array2D' was not declared in this
scope
rgbaInterfaceExamples.cpp:182: error: 'Rgba' was not declared in this scope
rgbaInterfaceExamples.cpp:182: error: 'pixels' was not declared in this
scope
rgbaInterfaceExamples.cpp:186: error: 'file' was not declared in this scope
rgbaInterfaceExamples.cpp: In function 'void readHeader(const char*)':
rgbaInterfaceExamples.cpp:210: error: 'RgbaInputFile' was not declared in
this scope
rgbaInterfaceExamples.cpp:210: error: expected `;' before 'file'
rgbaInterfaceExamples.cpp:212: error: expected initializer before '*' token
rgbaInterfaceExamples.cpp:215: error: expected initializer before '*' token
rgbaInterfaceExamples.cpp:218: error: 'comments' was not declared in this
scope
rgbaInterfaceExamples.cpp:221: error: 'cameraTransform' was not declared in
this scope
rgbaInterfaceExamples.cpp: In function 'void rgbaInterfaceExamples()':
rgbaInterfaceExamples.cpp:235: error: 'Array2D' was not declared in this
scope
rgbaInterfaceExamples.cpp:235: error: 'Rgba' was not declared in this scope
rgbaInterfaceExamples.cpp:235: error: 'p' was not declared in this scope
rgbaInterfaceExamples.cpp:236: error: 'drawImage1' was not declared in this
scope
rgbaInterfaceExamples.cpp:245: error: 'V2i' was not declared in this scope
rgbaInterfaceExamples.cpp:245: error: 'Box2i' was not declared in this scope
rgbaInterfaceExamples.cpp:250: error: 'M44f' was not declared in this scope
...................................................................................................................................................................................................................
THanks a ton..
archana gopalan
I am kind of new to open exr.I have installed the entire package.I tried to
run the code in IlmIlmExamples folder.But i was not able to run
it.Couldanyone help me out with this?the following is the error i
get..
.............................................................................................................................................................................................
***@archana-desktop:~/Desktop/openexr-1.6.1/IlmImfExamples$ gcc
rgbaInterfaceExamples.cpp
rgbaInterfaceExamples.cpp:47:25: error: ImfRgbaFile.h: No such file or
directory
rgbaInterfaceExamples.cpp:48:32: error: ImfStringAttribute.h: No such file
or directory
rgbaInterfaceExamples.cpp:49:32: error: ImfMatrixAttribute.h: No such file
or directory
rgbaInterfaceExamples.cpp:50:22: error: ImfArray.h: No such file or
directory
rgbaInterfaceExamples.cpp:51:23: error: drawImage.h: No such file or
directory
rgbaInterfaceExamples.cpp:56: error: 'Imf' is not a namespace-name
rgbaInterfaceExamples.cpp:56: error: expected namespace-name before ';'
token
rgbaInterfaceExamples.cpp:57: error: 'Imath' is not a namespace-name
rgbaInterfaceExamples.cpp:57: error: expected namespace-name before ';'
token
rgbaInterfaceExamples.cpp:62: error: expected ',' or '...' before '*' token
rgbaInterfaceExamples.cpp:64: error: ISO C++ forbids declaration of 'Rgba'
with no type
rgbaInterfaceExamples.cpp: In function 'void writeRgba1(const char*, int)':
rgbaInterfaceExamples.cpp:75: error: 'RgbaOutputFile' was not declared in
this scope
rgbaInterfaceExamples.cpp:75: error: expected `;' before 'file'
rgbaInterfaceExamples.cpp:76: error: 'file' was not declared in this scope
rgbaInterfaceExamples.cpp:76: error: 'pixels' was not declared in this scope
rgbaInterfaceExamples.cpp:76: error: 'width' was not declared in this scope
rgbaInterfaceExamples.cpp:77: error: 'height' was not declared in this scope
rgbaInterfaceExamples.cpp: At global scope:
rgbaInterfaceExamples.cpp:83: error: expected ',' or '...' before '*' token
rgbaInterfaceExamples.cpp:86: error: ISO C++ forbids declaration of 'Rgba'
with no type
rgbaInterfaceExamples.cpp: In function 'void writeRgba2(const char*, int)':
rgbaInterfaceExamples.cpp:98: error: 'Box2i' was not declared in this scope
rgbaInterfaceExamples.cpp:98: error: expected `;' before 'displayWindow'
rgbaInterfaceExamples.cpp:99: error: 'RgbaOutputFile' was not declared in
this scope
rgbaInterfaceExamples.cpp:99: error: expected `;' before 'file'
rgbaInterfaceExamples.cpp:100: error: 'file' was not declared in this scope
rgbaInterfaceExamples.cpp:100: error: 'pixels' was not declared in this
scope
rgbaInterfaceExamples.cpp:100: error: 'width' was not declared in this scope
rgbaInterfaceExamples.cpp:101: error: 'dataWindow' was not declared in this
scope
rgbaInterfaceExamples.cpp: At global scope:
rgbaInterfaceExamples.cpp:107: error: expected ',' or '...' before '*' token
rgbaInterfaceExamples.cpp:111: error: ISO C++ forbids declaration of 'Rgba'
with no type
rgbaInterfaceExamples.cpp: In function 'void writeRgba3(const char*, int)':
rgbaInterfaceExamples.cpp:123: error: 'Header' was not declared in this
scope
rgbaInterfaceExamples.cpp:123: error: expected `;' before 'header'
rgbaInterfaceExamples.cpp:124: error: 'header' was not declared in this
scope
rgbaInterfaceExamples.cpp:124: error: 'comments' was not declared in this
scope
rgbaInterfaceExamples.cpp:124: error: 'StringAttribute' was not declared in
this scope
rgbaInterfaceExamples.cpp:125: error: 'cameraTransform' was not declared in
this scope
rgbaInterfaceExamples.cpp:125: error: 'M44fAttribute' was not declared in
this scope
rgbaInterfaceExamples.cpp:127: error: 'RgbaOutputFile' was not declared in
this scope
rgbaInterfaceExamples.cpp:127: error: expected `;' before 'file'
rgbaInterfaceExamples.cpp:128: error: 'file' was not declared in this scope
rgbaInterfaceExamples.cpp:128: error: 'pixels' was not declared in this
scope
rgbaInterfaceExamples.cpp:128: error: 'width' was not declared in this scope
rgbaInterfaceExamples.cpp:129: error: 'height' was not declared in this
scope
rgbaInterfaceExamples.cpp: At global scope:
rgbaInterfaceExamples.cpp:135: error: 'Array2D' has not been declared
rgbaInterfaceExamples.cpp:135: error: expected ',' or '...' before '<' token
rgbaInterfaceExamples.cpp: In function 'void readRgba1(const char*, int)':
rgbaInterfaceExamples.cpp:148: error: 'RgbaInputFile' was not declared in
this scope
rgbaInterfaceExamples.cpp:148: error: expected `;' before 'file'
rgbaInterfaceExamples.cpp:149: error: 'Box2i' was not declared in this scope
rgbaInterfaceExamples.cpp:149: error: expected `;' before 'dw'
rgbaInterfaceExamples.cpp:151: error: 'width' was not declared in this scope
rgbaInterfaceExamples.cpp:151: error: 'dw' was not declared in this scope
rgbaInterfaceExamples.cpp:152: error: 'height' was not declared in this
scope
rgbaInterfaceExamples.cpp:153: error: 'pixels' was not declared in this
scope
rgbaInterfaceExamples.cpp:155: error: 'file' was not declared in this scope
rgbaInterfaceExamples.cpp: In function 'void readRgba2(const char*)':
rgbaInterfaceExamples.cpp:177: error: 'RgbaInputFile' was not declared in
this scope
rgbaInterfaceExamples.cpp:177: error: expected `;' before 'file'
rgbaInterfaceExamples.cpp:178: error: 'Box2i' was not declared in this scope
rgbaInterfaceExamples.cpp:178: error: expected `;' before 'dw'
rgbaInterfaceExamples.cpp:180: error: 'dw' was not declared in this scope
rgbaInterfaceExamples.cpp:182: error: 'Array2D' was not declared in this
scope
rgbaInterfaceExamples.cpp:182: error: 'Rgba' was not declared in this scope
rgbaInterfaceExamples.cpp:182: error: 'pixels' was not declared in this
scope
rgbaInterfaceExamples.cpp:186: error: 'file' was not declared in this scope
rgbaInterfaceExamples.cpp: In function 'void readHeader(const char*)':
rgbaInterfaceExamples.cpp:210: error: 'RgbaInputFile' was not declared in
this scope
rgbaInterfaceExamples.cpp:210: error: expected `;' before 'file'
rgbaInterfaceExamples.cpp:212: error: expected initializer before '*' token
rgbaInterfaceExamples.cpp:215: error: expected initializer before '*' token
rgbaInterfaceExamples.cpp:218: error: 'comments' was not declared in this
scope
rgbaInterfaceExamples.cpp:221: error: 'cameraTransform' was not declared in
this scope
rgbaInterfaceExamples.cpp: In function 'void rgbaInterfaceExamples()':
rgbaInterfaceExamples.cpp:235: error: 'Array2D' was not declared in this
scope
rgbaInterfaceExamples.cpp:235: error: 'Rgba' was not declared in this scope
rgbaInterfaceExamples.cpp:235: error: 'p' was not declared in this scope
rgbaInterfaceExamples.cpp:236: error: 'drawImage1' was not declared in this
scope
rgbaInterfaceExamples.cpp:245: error: 'V2i' was not declared in this scope
rgbaInterfaceExamples.cpp:245: error: 'Box2i' was not declared in this scope
rgbaInterfaceExamples.cpp:250: error: 'M44f' was not declared in this scope
...................................................................................................................................................................................................................
THanks a ton..
archana gopalan