Closed GoogleCodeExporter closed 9 years ago
I've actually fixed it now, seems I needed to add both the .a files and
-llAlembicAbc etc not sure why this is the case under linux and not Mac OSX but
I presume it's something to do with g++ / qmake. The solution in the qt project
file is as follows incase anyone else has these issues
ALEMBIC_DIR=/usr/local/alembic-1.0.3/
linux-g++-64:HDF5_DIR=/usr/local/hdf5-1.8.5-patch1/
INCLUDEPATH+=/usr/include/OpenEXR
INCLUDEPATH+=/usr/local/include/OpenEXR
INCLUDEPATH+=$$ALEMBIC_DIR/include
LIBS+= -L$$ALEMBIC_DIR/lib/static/
LIBS+=-L$$HDF5_DIR/lib/
LIBS+= -lAlembicAbc
LIBS+=-lAlembicAbcGeom
LIBS+=-lAlembicAbcCoreAbstract
LIBS+=-lAlembicUtil
LIBS+=-lAlembicAbcCoreHDF5
LIBS+= -lhdf5
LIBS+=-lhdf5_hl
LIBS+=-lImath
LIBS+=-lHalf
LIBS+=-lIex
# not sure why but need this for the linux builds
linux-g++-64:LIBS+=$$ALEMBIC_DIR/lib/static/libAlembicAbcCoreHDF5.a
linux-g++-64:LIBS+=$$ALEMBIC_DIR/lib/static/libAlembicAbcCoreAbstract.a
linux-g++-64:LIBS+=$$ALEMBIC_DIR/lib/static/libAlembicUtil.a
linux-g++-64:LIBS+=$$HDF5_DIR/lib/libhdf5.a
linux-g++-64:LIBS+=$$HDF5_DIR/lib/libhdf5_hl.a
Original comment by jpmace...@gmail.com
on 22 Dec 2011 at 12:35
Original comment by miller.lucas
on 25 Jun 2012 at 6:34
Original issue reported on code.google.com by
jpmace...@gmail.com
on 20 Dec 2011 at 9:15Attachments: