openexr-devel
[Top][All Lists]
Advanced

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

[Openexr-devel] OpenEXR 1.4.0a


From: Dave Jarvis
Subject: [Openexr-devel] OpenEXR 1.4.0a
Date: Mon, 08 Jan 2007 00:15:33 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417

Hi,

There seems to be an oversight in the headers for OpenEXR.

From /usr/local/include/OpenEXR/
        ImfIO.h
        ImfChannelList.h
        ImfInputFile.h
        ImfCompressionAttribute.h

These files have the following:

#include <ImfInt64.h>

#include <ImfName.h>
#include <ImfPixelType.h>

... etc.

However, since <>'s are used to indicate standard library directories (e.g., /usr/include and /usr/local/include), they do not refer to /usr/local/include/OpenEXR. Compiling applications at this point will fail. (I am trying to compile Blender 2.42a and have hit a roadblock.)

I recommend changing them to the following:

#include "ImfInt64.h"

#include "ImfName.h"
#include "ImfPixelType.h"

... etc.

Whereby the ""'s indicates to include from the same directory, and thus can find its own header files. (After making these changes myself, the include files could be found.)

Kind regards,
Dave Jarvis

P.S.
For what it's worth, here are some of the error messages:

In file included from source/blender/imbuf/intern/openexr/openexr_api.cpp:73: /usr/local/include/OpenEXR/ImfInputFile.h:46:23: error: ImfHeader.h: No such file or directory /usr/local/include/OpenEXR/ImfInputFile.h:47:28: error: ImfFrameBuffer.h: No such file or directory /usr/local/include/OpenEXR/ImfInputFile.h:48:32: error: ImfTiledOutputFile.h: No such file or directory /usr/local/include/OpenEXR/ImfInputFile.h:51:26: error: ImfThreading.h: No such file or directory In file included from source/blender/imbuf/intern/openexr/openexr_api.cpp:76: /usr/local/include/OpenEXR/ImfCompressionAttribute.h:46:26: error: ImfAttribute.h: No such file or directory /usr/local/include/OpenEXR/ImfCompressionAttribute.h:47:28: error: ImfCompression.h: No such file or directory




reply via email to

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