Discussion:
[Openexr-user] help needed in installing open exr
Archana Gopalan
2008-01-08 04:31:56 UTC
Permalink
Hi,
I am trying to install open exr-1.6.1

I have installed all the necessary basic packages for cygwin.

The first command ./configure worked fine.

When I run 'make', I get the following error.

Please guide me as to what to do.

Regards,
Archana
..........................................................................................................................................

Making all in config

make[1]: Entering directory `/home/archana/openexr-1.6.1/config'

make all-am

make[2]: Entering directory `/home/archana/openexr-1.6.1/config'

make[2]: Leaving directory `/home/archana/openexr-1.6.1/config'

make[1]: Leaving directory `/home/archana/openexr-1.6.1/config'

Making all in IlmImf

make[1]: Entering directory `/home/archana/openexr-1.6.1/IlmImf'

g++ -g -O2 b44ExpLogTable.cpp -o b44ExpLogTable

b44ExpLogTable.cpp:52:18: half.h: No such file or directory

b44ExpLogTable.cpp: In function `int main()':

b44ExpLogTable.cpp:85: error: `half' undeclared (first use this function)

b44ExpLogTable.cpp:85: error: (Each undeclared identifier is reported only
once

for each function it appears in.)

b44ExpLogTable.cpp:85: error: expected `;' before "h"

b44ExpLogTable.cpp:86: error: `h' undeclared (first use this function)

b44ExpLogTable.cpp:90: error: `HALF_MAX' undeclared (first use this
function)

b44ExpLogTable.cpp:114: error: expected `;' before "h"

make[1]: *** [b44ExpLogTable] Error 1

make[1]: Leaving directory `/home/archana/openexr-1.6.1/IlmImf'

make: *** [all-recursive] Error 1
.....................................................................................................................................................
darby johnston
2008-01-08 19:01:09 UTC
Permalink
--- Archana Gopalan <***@gmail.com>
wrote:

Hi Archana,

It looks like your build is unable to find the
"ilmbase" package, which OpenEXR is dependent on. I am
not so familiar with cygwin, but this is how I
setenv BUILD_DIR /home/darby/build
cd $BUILD_DIR
gzcat ilmbase-1.0.1.tar.gz | tar xvf -
cd ilmbase-1.0.1
./configure --prefix=$BUILD_DIR
make && make install
cd ..
gzcat openexr-1.6.1.tar.gz | tar xvf -
cd openexr-1.6.1
./configure --prefix=$BUILD_DIR \
PKG_CONFIG_PATH=$BUILD_DIR/lib/pkgconfig
make && make install
The variable BUILD_DIR is just the directory where I
am building the software. Note that you need to build
ilmbase first, and then OpenEXR. You also need to tell
OpenEXR where to find ilmbase, which in this case I am
doing with the PKG_CONFIG_PATH variable. If pkg-config
isn't available in cygwin, you can also pass the
command-line argument --with-ilmbase-prefix=$BUILD_DIR
to the configure script.


Darby
Nick Porcino
2008-01-08 21:03:06 UTC
Permalink
It looks to me like make didn't first build toFloat. Has anyone on this
list ever tried building OpenEXR on Windows under cygwin? I haven't
tried that myself.



________________________________

From: openexr-user-bounces+nporcino=***@nongnu.org
[mailto:openexr-user-bounces+nporcino=***@nongnu.org] On
Behalf Of Archana Gopalan
Sent: Monday, January 07, 2008 8:32 PM
To: openexr-***@nongnu.org
Subject: [Openexr-user] help needed in installing open exr



Hi,
I am trying to install open exr-1.6.1

I have installed all the necessary basic packages for cygwin.

The first command ./configure worked fine.

When I run 'make', I get the following error.

Please guide me as to what to do.

Regards,
Archana
........................................................................
..................................................................

Making all in config

make[1]: Entering directory `/home/archana/openexr-1.6.1/config'

make all-am

make[2]: Entering directory `/home/archana/openexr-1.6.1/config'

make[2]: Leaving directory `/home/archana/openexr-1.6.1/config'

make[1]: Leaving directory `/home/archana/openexr-1.6.1/config'

Making all in IlmImf

make[1]: Entering directory `/home/archana/openexr-1.6.1/IlmImf'

g++ -g -O2 b44ExpLogTable.cpp -o b44ExpLogTable

b44ExpLogTable.cpp:52:18: half.h: No such file or directory

b44ExpLogTable.cpp: In function `int main()':

b44ExpLogTable.cpp:85: error: `half' undeclared (first use this
function)

b44ExpLogTable.cpp:85: error: (Each undeclared identifier is reported
only once

for each function it appears in.)

b44ExpLogTable.cpp:85: error: expected `;' before "h"

b44ExpLogTable.cpp:86: error: `h' undeclared (first use this function)

b44ExpLogTable.cpp:90: error: `HALF_MAX' undeclared (first use this
function)

b44ExpLogTable.cpp:114: error: expected `;' before "h"

make[1]: *** [b44ExpLogTable] Error 1

make[1]: Leaving directory `/home/archana/openexr-1.6.1/IlmImf'

make: *** [all-recursive] Error 1

........................................................................
........................................................................
.....
darby johnston
2008-01-10 21:06:28 UTC
Permalink
./configure --prefix=$BUILD_DIR \
PKG_CONFIG_PATH=$BUILD_DIR/lib/pkgconfig
./configure \
--prefix=$BUILD_DIR \
PKG_CONFIG_PATH=$BUILD_DIR/lib/pkgconfig \
LD_LIBRARY_PATH=$BUILD_DIR/lib
The LD_LIBRARY_PATH being necessary to run the ilmbase
test program.


Darby

Loading...