Hi,

I am attempting to do an out of the box build of oiio but encountered the following linkage error

If everyone else have no problem with building on OS X Lion, I will dig further

  Errors I see are

Linking CXX shared library libOpenImageIO.dylib
Undefined symbols for architecture x86_64:
  "_jpeg_destroy_decompress", referenced from:
      OpenImageIO::v0_11::JpgInput::close()    in jpeginput.cpp.o
OpenImageIO::v0_11::JpgInput::open(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, OpenImageIO::v0_11::ImageSpec&)in jpeginput.cpp.o

    The makefile was constructed with

cmake \
    -DJPEG_INCLUDE_DIR=$JPEG_ROOT/include -DJPEG_LIBRARY=$JPEG_ROOT/lib \
    -DTIFF_INCLUDE_DIR=$TIFF_ROOT/include -DTIFF_LIBRARY=$TIFF_ROOT/lib \
-DFIELD3D_INCLUDES=$FIELD3D_ROOT/include -DFIELD3D_LIBRARY=$FIELD3D_ROOT/lib/libField3D.a \ -DGLEW_INCLUDES=$GLEW_ROOT/include -DGLEW_LIBRARIES=$GLEW_ROOT/lib/libGLEW.a \
    -DHDF5_DIR=$HDF5_ROOT \
    -DOPENEXR_HOME=$OPENEXR_ROOT -DILMBASE_HOME=$ILMBASE_ROOT \
    -DCMAKE_INSTALL_PREFIX=/opt/oiio/v0.11 \
    -DUSE_TBB=0 \
    -DUSE_QT=0 \
    -DUSE_JASPER=0 \
    ../src

Regards

_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to