按照
https://github.com/Tencent/ncnn/wiki/how-to-build#build-for-ios-on-macos-with-xcode
步骤编译openmp
执行 cmake --build . -j 4 指令时 报如下错误
[ 6%] Generating kmp_i18n_id.inc
[ 6%] Generating kmp_i18n_default.inc
/bin/sh: /usr/local/bin/perl: No such file or directory
/bin/sh: /usr/local/bin/perl: No such file or directory
make[2]: *** [runtime/src/kmp_i18n_id.inc] Error 127
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [runtime/src/kmp_i18n_default.inc] Error 127
make[1]: *** [runtime/src/CMakeFiles/libomp-needed-headers.dir/all] Error 2
make: *** [all] Error 2
5条答案
按热度按时间6ovsh4lw1#
try install perl first
xxls0lw82#
您好,已收到
14ifxucb3#
当运行
sed -e 's/NAME/openmp/g' -e 's/IDENTIFIER/org.llvm.openmp/g' -e 's/VERSION/11.0/g' Info.plist > openmp.framework/Versions/A/Resources/Info.plist
报错:
sed: Info.plist: No such file or directory
9rygscc14#
I have the same issue. Can you help me?
I run on mac m1
xoshrz7s5#
I fixed it with a solution:
which perl: you can find the path of the perl
ls -n path_perl /usr/local/bin/perl