Open shersoni610 opened 1 year ago
same error here, please help "ld: error: undefined symbol: OrtGetApiBase referenced by onnxruntime_cxx_api.h:114"
same error plz help!!!
同样遇到这个问题了,mac 系统说的应该是macOS-X86_64,不是macOS-arm64。暂时无法解决。只能看看源码怎么写的了
U r linking to a x86 architecture library, just change it to an arm64 architecture library, it will be ok
This issue is stale because it has been open for 30 days with no activity.
Hello,
On Apple M1 Chip, I get the following error:
ld: warning: ignoring file /Users/Projects/CompVis/LiteAi/lite.ai.toolkit/lib/macos/libopencv_videoio.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture arm64: "_OrtGetApiBase", referenced from: _cxx_global_var_init.8 in agegooglenet.cpp.o cxx_global_var_init.19 in backgroundmattingv2.cpp.o _cxx_global_var_init.18 in backgroundmattingv2dyn.cpp.o cxx_global_var_init.8 in cava_combined_face.cpp.o _cxx_global_var_init.8 in cava_ghostarcface.cpp.o cxx_global_var_init.8 in center_loss_face.cpp.o ___cxx_global_var_init.8 in colorizer.cpp.o ...