Hi Guy. That's an artifact of later gcc compiler versions being more strict about includes.
The 1.7.0 code is missing the include for memset; you will either need to augment the file to contains the statement: #include <string.h> or check out the head of the CVS in which this is fixed. I've been trying to find some time to get 1.7.1 out the door which also bumps the so version, which was neglected with the 1.7.0 release. Piotr ________________________________________ From: Guy Stalnaker [[email protected]] Sent: 22 August 2011 18:23 To: Piotr Stanczyk Cc: [email protected] Subject: Re: [Openexr-user] Issues compiling ... Piotr, Again, this is openexr-1.7 downloaded from the openexr web site (not cvs) along with the ilmbase, viewers, and examples. System is PCLinusOS, a RedHat clone. ilmbase is installed: <quote> hollin [ls /usr/local/openexr/include] ~/src/openexr-1.7.0 11-08-22 8:18PM nak@hollin ~/src/openexr-1.7.0 $ ls /usr/local/lib libHalf.a libIex.a libIlmThread.a libImath.a pkgconfig/ libHalf.la* libIex.la* libIlmThread.la* libImath.la* printdriver/ libHalf.so* libIex.so* libIlmThread.so* libImath.so* libHalf.so.6* libIex.so.6* libIlmThread.so.6* libImath.so.6* libHalf.so.6.0.0* libIex.so.6.0.0* libIlmThread.so.6.0.0* libImath.so.6.0.0* </quote> Attached is the config.log file. Here is the compile error terminal output (I apologize for mis-speaking in my previous email about the type of error): <quote> g++ -DHAVE_CONFIG_H -I. -I. -I../config -I/usr/local//include/OpenEXR -I.. -I../config -pipe -g -O2 -MT ImfChromaticities.lo -MD -MP -MF .deps/ImfChromaticities.Tpo -c ImfChromaticities.cpp -fPIC -DPIC -o .libs/ImfChromaticities.o In file included from ./ImfChromaticities.h:47:0, from ImfChromaticities.cpp:43: /usr/local//include/OpenEXR/ImathMatrix.h: In constructor 'Imath::Matrix44<T>::Matrix44() [with T = float]': ImfChromaticities.cpp:110:17: instantiated from here /usr/local//include/OpenEXR/ImathMatrix.h:1813:5: error: 'memset' was not declared in this scope make[2]: *** [ImfChromaticities.lo] Error 1 make[2]: Leaving directory `/media/HalfTerraDr/HP-PC/src/openexr-1.7.0/IlmImf' make[1]: *** [all] Error 2 make[1]: Leaving directory `/media/HalfTerraDr/HP-PC/src/openexr-1.7.0/IlmImf' make: *** [all-recursive] Error 1 </quote> Thanks for your help. Guy On 08/22/2011 10:41 AM, Piotr Stanczyk wrote: > Hi Guy, > > Do you happen to have the log I could take a look at. In particular, > it would be good to know what errors you are seeing on building the > OpenEXR part. > > Thanks > > Piotr ________________________________________ From: > [email protected] > [[email protected]] on behalf of Guy > Stalnaker [[email protected]] Sent: 22 August 2011 08:29 To: > [email protected] Subject: [Openexr-user] Issues compiling ... > > Is this the correct list to send compiling errors to? > > I have PCLinuxOS. I was attempting to compile the 1.7 code. ILMBase > appears to have compiled successfulling. But the OpenEXR code compile > is failing with a function call error. I attempted to punt the 1.7 > code in favor of the 1.6 code, but ILMBase won't pass the .configure > stage. > > Just want to know the correct route to follow to get some help. > > Regards, > > Guy S. > > -- Guy Stalnaker [email protected] "When you have a friend it means > something both ways." > > > _______________________________________________ Openexr-user mailing > list [email protected] > https://lists.nongnu.org/mailman/listinfo/openexr-user -- Guy Stalnaker [email protected] "When you have a friend it means something both ways." _______________________________________________ Openexr-user mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/openexr-user
