You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed this steps to build of macOS. for ONNX Runtime and onnxruntime-genai on macOS. The build process completed successfully, and I integrated the generated .dylib files into my Xcode macOS project. However, when trying to use these libraries, I encounter the following undefined symbol errors during linking:
Request for Help
Could anyone provide guidance on resolving these undefined symbol issues? Do I need to enable specific flags while building, or is there a missing step in the integration process? Any insights would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
DeepBhupatkar
changed the title
Undefined Symbols in Xcode After Building Generative AI for macOS. to use it in xcode mac app
Undefined Symbols in Xcode After Building onnxruntime-genai for macOS. to use it in xcode mac app
Mar 7, 2025
I followed this steps to build of macOS. for ONNX Runtime and onnxruntime-genai on macOS. The build process completed successfully, and I integrated the generated .dylib files into my Xcode macOS project. However, when trying to use these libraries, I encounter the following undefined symbol errors during linking:
Undefined symbol: _OgaGeneratorParamsSetInputSequences
Undefined symbol: _OgaGenerator_ComputeLogits
Step i did ::
First : cloned and built onnxruntime-genai:
git clone https://github.com/microsoft/onnxruntime-genai
cd onnxruntime-genai
python3 build.py --parallel --build_dir ./build_macos
Request for Help
Could anyone provide guidance on resolving these undefined symbol issues? Do I need to enable specific flags while building, or is there a missing step in the integration process? Any insights would be greatly appreciated.
The text was updated successfully, but these errors were encountered: