Here is a long of the problem localhost:build nyue$ make clean all [ 25%] Building CXX object CMakeFiles/exrAddAttribute.dir/src/exrAddAttribute.cpp.o Linking CXX executable exrAddAttribute [ 25%] Built target exrAddAttribute [ 50%] Building CXX object CMakeFiles/exrGetAttribute.dir/src/exrGetAttribute.cpp.o Linking CXX executable exrGetAttribute Undefined symbols for architecture x86_64: "Iex::BaseExc::BaseExc(char const*)", referenced from: Imf::Header::readFrom(Imf::IStream&, int&)in libIlmImf.a(ImfHeader.o) Imf::Header::sanityCheck(bool) constin libIlmImf.a(ImfHeader.o) Imf::TypedAttribute<Imf::Compression>::copyValueFrom(Imf::Attribute const&) in libIlmImf.a(ImfHeader.o) Imf::TypedAttribute<double>::copyValueFrom(Imf::Attribute const&)in libIlmImf.a(ImfHeader.o) Imf::TypedAttribute<Imf::Envmap>::copyValueFrom(Imf::Attribute const&)in libIlmImf.a(ImfHeader.o) Imf::TypedAttribute<float>::copyValueFrom(Imf::Attribute const&)in libIlmImf.a(ImfHeader.o) Imf::TypedAttribute<int>::copyValueFrom(Imf::Attribute const&)in libIlmImf.a(ImfHeader.o) ... "IlmThread::Mutex::Mutex()", referenced from: Imf::staticInitialize() in libIlmImf.a(ImfHeader.o) Imf::(anonymous namespace)::typeMap()in libIlmImf.a(ImfAttribute.o) "IlmThread::Mutex::~Mutex()", referenced from: ___tcf_0 in libIlmImf.a(ImfHeader.o) ___tcf_0 in libIlmImf.a(ImfAttribute.o) "IlmThread::Semaphore::post()", referenced from: Imf::(anonymous namespace)::LineBufferTask::~LineBufferTask()in libIlmImf.a(ImfOutputFile.o) Imf::(anonymous namespace)::LineBufferTask::~LineBufferTask()in libIlmImf.a(ImfOutputFile.o) Imf::OutputFile::writePixels(int) in libIlmImf.a(ImfOutputFile.o) Imf::(anonymous namespace)::TileBufferTask::~TileBufferTask()in libIlmImf.a(ImfTiledInputFile.o) Imf::(anonymous namespace)::TileBufferTask::~TileBufferTask()in libIlmImf.a(ImfTiledInputFile.o) Imf::TiledInputFile::readTiles(int, int, int, int, int, int)in libIlmImf.a(ImfTiledInputFile.o) Imf::(anonymous namespace)::LineBufferTask::~LineBufferTask()in libIlmImf.a(ImfScanLineInputFile.o) ... "IlmThread::Task::~Task()", referenced from: Imf::(anonymous namespace)::LineBufferTask::~LineBufferTask()in libIlmImf.a(ImfOutputFile.o) Imf::(anonymous namespace)::LineBufferTask::~LineBufferTask()in libIlmImf.a(ImfOutputFile.o) Imf::(anonymous namespace)::LineBufferTask::LineBufferTask(IlmThread::TaskGroup*, Imf::OutputFile::Data*, int, int, int)in libIlmImf.a(ImfOutputFile.o) Imf::(anonymous namespace)::TileBufferTask::~TileBufferTask()in libIlmImf.a(ImfTiledInputFile.o) Imf::(anonymous namespace)::TileBufferTask::~TileBufferTask()in libIlmImf.a(ImfTiledInputFile.o) Imf::(anonymous namespace)::LineBufferTask::~LineBufferTask()in libIlmImf.a(ImfScanLineInputFile.o) Imf::(anonymous namespace)::LineBufferTask::~LineBufferTask()in libIlmImf.a(ImfScanLineInputFile.o) ... "IlmThread::Task::Task(IlmThread::TaskGroup*)", referenced from: Imf::(anonymous namespace)::LineBufferTask::LineBufferTask(IlmThread::TaskGroup*, Imf::OutputFile::Data*, int, int, int)in libIlmImf.a(ImfOutputFile.o) Imf::TiledInputFile::readTiles(int, int, int, int, int, int)in libIlmImf.a(ImfTiledInputFile.o) Imf::ScanLineInputFile::readPixels(int, int)in libIlmImf.a(ImfScanLineInputFile.o) "IlmThread::Semaphore::wait()", referenced from: Imf::(anonymous namespace)::LineBufferTask::LineBufferTask(IlmThread::TaskGroup*, Imf::OutputFile::Data*, int, int, int)in libIlmImf.a(ImfOutputFile.o) Imf::OutputFile::writePixels(int) in libIlmImf.a(ImfOutputFile.o) Imf::TiledInputFile::readTiles(int, int, int, int, int, int)in libIlmImf.a(ImfTiledInputFile.o) Imf::ScanLineInputFile::readPixels(int, int)in libIlmImf.a(ImfScanLineInputFile.o) "Iex::BaseExc::assign(std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >&)", referenced from: Imf::OutputFile::updatePreviewImage(Imf::PreviewRgba const*) in libIlmImf.a(ImfOutputFile.o) Imf::OutputFile::writePixels(int) in libIlmImf.a(ImfOutputFile.o) Imf::OutputFile::OutputFile(Imf::OStream&, Imf::Header const&, int)in libIlmImf.a(ImfOutputFile.o) Imf::OutputFile::OutputFile(char const*, Imf::Header const&, int)in libIlmImf.a(ImfOutputFile.o) Imf::InputFile::rawTileData(int&, int&, int&, int&, char const*&, int&)in libIlmImf.a(ImfInputFile.o) Imf::InputFile::rawPixelData(int, char const*&, int&)in libIlmImf.a(ImfInputFile.o) Imf::InputFile::InputFile(Imf::IStream&, int)in libIlmImf.a(ImfInputFile.o) ... "IlmThread::TaskGroup::TaskGroup()", referenced from: Imf::OutputFile::writePixels(int) in libIlmImf.a(ImfOutputFile.o) Imf::TiledInputFile::readTiles(int, int, int, int, int, int)in libIlmImf.a(ImfTiledInputFile.o) Imf::ScanLineInputFile::readPixels(int, int)in libIlmImf.a(ImfScanLineInputFile.o) "IlmThread::ThreadPool::addGlobalTask(IlmThread::Task*)", referenced from: Imf::OutputFile::writePixels(int) in libIlmImf.a(ImfOutputFile.o) Imf::TiledInputFile::readTiles(int, int, int, int, int, int)in libIlmImf.a(ImfTiledInputFile.o) Imf::ScanLineInputFile::readPixels(int, int)in libIlmImf.a(ImfScanLineInputFile.o) "IlmThread::TaskGroup::~TaskGroup()", referenced from: Imf::OutputFile::writePixels(int) in libIlmImf.a(ImfOutputFile.o) Imf::TiledInputFile::readTiles(int, int, int, int, int, int)in libIlmImf.a(ImfTiledInputFile.o) Imf::ScanLineInputFile::readPixels(int, int)in libIlmImf.a(ImfScanLineInputFile.o) "Iex::BaseExc::BaseExc(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from: Imf::OutputFile::writePixels(int) in libIlmImf.a(ImfOutputFile.o) Imf::TiledInputFile::readTiles(int, int, int, int, int, int)in libIlmImf.a(ImfTiledInputFile.o) Imf::ScanLineInputFile::readPixels(int, int)in libIlmImf.a(ImfScanLineInputFile.o) "IlmThread::Semaphore::Semaphore(unsigned int)", referenced from: Imf::OutputFile::initialize(Imf::Header const&)in libIlmImf.a(ImfOutputFile.o) Imf::TiledInputFile::initialize() in libIlmImf.a(ImfTiledInputFile.o) Imf::ScanLineInputFile::ScanLineInputFile(Imf::Header const&, Imf::IStream*, int)in libIlmImf.a(ImfScanLineInputFile.o) "IlmThread::Semaphore::~Semaphore()", referenced from: Imf::(anonymous namespace)::LineBuffer::~LineBuffer()in libIlmImf.a(ImfOutputFile.o) Imf::(anonymous namespace)::TileBuffer::~TileBuffer()in libIlmImf.a(ImfTiledInputFile.o) Imf::(anonymous namespace)::LineBuffer::~LineBuffer()in libIlmImf.a(ImfScanLineInputFile.o) "typeinfo for IlmThread::Task", referenced from: typeinfo for Imf::(anonymous namespace)::LineBufferTaskin libIlmImf.a(ImfOutputFile.o) typeinfo for Imf::(anonymous namespace)::TileBufferTaskin libIlmImf.a(ImfTiledInputFile.o) typeinfo for Imf::(anonymous namespace)::LineBufferTaskin libIlmImf.a(ImfScanLineInputFile.o) "IlmThread::Mutex::Mutex()", referenced from: Imf::RgbaOutputFile::ToYca::ToYca(Imf::OutputFile&, Imf::RgbaChannels)in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaInputFile::FromYca::FromYca(Imf::InputFile&, Imf::RgbaChannels)in libIlmImf.a(ImfRgbaFile.o) Imf::OutputFile::Data::Data(bool, int)in libIlmImf.a(ImfOutputFile.o) Imf::InputFile::Data::Data(bool, int)in libIlmImf.a(ImfInputFile.o) Imf::TiledInputFile::Data::Data(bool, int)in libIlmImf.a(ImfTiledInputFile.o) Imf::ScanLineInputFile::Data::Data(Imf::IStream*, int)in libIlmImf.a(ImfScanLineInputFile.o) "IlmThread::Mutex::~Mutex()", referenced from: Imf::RgbaOutputFile::ToYca::ToYca(Imf::OutputFile&, Imf::RgbaChannels)in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaInputFile::FromYca::~FromYca()in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaInputFile::FromYca::~FromYca()in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaInputFile::FromYca::~FromYca()in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaOutputFile::ToYca::~ToYca()in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaOutputFile::ToYca::~ToYca()in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaOutputFile::ToYca::~ToYca()in libIlmImf.a(ImfRgbaFile.o) ... "IlmThread::Mutex::lock() const", referenced from: Imf::RgbaOutputFile::setYCRounding(unsigned int, unsigned int)in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaInputFile::setFrameBuffer(Imf::Rgba*, unsigned long, unsigned long)in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaInputFile::readPixels(int, int)in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaOutputFile::currentScanLine() const in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaOutputFile::setFrameBuffer(Imf::Rgba const*, unsigned long, unsigned long)in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaOutputFile::writePixels(int) in libIlmImf.a(ImfRgbaFile.o) Imf::staticInitialize() in libIlmImf.a(ImfHeader.o) ... "IlmThread::Mutex::unlock() const", referenced from: Imf::RgbaOutputFile::setYCRounding(unsigned int, unsigned int)in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaInputFile::setFrameBuffer(Imf::Rgba*, unsigned long, unsigned long)in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaInputFile::readPixels(int, int)in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaOutputFile::currentScanLine() const in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaOutputFile::setFrameBuffer(Imf::Rgba const*, unsigned long, unsigned long)in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaOutputFile::writePixels(int) in libIlmImf.a(ImfRgbaFile.o) Imf::staticInitialize() in libIlmImf.a(ImfHeader.o) ... "Iex::BaseExc::~BaseExc()", referenced from: Iex::ArgExc::~ArgExc()in libIlmImf.a(ImfRgbaFile.o) Iex::ArgExc::~ArgExc()in libIlmImf.a(ImfRgbaFile.o) Iex::TypeExc::~TypeExc()in libIlmImf.a(ImfHeader.o) Iex::TypeExc::~TypeExc()in libIlmImf.a(ImfHeader.o) Iex::InputExc::~InputExc()in libIlmImf.a(ImfHeader.o) Iex::InputExc::~InputExc()in libIlmImf.a(ImfHeader.o) Iex::ArgExc::~ArgExc()in libIlmImf.a(ImfHeader.o) ... "Iex::BaseExc::BaseExc(std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >&)", referenced from: Imf::RgbaInputFile::FromYca::readPixels(int) in libIlmImf.a(ImfRgbaFile.o) Imf::RgbaOutputFile::ToYca::writePixels(int) in libIlmImf.a(ImfRgbaFile.o) void Imf::(anonymous namespace)::checkIsNullTerminated<256ul>(char const (&) [256ul], char const*)in libIlmImf.a(ImfHeader.o) Imf::Header::operator[](char const*) constin libIlmImf.a(ImfHeader.o) Imf::Header::operator[](char const*)in libIlmImf.a(ImfHeader.o) Imf::Header::readFrom(Imf::IStream&, int&)in libIlmImf.a(ImfHeader.o) Imf::Header::insert(char const*, Imf::Attribute const&)in libIlmImf.a(ImfHeader.o) ... "Iex::BaseExc::what() const", referenced from: vtable for Iex::ArgExcin libIlmImf.a(ImfRgbaFile.o) vtable for Iex::TypeExcin libIlmImf.a(ImfHeader.o) vtable for Iex::InputExcin libIlmImf.a(ImfHeader.o) vtable for Iex::ArgExcin libIlmImf.a(ImfHeader.o) vtable for Iex::ArgExcin libIlmImf.a(ImfAttribute.o) vtable for Iex::InputExcin libIlmImf.a(ImfChannelListAttribute.o) vtable for Iex::ArgExcin libIlmImf.a(ImfKeyCode.o) ... "typeinfo for Iex::BaseExc", referenced from: typeinfo for Iex::ArgExcin libIlmImf.a(ImfRgbaFile.o) typeinfo for Iex::TypeExcin libIlmImf.a(ImfHeader.o) typeinfo for Iex::InputExcin libIlmImf.a(ImfHeader.o) typeinfo for Iex::ArgExcin libIlmImf.a(ImfHeader.o) typeinfo for Iex::ArgExcin libIlmImf.a(ImfAttribute.o) typeinfo for Iex::InputExcin libIlmImf.a(ImfChannelListAttribute.o) typeinfo for Iex::ArgExcin libIlmImf.a(ImfKeyCode.o) ... "typeinfo for IlmThread::Mutex", referenced from: typeinfo for Imf::RgbaInputFile::FromYcain libIlmImf.a(ImfRgbaFile.o) typeinfo for Imf::RgbaOutputFile::ToYcain libIlmImf.a(ImfRgbaFile.o) typeinfo for Imf::OutputFile::Datain libIlmImf.a(ImfOutputFile.o) typeinfo for Imf::InputFile::Datain libIlmImf.a(ImfInputFile.o) typeinfo for Imf::TiledInputFile::Datain libIlmImf.a(ImfTiledInputFile.o) typeinfo for Imf::ScanLineInputFile::Datain libIlmImf.a(ImfScanLineInputFile.o) "IlmThread::ThreadPool::globalThreadPool()", referenced from: Imf::globalThreadCount() in libIlmImf.a(ImfThreading.o) Imf::setGlobalThreadCount(int) in libIlmImf.a(ImfThreading.o) "IlmThread::ThreadPool::numThreads() const", referenced from: Imf::globalThreadCount() in libIlmImf.a(ImfThreading.o) "IlmThread::ThreadPool::setNumThreads(int)", referenced from: Imf::setGlobalThreadCount(int) in libIlmImf.a(ImfThreading.o) "_uncompress", referenced from: Imf::ZipCompressor::uncompress(char const*, int, int, char const*&)in libIlmImf.a(ImfZipCompressor.o) Imf::Pxr24Compressor::uncompress(char const*, int, Imath::Box<Imath::Vec2<int> >, char const*&)in libIlmImf.a(ImfPxr24Compressor.o) "_compress", referenced from: Imf::ZipCompressor::compress(char const*, int, int, char const*&)in libIlmImf.a(ImfZipCompressor.o) Imf::Pxr24Compressor::compress(char const*, int, Imath::Box<Imath::Vec2<int> >, char const*&)in libIlmImf.a(ImfPxr24Compressor.o) "Iex::BaseExc::BaseExc(char const*)", referenced from: Imf::ZipCompressor::compress(char const*, int, int, char const*&)in libIlmImf.a(ImfZipCompressor.o) Imf::Pxr24Compressor::compress(char const*, int, Imath::Box<Imath::Vec2<int> >, char const*&)in libIlmImf.a(ImfPxr24Compressor.o) "Iex::BaseExc::~BaseExc()", referenced from: Imf::ZipCompressor::compress(char const*, int, int, char const*&)in libIlmImf.a(ImfZipCompressor.o) Imf::Pxr24Compressor::compress(char const*, int, Imath::Box<Imath::Vec2<int> >, char const*&)in libIlmImf.a(ImfPxr24Compressor.o) "Iex::throwErrnoExc(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from: Imf::StdIFStream::StdIFStream(char const*)in libIlmImf.a(ImfStdIO.o) Imf::(anonymous namespace)::checkError(std::basic_ostream<char, std::char_traits<char> >&)in libIlmImf.a(ImfStdIO.o) Imf::StdOFStream::StdOFStream(char const*)in libIlmImf.a(ImfStdIO.o) Imf::(anonymous namespace)::checkError(std::basic_istream<char, std::char_traits<char> >&, long)in libIlmImf.a(ImfStdIO.o) Imf::(anonymous namespace)::writeLineOffsets(Imf::OStream&, std::vector<unsigned long, std::allocator<unsigned long> > const&)in libIlmImf.a(ImfOutputFile.o) Imf::TileOffsets::writeTo(Imf::OStream&) constin libIlmImf.a(ImfTileOffsets.o) "half::_toFloat", referenced from: Imf::RgbaYca::YCAtoRGBA(Imath::Vec3<float> const&, int, Imf::Rgba const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::reconstructChromaVert(int, Imf::Rgba const* const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::reconstructChromaHoriz(int, Imf::Rgba const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::decimateChromaVert(int, Imf::Rgba const* const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::decimateChromaHoriz(int, Imf::Rgba const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::RGBAtoYCA(Imath::Vec3<float> const&, int, bool, Imf::Rgba const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::fixSaturation(Imath::Vec3<float> const&, int, Imf::Rgba const* const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) ... "half::_eLut", referenced from: Imf::RgbaYca::YCAtoRGBA(Imath::Vec3<float> const&, int, Imf::Rgba const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::reconstructChromaVert(int, Imf::Rgba const* const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::reconstructChromaHoriz(int, Imf::Rgba const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::decimateChromaVert(int, Imf::Rgba const* const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::decimateChromaHoriz(int, Imf::Rgba const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::RGBAtoYCA(Imath::Vec3<float> const&, int, bool, Imf::Rgba const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::fixSaturation(Imath::Vec3<float> const&, int, Imf::Rgba const* const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) ... "half::convert(int)", referenced from: Imf::RgbaYca::YCAtoRGBA(Imath::Vec3<float> const&, int, Imf::Rgba const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::reconstructChromaVert(int, Imf::Rgba const* const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::reconstructChromaHoriz(int, Imf::Rgba const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::decimateChromaVert(int, Imf::Rgba const* const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::decimateChromaHoriz(int, Imf::Rgba const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::RGBAtoYCA(Imath::Vec3<float> const&, int, bool, Imf::Rgba const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) Imf::RgbaYca::fixSaturation(Imath::Vec3<float> const&, int, Imf::Rgba const* const*, Imf::Rgba*)in libIlmImf.a(ImfRgbaYca.o) ... ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[2]: *** [exrGetAttribute] Error 1 make[1]: *** [CMakeFiles/exrGetAttribute.dir/all] Error 2 make: *** [all] Error 2
On 23 August 2011 01:43, Piotr Stanczyk <pstanc...@ilm.com> wrote: > hmm .. don't have a lion machine to test this on locally. Anyone else? > > Could you post the log? > > ________________________________________ > From: openexr-devel-bounces+pstanczyk=ilm....@nongnu.org > [openexr-devel-bounces+pstanczyk=ilm....@nongnu.org] on behalf of Nicholas > Yue [yue.nicho...@gmail.com] > Sent: 19 August 2011 22:36 > To: openexr-devel@nongnu.org > Subject: [Openexr-devel] OpenEXR 1.7.0 build on OS X Lion > > Hi, > > I am facing some linkage issue with the OpenEXR library I build on > OS X Lion. > > GCC keeps complaining that the architecture x86_64 contains no symbols. > > I have tried building plain and fat binaries but still unable to > resolve the problem. > > Any ideas ? > > Regards > > > _______________________________________________ > Openexr-devel mailing list > Openexr-devel@nongnu.org > https://lists.nongnu.org/mailman/listinfo/openexr-devel > -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://www.visualinfoinsight.com _______________________________________________ Openexr-devel mailing list Openexr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/openexr-devel