Re: Compiling problems
Piotr Stanczyk <[email protected]>
| Newsgroups | gmane.comp.video.openexr.devel |
|---|---|
| Message-ID | <-3894192911058167478@unknownmsgid> |
Sounds like there is some interplay with a previously installed or configured library. Be sure to check what the ld library path is in your case and what it is that you are really linking against Piotr Wysłane z iPoda Dnia 10 Aug 2014 o godz. 17:14 Gonzalo Garramuno <[email protected]> napisał(a): > I recompiled and reinstalled IlmBase in /usr/local and was able to > proceed further. > Now I get linking errors: > > /bin/bash ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -o > exrheader main.o -L/usr/local/lib -pthread -L/usr/local/lib - > lImath -lHalf -lIex -lIexMath -lIlmThread ../IlmImf/libIlmImf.la -lz > libtool: link: g++ -pipe -g -O2 -o .libs/exrheader main.o -pthread - > L/usr/local/lib /usr/local/lib/libImath.so /usr/local/lib/ > libHalf.so /usr/local/lib/libIex.so /usr/local/lib/libIexMath.so / > usr/local/lib/libIlmThread.so ../IlmImf/.libs/libIlmImf.so -lz - > pthread > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Imf_2_1::rleCompress(int, char const*, signed char*)' > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Imf_2_1::TypedAttribute<std::vector<float, std::allocator<float> > > >::staticTypeName()' > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Imf_2_1::DwaCompressor::DwaCompressor(Imf_2_1::Header const&, int, > int, Imf_2_1::DwaCompressor::AcCompression)' > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Imf_2_1::FastHufDecoder::~FastHufDecoder()' > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Imf_2_1::FastHufDecoder::enabled()' > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Imf_2_1::TypedAttribute<std::vector<float, std::allocator<float> > > >::readValueFrom(Imf_2_1::IStream&, int, int)' > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Imf_2_1::FastHufDecoder::decode(unsigned char const*, int, unsigned > short*, int)' > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Imf_2_1::Zip::compress(char const*, int, char*)' > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Imf_2_1::rleUncompress(int, int, signed char const*, char*)' > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Imf_2_1::Zip::Zip(unsigned long, unsigned long)' > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Imf_2_1::DwaCompressor::initializeFuncs()' > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Imf_2_1::Zip::uncompress(char const*, int, char*)' > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Imf_2_1::FastHufDecoder::FastHufDecoder(char const*&, int, int, > int, int)' > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Imf_2_1::TypedAttribute<std::vector<float, std::allocator<float> > > >::writeValueTo(Imf_2_1::OStream&, int) const' > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Imf_2_1::Zip::~Zip()' > ../IlmImf/.libs/libIlmImf.so: undefined reference to > `Imf_2_1::Zip::maxCompressedSize()' > collect2: ld returned 1 exit status > > > _______________________________________________ > Openexr-devel mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/openexr-devel _______________________________________________ Openexr-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/openexr-devel