isce3
isce3 copied to clipboard
Can't compile isce3
I can't compile ISCE3 using my ARM mac. Below are the details of the compiling error.
[ 34%] Linking CXX shared library libisce3.dylib
-macosx_version_min has been renamed to -macos_version_min
Undefined symbols for architecture arm64:
"__ZN11GDALDataset14AddFieldDomainEOSt10unique_ptrI14OGRFieldDomainSt14default_deleteIS1_EERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", referenced from:
__ZTVN5isce32io10IH5DatasetE in IH5Dataset.cpp.o
"__ZN11GDALDataset15AddRelationshipEOSt10unique_ptrI16GDALRelationshipSt14default_deleteIS1_EERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", referenced from:
__ZTVN5isce32io10IH5DatasetE in IH5Dataset.cpp.o
"__ZN11GDALDataset17DeleteFieldDomainERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS5_", referenced from:
__ZTVN5isce32io10IH5DatasetE in IH5Dataset.cpp.o
"__ZN11GDALDataset17UpdateFieldDomainEOSt10unique_ptrI14OGRFieldDomainSt14default_deleteIS1_EERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", referenced from:
__ZTVN5isce32io10IH5DatasetE in IH5Dataset.cpp.o
"__ZN11GDALDataset18DeleteRelationshipERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS5_", referenced from:
__ZTVN5isce32io10IH5DatasetE in IH5Dataset.cpp.o
"__ZN11GDALDataset18UpdateRelationshipEOSt10unique_ptrI16GDALRelationshipSt14default_deleteIS1_EERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", referenced from:
__ZTVN5isce32io10IH5DatasetE in IH5Dataset.cpp.o
"__ZN2H56H5FileC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjRKNS_17FileCreatPropListERKNS_15FileAccPropListE", referenced from:
__ZN5isce32io7IH5FileC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEc in IH5.cpp.o
__ZN5isce32io7IH5FileC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEc in IH5.cpp.o
"__ZN2H58H5Object12iterateAttrsEPFvRS0_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPvEPjS8_", referenced from:
__ZN5isce32io8IDataSet8getAttrsB5cxx11Ev in IH5.cpp.o
__ZN5isce32io6IGroup8getAttrsB5cxx11Ev in IH5.cpp.o
"__ZNK11GDALDataset14GetFieldDomainERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", referenced from:
__ZTVN5isce32io10IH5DatasetE in IH5Dataset.cpp.o
"__ZNK11GDALDataset15GetRelationshipERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", referenced from:
__ZTVN5isce32io10IH5DatasetE in IH5Dataset.cpp.o
"__ZNK11GDALDataset19GetFieldDomainNamesB5cxx11EPKPKc", referenced from:
__ZTVN5isce32io10IH5DatasetE in IH5Dataset.cpp.o
"__ZNK11GDALDataset20GetRelationshipNamesB5cxx11EPKPKc", referenced from:
__ZTVN5isce32io10IH5DatasetE in IH5Dataset.cpp.o
"__ZNK2H510H5Location11getFileNameB5cxx11Ev", referenced from:
__ZN5isce37product24setImageMetadataGroupStrERNS_2io7IH5FileERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS1_6IGroupERSt6vectorIS9_SaIS9_EESA_SA_ in RadarGridProduct.cpp.o
__ZN5isce37product16RadarGridProductC1ERNS_2io7IH5FileE in RadarGridProduct.cpp.o
__ZN5isce37product14GeoGridProductC1ERNS_2io7IH5FileE in GeoGridProduct.cpp.o
"__ZNK2H510H5Location11openDataSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_15DSetAccPropListE", referenced from:
__ZN5isce32io6IGroup11openDataSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE in IH5.cpp.o
__ZN5isce32io7IH5File11openDataSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE in IH5.cpp.o
"__ZNK2H510H5Location13createDataSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_8DataTypeERKNS_9DataSpaceERKNS_17DSetCreatPropListERKNS_15DSetAccPropListERKNS_17LinkCreatPropListE", referenced from:
__ZN5isce32io6IGroup13createDataSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_ in IH5.cpp.o
"__ZNK2H510H5Location14throwExceptionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_", referenced from:
__ZTVN5isce32io8IDataSetE in IH5.cpp.o
__ZTVN5isce32io8IDataSetE in IH5Dataset.cpp.o
__ZTVN5isce32io8IDataSetE in RadarGridProduct.cpp.o
__ZTVN5isce32io8IDataSetE in GeoGridProduct.cpp.o
"__ZNK2H510H5Location9openGroupERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", referenced from:
__ZN5isce32io6IGroup9openGroupERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE in IH5.cpp.o
__ZN5isce32io7IH5File9openGroupERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE in IH5.cpp.o
"__ZNK2H55Group14throwExceptionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_", referenced from:
__ZTVN5isce32io6IGroupE in IH5.cpp.o
__ZTVN5isce32io6IGroupE in RadarGridProduct.cpp.o
__ZTVN5isce32io6IGroupE in GeoGridProduct.cpp.o
"__ZNK2H56H5File14throwExceptionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_", referenced from:
__ZTVN5isce32io7IH5FileE in IH5.cpp.o
"__ZNK2H57DataSet4readERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_8DataTypeERKNS_9DataSpaceESD_RKNS_19DSetMemXferPropListE", referenced from:
__ZN5isce32io8IDataSet4readERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKS7_ in IH5.cpp.o
"__ZNK2H57DataSet5writeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_8DataTypeERKNS_9DataSpaceESE_RKNS_19DSetMemXferPropListE", referenced from:
__ZN5isce32io6IGroup13createDataSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_ in IH5.cpp.o
"__ZNK2H58H5Object10attrExistsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", referenced from:
__ZN5isce32io8IDataSet12getDataSpaceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE in IH5.cpp.o
__ZN5isce32io8IDataSet15getTypeClassStrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE in IH5.cpp.o
__ZN5isce32io6IGroup12getDataSpaceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE in IH5.cpp.o
__ZN5isce32io6IGroup14getNumElementsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE in IH5.cpp.o
__ZN5isce32io8IDataSet10getNumBitsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE in IH5.cpp.o
__ZN5isce32io8IDataSet4readERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKS7_ in IH5.cpp.o
__ZN5isce32io6IGroup4readERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKS7_ in IH5.cpp.o
...
"__ZNK2H58H5Object13openAttributeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", referenced from:
__ZN5isce32io8IDataSet12getDataSpaceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE in IH5.cpp.o
__ZN5isce32io8IDataSet15getTypeClassStrERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE in IH5.cpp.o
__ZN5isce32io6IGroup12getDataSpaceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE in IH5.cpp.o
__ZN5isce32io8IDataSet10getNumBitsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE in IH5.cpp.o
__ZN5isce32io8IDataSet4readERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKS7_ in IH5.cpp.o
__ZN5isce32io6IGroup4readERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKS7_ in IH5.cpp.o
__ZN5isce32io8IDataSet4readIiEEvRT_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE in RadarGridProduct.cpp.o
...
"__ZNK2H59Attribute4readERKNS_8DataTypeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", referenced from:
__ZN5isce32io8IDataSet4readERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKS7_ in IH5.cpp.o
__ZN5isce32io6IGroup4readERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKS7_ in IH5.cpp.o
"__ZThn8_NK2H55Group14throwExceptionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_", referenced from:
__ZTVN5isce32io6IGroupE in IH5.cpp.o
__ZTVN5isce32io6IGroupE in RadarGridProduct.cpp.o
__ZTVN5isce32io6IGroupE in GeoGridProduct.cpp.o
"__ZThn8_NK2H56H5File14throwExceptionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_", referenced from:
__ZTVN5isce32io7IH5FileE in IH5.cpp.o
ld: symbol(s) not found for architecture arm64
collect2: error: ld returned 1 exit status
make[2]: *** [cxx/isce3/libisce3.0.19.0.dylib] Error 1
make[1]: *** [cxx/isce3/CMakeFiles/isce3.dir/all] Error 2
make: *** [all] Error 2
Perhaps this is an ABI mismatch. Are you using the same C++ compiler to build isce3 that you used to build HDF5 and GDAL?