ResInsight fail to compile on M1 Mac: Error linking OpenVDS library and others #11318
Unanswered
alex-codeMeOn
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Probably, I need to build openVDS separately for MacOS to inject libopenvds.dylib. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Any clue on how to solve the linking problem with boost installed by vcpkg on M1 Mac will be appreciated. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ResInsight encounters an error during compilation on macOS-arm64 architecture while attempting to link the OpenVDS library. The error message mentions undefined symbols and suggests a problem with linking the library. I am compiling using gcc 13 and Qt5. Any suggestions or workarounds to resolve this issue would be greatly appreciated.
ld: warning: ignoring file ../_deps/openvds-src/lib64/libopenvds.so, building for macOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 )
Undefined symbols for architecture arm64:
"__ZN5boost10filesystem6detail11path_traits7convertEPKwS4_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKSt7codecvtIwc11__mbstate_tE", referenced from:
__ZN24RigOpmFlowDiagStaticDataC1EPK15ecl_grid_structRKNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEEN10RiaDefines17EclipseUnitSystemE in RigFlowDiagSolverInterface.cpp.o
_ZN26RigFlowDiagSolverInterface9calculateEmN24RigFlowDiagResultAddress14PhaseSelectionESt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIiSaIiEESt4lessIS8_ESaISt4pairIKS8_SB_EEESI in RigFlowDiagSolverInterface.cpp.o
"__ZN7OpenVDS19GetOpenVDSInterfaceEPKc", referenced from:
__ZN16RifOpenVDSReader5closeEv in RifOpenVDSReader.cpp.o
__ZN16RifOpenVDSReader8metaDataEv in RifOpenVDSReader.cpp.o
__ZN16RifOpenVDSReader5sliceEN10RiaDefines21SeismicSliceDirectionEiii in RifOpenVDSReader.cpp.o
__ZN16RifOpenVDSReader5traceEiiii in RifOpenVDSReader.cpp.o
__ZN16RifOpenVDSReader4openE7QString in RifOpenVDSReader.cpp.o
_ZN16RifOpenVDSReader13histogramDataERSt6vectorIdSaIdEES3 in RifOpenVDSReader.cpp.o
ld: symbol(s) not found for architecture arm64
collect2: error: ld returned 1 exit status
Beta Was this translation helpful? Give feedback.
All reactions