Discussion:
[Openexr-devel] what libraries to install for compiling openexr?
Shriram Agarwal
2018-09-16 21:43:09 UTC
Permalink
Hi,

I get following error on RedHat 7.5.

which package/library do i need to install?


Thanks

Shri


ImfB44Compressor.cpp: In function 'void Imf_2_3::{anonymous}::convertFromLinear(short unsigned int*)':
ImfB44Compressor.cpp:141:9: error: 'expTable' was not declared in this scope
s[i] = expTable[s[i]];
^~~~~~~~
ImfB44Compressor.cpp:141:9: note: suggested alternative: 'exp10l'
s[i] = expTable[s[i]];
^~~~~~~~
exp10l
ImfB44Compressor.cpp: In function 'void Imf_2_3::{anonymous}::convertToLinear(short unsigned int*)':
ImfB44Compressor.cpp:149:9: error: 'logTable' was not declared in this scope
s[i] = logTable[s[i]];
^~~~~~~~
ImfB44Compressor.cpp:149:9: note: suggested alternative: 'logbl'
s[i] = logTable[s[i]];
^~~~~~~~
logbl
Cary Phillips
2018-09-19 01:07:50 UTC
Permalink
You're probably not missing a package or library, the expTable variable
comes from the file b44ExpLogTable.h, which is generated by make via the
b44ExpLogTable program, which make compiles from the source file
b44ExpLogTable.cpp. Somehow that program must be failing to compile or run,
not sure what could be causing that.
Post by Shriram Agarwal
Hi,
I get following error on RedHat 7.5.
which package/library do i need to install?
Thanks
Shri
ImfB44Compressor.cpp: In function 'void
ImfB44Compressor.cpp:141:9: error: 'expTable' was not declared in this scope
s[i] = expTable[s[i]];
^~~~~~~~
ImfB44Compressor.cpp:141:9: note: suggested alternative: 'exp10l'
s[i] = expTable[s[i]];
^~~~~~~~
exp10l
ImfB44Compressor.cpp: In function 'void
ImfB44Compressor.cpp:149:9: error: 'logTable' was not declared in this scope
s[i] = logTable[s[i]];
^~~~~~~~
ImfB44Compressor.cpp:149:9: note: suggested alternative: 'logbl'
s[i] = logTable[s[i]];
^~~~~~~~
logbl
_______________________________________________
Openexr-devel mailing list
https://lists.nongnu.org/mailman/listinfo/openexr-devel
--
Cary Phillips | R&D Supervisor | ILM | San Francisco
Shriram Agarwal
2018-09-20 01:14:26 UTC
Permalink
Thanks Cary for responding.
I looked at source b44ExpLogTable.cpp file and it does not have logTable declared and b44ExpLogTable.h is empty.
I have already done make clean but still no luck.
I followed compilation direction as specified.

Here is commit id which I am using.

commit 0ac2ea34c8f3134148a5df4052e40f155b76f6fb

Author: Nick Rasmussen <***@ilm.com>

Date: Fri Aug 10 03:34:26 2018 -0500



Added the nodist_ prefix to the config headers so the generated files aren't included

as part of the disted tarballs.


Thanks
Shri

From: Cary Phillips <***@ilm.com>
Date: Tuesday, September 18, 2018 at 6:08 PM
To: Shriram Agarwal <***@nvidia.com>
Cc: "openexr-***@nongnu.org" <openexr-***@nongnu.org>
Subject: Re: [Openexr-devel] what libraries to install for compiling openexr?

You're probably not missing a package or library, the expTable variable comes from the file b44ExpLogTable.h, which is generated by make via the b44ExpLogTable program, which make compiles from the source file b44ExpLogTable.cpp. Somehow that program must be failing to compile or run, not sure what could be causing that.

On Mon, Sep 17, 2018 at 9:21 AM Shriram Agarwal <***@nvidia.com<mailto:***@nvidia.com>> wrote:

Hi,

I get following error on RedHat 7.5.

which package/library do i need to install?



Thanks

Shri



ImfB44Compressor.cpp: In function 'void Imf_2_3::{anonymous}::convertFromLinear(short unsigned int*)':
ImfB44Compressor.cpp:141:9: error: 'expTable' was not declared in this scope
s[i] = expTable[s[i]];
^~~~~~~~
ImfB44Compressor.cpp:141:9: note: suggested alternative: 'exp10l'
s[i] = expTable[s[i]];
^~~~~~~~
exp10l
ImfB44Compressor.cpp: In function 'void Imf_2_3::{anonymous}::convertToLinear(short unsigned int*)':
ImfB44Compressor.cpp:149:9: error: 'logTable' was not declared in this scope
s[i] = logTable[s[i]];
^~~~~~~~
ImfB44Compressor.cpp:149:9: note: suggested alternative: 'logbl'
s[i] = logTable[s[i]];
^~~~~~~~
logbl
_______________________________________________
Openexr-devel mailing list
Openexr-***@nongnu.org<mailto:Openexr-***@nongnu.org>
https://lists.nongnu.org/mailman/listinfo/openexr-devel
--
Cary Phillips | R&D Supervisor | ILM | San Francisco
Gonzalo Garramuño
2018-09-24 16:51:21 UTC
Permalink
Post by Shriram Agarwal
Thanks Cary for responding.
I looked at source b44ExpLogTable.cpp  file and it does not have
logTable declared and b44ExpLogTable.h is empty.
I have already done make clean but still no luck.
I followed compilation direction as specified.
Here is commit id which I am using.
The compilation fails due to Half.dll/.so not being in the same path as
the b44 executable.
--
Gonzalo Garramuño
Loading...