openexr-devel
[Top][All Lists]
Advanced

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

[Openexr-devel] (no subject)


From: Raúl Huertas
Subject: [Openexr-devel] (no subject)
Date: Wed, 14 Nov 2007 13:48:57 -0500

Sorry, I didn't note how my message was sent. I hope this one works. I hope 
this time works:


#include OpenEXR/ImfRgba.h //I think hotmail don't accept '<' or '>', but this 
sysmbols are in my code
#include OpenEXR/ImfRgbaFile.h
#include OpenEXR/ImfIO.h
#include iostream


using namespace Imf;

const unsigned int TEST_WIDTH = 400;
const unsigned int TEST_HEIGHT = 300;

Rgba misPixeles[TEST_WIDTH*TEST_HEIGHT];
        
        


void escribirRgba1(
const char nombreArchivo[],
const Rgba* pixeles,
int width, 
int height
){
        
        RgbaOutputFile file(nombreArchivo, width, height, WRITE_RGBA);
        file.setFrameBuffer( pixeles, 1, width  );
        file.writePixels(height);
        
}//Yes, is the same function of the tutorial





There in no code in main because I was testing every step. This is my compiler 
output:

g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/ProbandoOpenEXR.d" 
-MT"src/ProbandoOpenEXR.d" -o"src/ProbandoOpenEXR.o" 
"../src/ProbandoOpenEXR.cpp"
/usr/local/include/OpenEXR/ImfRgbaFile.h:78: error: expected ‘,’ or ‘...’ 
before ‘&’ token
/usr/local/include/OpenEXR/ImfRgbaFile.h:89: error: expected `)' before ‘&’ 
token
/usr/local/include/OpenEXR/ImfRgbaFile.h:107: error: ‘LineOrder’ has not been 
declared
/usr/local/include/OpenEXR/ImfRgbaFile.h:108: error: ‘Compression’ has not been 
declared
/usr/local/include/OpenEXR/ImfRgbaFile.h:125: error: ‘LineOrder’ has not been 
declared
/usr/local/include/OpenEXR/ImfRgbaFile.h:126: error: ‘Compression’ has not been 
declared
/usr/local/include/OpenEXR/ImfRgbaFile.h:162: error: expected ‘;’ before ‘&’ 
token
/usr/local/include/OpenEXR/ImfRgbaFile.h:163: error: expected ‘;’ before ‘&’ 
token
/usr/local/include/OpenEXR/ImfRgbaFile.h:169: error: ‘LineOrder’ does not name 
a type
/usr/local/include/OpenEXR/ImfRgbaFile.h:170: error: ‘Compression’ does not 
name a type
/usr/local/include/OpenEXR/ImfRgbaFile.h:107: error: ‘INCREASING_Y’ was not 
declared in this scope
/usr/local/include/OpenEXR/ImfRgbaFile.h:108: error: ‘PIZ_COMPRESSION’ was not 
declared in this scope
/usr/local/include/OpenEXR/ImfRgbaFile.h:109: error: ‘globalThreadCount’ was 
not declared in this scope
/usr/local/include/OpenEXR/ImfRgbaFile.h:125: error: ‘INCREASING_Y’ was not 
declared in this scope
/usr/local/include/OpenEXR/ImfRgbaFile.h:126: error: ‘PIZ_COMPRESSION’ was not 
declared in this scope
/usr/local/include/OpenEXR/ImfRgbaFile.h:127: error: ‘globalThreadCount’ was 
not declared in this scope
/usr/local/include/OpenEXR/ImfRgbaFile.h:248: error: expected `)' before ‘&’ 
token
/usr/local/include/OpenEXR/ImfRgbaFile.h:282: error: expected ‘;’ before ‘&’ 
token
/usr/local/include/OpenEXR/ImfRgbaFile.h:283: error: expected ‘;’ before ‘&’ 
token
/usr/local/include/OpenEXR/ImfRgbaFile.h:289: error: ‘LineOrder’ does not name 
a type
/usr/local/include/OpenEXR/ImfRgbaFile.h:290: error: ‘Compression’ does not 
name a type
/usr/local/include/OpenEXR/ImfRgbaFile.h:238: error: ‘globalThreadCount’ was 
not declared in this scope
/usr/local/include/OpenEXR/ImfIO.h:110: error: ‘Int64’ does not name a type
/usr/local/include/OpenEXR/ImfIO.h:118: error: ‘Int64’ has not been declared
/usr/local/include/OpenEXR/ImfIO.h:180: error: ‘Int64’ does not name a type
/usr/local/include/OpenEXR/ImfIO.h:188: error: ‘Int64’ has not been declared


I'm using Ubuntu Linux, my IDE is Eclipse. I compiled OpenER manually, The 
viewers compiled successfully. Also I did some arithmetic tests before with 
"half.h" and everything was ok. Any issue with the libraries? Help please:S
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE



reply via email to

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