-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build-ios-shared.sh报错,如何解决 #1512
Comments
请贴所有的log。 |
Building for simulator (x86_64) -- C++ Standard version: 17 -- kaldi-native-fbank is downloaded to /Users/valo/Documents/Codes/sherpa-onnx/build-ios-shared/build/simulator_x86_64/_deps/kaldi_native_fbank-src Update the VERSION argument value or use a ... suffix to tell -- CMAKE_BUILD_TYPE: Release -- kaldi-decoder is downloaded to /Users/valo/Documents/Codes/sherpa-onnx/build-ios-shared/build/simulator_x86_64/_deps/kaldi_decoder-src -- kaldifst is downloaded to /Users/valo/Documents/Codes/sherpa-onnx/build-ios-shared/build/simulator_x86_64/_deps/kaldifst-src -- openfst is downloaded to /Users/valo/Documents/Codes/sherpa-onnx/build-ios-shared/build/simulator_x86_64/_deps/openfst-src Update the VERSION argument value or use a ... suffix to tell -- PYTHON_SITE_PACKAGE_DIR: -- eigen is downloaded to /Users/valo/Documents/Codes/sherpa-onnx/build-ios-shared/build/simulator_x86_64/_deps/eigen-src
|
上面是所有log,具体原因是 |
-S .. -D CMAKE_VERBOSE_MAKEFILE=ON \
|
log.txt
|
mac下运行
sh build-ios-shared.sh
编译报错:[100%] Linking CXX shared library ../../lib/libsherpa-onnx-c-api.dylib ld: warning: duplicate -rpath '@loader_path' ignored ld: warning: ignoring duplicate libraries: '-lm' ld: library 'onnxruntime' not found clang++: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [sherpa-onnx/c-api/CMakeFiles/sherpa-onnx-c-api.dir/build.make:107: lib/libsherpa-onnx-c-api.dylib] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:1311: sherpa-onnx/c-api/CMakeFiles/sherpa-onnx-c-api.dir/all] Error 2 gmake: *** [Makefile:156: all] Error 2
The text was updated successfully, but these errors were encountered: