[MOAB-dev] compile error
Iulian Grindeanu
iulian at mcs.anl.gov
Fri Apr 1 00:09:20 CDT 2011
it works fine on moab with cgm/occ, mpi, on 64 bit
Maybe it is something on my build :(
----- Original Message -----
> Hello,
> I am wondering if anyone got this compile error:
> ...
> CXX WriteSLAC.lo
> CXX ReadNC.lo
> CXX ReadHDF5.lo
> ReadHDF5.cpp: In function ‘herr_t moab::handle_hdf5_error(void*)’:
> ReadHDF5.cpp:124: error: ‘dbgOut’ was not declared in this scope
> ReadHDF5.cpp: In member function ‘moab::ErrorCode
> moab::ReadHDF5::load_file_partial(const moab::ReaderIface::IDTag*,
> int, int, int, const moab::FileOptions&)’:
> ReadHDF5.cpp:923: warning: format ‘%lu’ expects type ‘long unsigned
> int’, but argument 4 has type ‘moab::EntityHandle’
> ReadHDF5.cpp:923: warning: format ‘%lu’ expects type ‘long unsigned
> int’, but argument 5 has type ‘size_t’
> ReadHDF5.cpp: In member function ‘moab::ErrorCode
> moab::ReadHDF5::read_elems(const mhdf_ElemDesc&, const moab::Range&,
> moab::Range*)’:
> ReadHDF5.cpp:1425: warning: format ‘%lu’ expects type ‘long unsigned
> int’, but argument 5 has type ‘moab::EntityHandle’
> ReadHDF5.cpp:1425: warning: format ‘%lu’ expects type ‘long unsigned
> int’, but argument 6 has type ‘size_t’
> ReadHDF5.cpp: In member function ‘moab::ErrorCode
> moab::ReadHDF5::read_elems(int, const moab::Range&, moab::Range&)’:
> ReadHDF5.cpp:1648: warning: format ‘%lu’ expects type ‘long unsigned
> int’, but argument 5 has type ‘moab::EntityHandle’
> ReadHDF5.cpp:1648: warning: format ‘%lu’ expects type ‘long unsigned
> int’, but argument 6 has type ‘size_t’
> make[5]: *** [ReadHDF5.lo] Error 1
> make[5]: Leaving directory `/home/iulian/source/MOAB/src/io'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/home/iulian/source/MOAB/src/io'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/iulian/source/MOAB/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/iulian/source/MOAB/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/iulian/source/MOAB'
> make: *** [all] Error 2
>
>
> This is configured with cgm+cubit 12, 32 bit version.
> Iulian
More information about the moab-dev
mailing list