openexr-devel
[Top][All Lists]
Advanced

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

Re: [Openexr-devel] undefined symbol link error


From: Scott Frankel
Subject: Re: [Openexr-devel] undefined symbol link error
Date: Wed, 15 Oct 2003 20:23:51 -0700


Right. That got rid of the previous error ... but gained me 27 new ones.

Here's a question:  how exactly should the lib*.a & .la files be used?
The install step produced msgs referring to libtool. Is that just for dynamic
linking?  I turned off the enable-share option in the config.

Many of the new errors I'm getting are from undeclared symbols; i.e.:
::asinf. They originate in ImathMath.h, included in ImathVec.h. Is there a lib file that's not getting read properly, where asinf, atanf, &c. are declared?

Another possibility: do I need to have fltk installed to properly install the openEXR material? I'm getting msgs and errors during 'make' and 'make install',
like:

        make[1]: Nothing to be done for `all'.
        make[1]: Nothing to be done for `all-am'.

and

        make[3]: *** No rule to make target `install-exec-hook'.  Stop.
        make[2]: *** [install-exec-am] Error 2
        make[1]: *** [install-am] Error 2
        make: *** [install-recursive] Error 1


Thanks for your suggestions.
Scott



On Wednesday, October 15, 2003, at 01:06 PM, Paul Schneider wrote:


Hey, Scott,

rgbaInterfaceExamples() is defined in rgbaInterfaceExamples.cpp, and generalInterfaceExamples() is defined in generalInterfaceExamples.cpp. Try adding those to your project.

- Paul



On Tuesday, October 14, 2003, at 09:20 PM, Scott Frankel wrote:


I'm having trouble compiling/linking one of the OpenEXR test programs.
I get this error msg: "ld: Undefined symbols." (Full error msg printed
below.)

I downloaded the OpenEXR-1.0.6 tar ball and compiled it from
source using the "--enable-shared=off" config option.  As root, I
installed the lib.*.a and *.la files in /usr/local/lib. Not knowing any
better, I added each of the lib* and exr header files to my project
explicitly.  (I've since seen that it's possible to reference them via
the target's attributes.)  Nonetheless, the compiler output looks like
it's finding them.

I've got one cpp file in my project, main. It differs very little from the
example main.cpp file supplied in the OpenEXR dmg.  I've copied the
two "*Examples.h" header files to the current directory.

This is all on a single proc G4 running OSX v10.2.6.  The project is
built in ProjectBuilder v2.1.  The only change I made to the project's
target Linker Settings was turning "Prebind" off.

Thanks in advance for any suggestions!
Scott


[ PB output, including error msg ]

Building target “multTEST” with build style “Development” (optimization:level ‘0’, debug-symbols:on) — (1 error) /usr/bin/g++3 -o /multTEST/build/multTEST "-L/multTEST/build" "-F/multTEST/build" -filelist /multTEST/build/multTEST.build/multTEST.build/Objects-normal/ LinkFileList "-arch" "ppc" "-Wl,-no_arch_warnings" "-lstdc++" "-lHalf" "-lIex" "-lIlmImf" "-lImath"
ld: Undefined symbols:
rgbaInterfaceExamples()
generalInterfaceExamples()
                ld: Undefined symbols:
_______________________________________________
Openexr-devel mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/openexr-devel






reply via email to

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