andrewhwood / alembic

Automatically exported from code.google.com/p/alembic
Other
0 stars 0 forks source link

compilation of alembic 1.0.5 fails on macosx 10.6 #278

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I initially had the same errors as Simon (Issue 8, November 4.2010) I've fixed 
the same way but I still have this error:

[ 21%] Building CXX object 
lib/Alembic/AbcCoreHDF5/CMakeFiles/AlembicAbcCoreHDF5.dir/AprImpl.cpp.o
cd /Network/Servers/.../alembic_build/lib/Alembic/AbcCoreHDF5 && /usr/bin/c++   
-DNDEBUG=1 -DPLATFORM_DARWIN -DPLATFORM=DARWIN -O3 -DNDEBUG -fpermissive 
-I/opt/local/include -I/opt/local/include/OpenEXR 
-I/Network/Servers/.../alembic-1.0.5/lib    -UDEBUG -O3 -fPIC -o 
CMakeFiles/AlembicAbcCoreHDF5.dir/AprImpl.cpp.o -c 
/Network/Servers/.../alembic-1.0.5/lib/Alembic/AbcCoreHDF5/AprImpl.cpp
In file included from 
/Network/Servers/.../alembic-1.0.5/lib/Alembic/AbcCoreHDF5/AprImpl.h:41,
                 from /Network/Servers/.../alembic-1.0.5/lib/Alembic/AbcCoreHDF5/AprImpl.cpp:37:
/Network/Servers/.../alembic-1.0.5/lib/Alembic/AbcCoreHDF5/SimplePrImpl.h: In 
member function 'virtual void Alembic::AbcCoreHDF5::v2::SimplePrImpl<ABSTRACT, 
IMPL, SAMPLE>::getSample(Alembic::AbcCoreAbstract::v2::index_t, SAMPLE)':
/Network/Servers/.../alembic-1.0.5/lib/Alembic/AbcCoreHDF5/SimplePrImpl.h:327: 
warning: there are no arguments to 'H5Aexists' that depend on a template 
parameter, so a declaration of 'H5Aexists' must be available
/Network/Servers/.../alembic-1.0.5/lib/Alembic/AbcCoreHDF5/SimplePrImpl.h:356: 
warning: there are no arguments to 'H5Gopen2' that depend on a template 
parameter, so a declaration of 'H5Gopen2' must be available
/Network/Servers/.../alembic-1.0.5/lib/Alembic/AbcCoreHDF5/SimplePrImpl.h: In 
member function 'virtual bool Alembic::AbcCoreHDF5::v2::SimplePrImpl<ABSTRACT, 
IMPL, SAMPLE>::getKey(Alembic::AbcCoreAbstract::v2::index_t, 
Alembic::AbcCoreAbstract::v2::ArraySampleKey&)':
/Network/Servers/.../Users/eva/Downloads/ALEMBIC/alembic-1.0.5/lib/Alembic/AbcCo
reHDF5/SimplePrImpl.h:390: warning: there are no arguments to 'H5Aexists' that 
depend on a template parameter, so a declaration of 'H5Aexists' must be 
available
/Network/Servers/.../alembic-1.0.5/lib/Alembic/AbcCoreHDF5/SimplePrImpl.h:418: 
warning: there are no arguments to 'H5Gopen2' that depend on a template 
parameter, so a declaration of 'H5Gopen2' must be available
/Network/Servers/.../alembic-1.0.5/lib/Alembic/AbcCoreHDF5/AprImpl.cpp: In 
member function 'virtual void 
Alembic::AbcCoreHDF5::v2::AprImpl::getDimensions(Alembic::AbcCoreAbstract::v2::i
ndex_t, Alembic::Util::v2::Dimensions&)':

I'm not familiar with HDF5 and I can not to fix this easily on my own...(even 
by using -fpermissive)

Original issue reported on code.google.com by raggini....@gmail.com on 29 Mar 2012 at 2:28

GoogleCodeExporter commented 9 years ago
Do you have the older macports version install under /opt/local?

Original comment by miller.lucas on 29 Mar 2012 at 5:54

GoogleCodeExporter commented 9 years ago
hi, thanks for answering me

No, I have only used the recent macports, installed on the same day.
I use a new version of the hdf5 lib, installed in opt / local / include.

Original comment by raggini....@gmail.com on 30 Mar 2012 at 10:15

GoogleCodeExporter commented 9 years ago
Did you ever get this working?  You might want to try installing a newer 
version of HDF5, I believe they may have improved their build process.

Original comment by miller.lucas on 16 Jun 2012 at 12:58

GoogleCodeExporter commented 9 years ago

Original comment by miller.lucas on 26 Jun 2012 at 9:24