[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't detect OpenEXR
From: |
Noah Misch |
Subject: |
Re: Can't detect OpenEXR |
Date: |
Fri, 31 Dec 2004 07:40:11 -0800 |
User-agent: |
Mutt/1.5.6i |
On Thu, Dec 30, 2004 at 10:52:54PM -0800, Robin Rowe wrote:
> AC_CHECK_LIB(IlmImf,ImfApplyLut,,AC_MSG_ERROR(*** openexr dev lib not
> found ***),)
AC_CHECK_LIB cannot test for a function with C++ linkage. A C++ function's
symbol name depends on the types of its parameters as well as its name; this
makes features like overloading possible. AC_CHECK_LIB does not know about the
parameters, so it cannot craft a test.
If libIlmImf contains a function with C linkage, you could test for it. If not,
you could test linking a trivial `int main() { return 0; }' with -lIlmImf.