HarmonyOS react-native-oh-tpl-react-native-fast-image-8.6.3-0.4.10.tgz编译失败
RNOH - react-native-oh-tpl-react-native-fast-image-8.6.3-0.4.10.tgz 编译失败,报错日志如下:
[50/170] Building CXX object svg/CMakeFiles/rnoh_svg.dir/EventEmitters.cpp.o
clang++: warning: -Wl,-z,relro,-z,now,-z,noexecstack: 'linker' input unused [-Wunused-command-line-argument]
clang++: warning: argument unused during compilation: '--gcc-toolchain=/Applications/DevEco-Studio.app/Contents/sdk/HarmonyOS-NEXT-DB2/openharmony/native/llvm' [-Wunused-command-line-argument]
clang++: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
clang++: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
[51/170] Linking CXX shared library /Users/xxx/Documents/PUYI/gf2/puyifund-oh/harmony/entry/build/default/intermediates/cmake/default/obj/arm64-v8a/librnoh_webview.so
[52/170] Building CXX object fast-image/CMakeFiles/rnoh_fast_image.dir/FastImageLoaderTurboModule.cpp.o
FAILED: fast-image/CMakeFiles/rnoh_fast_image.dir/FastImageLoaderTurboModule.cpp.o
/Applications/DevEco-Studio.app/Contents/sdk/HarmonyOS-NEXT-DB2/openharmony/native/llvm/bin/clang++ --target=aarch64-linux-ohos --gcc-toolchain=/Applications/DevEco-Studio.app/Contents/sdk/HarmonyOS-NEXT-DB2/openharmony/native/llvm --sysroot=/Applications/DevEco-Studio.app/Contents/sdk/HarmonyOS-NEXT-DB2/openharmony/native/sysroot -DBOOST_CONTEXT_EXPORT="" -DBOOST_CONTEXT_NO_LIB -DBOOST_CONTEXT_STATIC_LINK -DC_API_ARCH -DWITH_HITRACE_SYSTRACE -Drnoh_fast_image_EXPORTS -I/Applications/DevEco-Studio.app/Contents/sdk/HarmonyOS-NEXT-DB2/hms/native/sysroot/usr/include -I/Users/xxx/Documents/PUYI/gf2/puyifund-oh/harmony/entry/oh_modules/@react-native-oh-tpl/react-native-fast-image/src/main/cpp -I/Users/xxx/Documents/PUYI/gf2/puyifund-oh/harmony/entry/src/main/cpp/../../../oh_modules/@rnoh/react-native-openharmony/src/main/cpp ...
...
party/rn/ReactCommon/react/nativemodule/core -fstack-protector-strong -Wl,-z,relro,-z,now,-z,noexecstack -s -fPIE -pie -O0 -g -fno-limit-debug-info -fPIC -DFOLLY_NO_CONFIG=1 -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_HAVE_RECVMMSG=1 -DFOLLY_HAVE_PTHREAD=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation -faligned-new -DRAW_PROPS_ENABLED -std=c++17 -MD -MT fast-image/CMakeFiles/rnoh_fast_image.dir/FastImageLoaderTurboModule.cpp.o -MF fast-image/CMakeFiles/rnoh_fast_image.dir/FastImageLoaderTurboModule.cpp.o.d -o fast-image/CMakeFiles/rnoh_fast_image.dir/FastImageLoaderTurboModule.cpp.o -c '/Users/xxx/Documents/PUYI/gf2/puyifund-oh/harmony/entry/oh_modules/@react-native-oh-tpl/react-native-fast-image/src/main/cpp/FastImageLoaderTurboModule.cpp'
clang++: warning: -Wl,-z,relro,-z,now,-z,noexecstack: 'linker' input unused [-Wunused-command-line-argument]
clang++: warning: argument unused during compilation: '--gcc-toolchain=/Applications/DevEco-Studio.app/Contents/sdk/HarmonyOS-NEXT-DB2/openharmony/native/llvm' [-Wunused-command-line-argument]
clang++: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
clang++: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
/Users/xxx/Documents/PUYI/gf2/puyifund-oh/harmony/entry/oh_modules/@react-native-oh-tpl/react-native-fast-image/src/main/cpp/FastImageLoaderTurboModule.cpp:35:26: error: no member named 'arkTSMessageHub' in 'rnoh::ArkTSTurboModule::Context'
weakInstance.arkTSMessageHub, instance);
~~~~~~~~~~~~ ^
1 error generated.
...
In file included from /Users/xxx/Documents/PUYI/gf2/puyifund-oh/harmony/entry/src/main/cpp/../../../oh_modules/@rnoh/react-native-openharmony/src/main/cpp/RNOH/FallbackComponentInstance.h:3:
/Users/xxx/Documents/PUYI/gf2/puyifund-oh/harmony/entry/src/main/cpp/../../../oh_modules/@rnoh/react-native-openharmony/src/main/cpp/RNOH/CppComponentInstance.h:30:6: warning: braces around scalar initializer [-Wbraced-scalar-init]
{{0.0}, {0.0}, {0.0}, {0.0}},
^~~~~
/Users/xxx/Documents/PUYI/gf2/puyifund-oh/harmony/entry/src/main/cpp/../../../oh_modules/@rnoh/react-native-openharmony/src/main/cpp/RNOH/CppComponentInstance.h:30:13: warning: braces around scalar initializer [-Wbraced-scalar-init]
{{0.0}, {0.0}, {0.0}, {0.0}},
^~~~~
/Users/xxx/Documents/PUYI/gf2/puyifund-oh/harmony/entry/src/main/cpp/../../../oh_modules/@rnoh/react-native-openharmony/src/main/cpp/RNOH/CppComponentInstance.h:30:20: warning: braces around scalar initializer [-Wbraced-scalar-init]
{{0.0}, {0.0}, {0.0}, {0.0}},
^~~~~
/Users/xxx/Documents/PUYI/gf2/puyifund-oh/harmony/entry/src/main/cpp/../../../oh_modules/@rnoh/react-native-openharmony/src/main/cpp/RNOH/CppComponentInstance.h:30:27: warning: braces around scalar initializer [-Wbraced-scalar-init]
{{0.0}, {0.0}, {0.0}, {0.0}},
^~~~~
/Users/xxx/Documents/PUYI/gf2/puyifund-oh/harmony/entry/src/main/cpp/../../../oh_modules/@rnoh/react-native-openharmony/src/main/cpp/RNOH/CppComponentInstance.h:32:6: warning: braces around scalar initializer [-Wbraced-scalar-init]
{{0.0}, {0.0}, {0.0}, {0.0}},
^~~~~
/Users/xxx/Documents/PUYI/gf2/puyifund-oh/harmony/entry/src/main/cpp/../../../oh_modules/@rnoh/react-native-openharmony/src/main/cpp/RNOH/CppComponentInstance.h:32:13: warning: braces around scalar initializer [-Wbraced-scalar-init]
{{0.0}, {0.0}, {0.0}, {0.0}},
^~~~~
/Users/xxx/Documents/PUYI/gf2/puyifund-oh/harmony/entry/src/main/cpp/../../../oh_modules/@rnoh/react-native-openharmony/src/main/cpp/RNOH/CppComponentInstance.h:32:20: warning: braces around scalar initializer [-Wbraced-scalar-init]
{{0.0}, {0.0}, {0.0}, {0.0}},
^~~~~
/Users/xxx/Documents/PUYI/gf2/puyifund-oh/harmony/entry/src/main/cpp/../../../oh_modules/@rnoh/react-native-openharmony/src/main/cpp/RNOH/CppComponentInstance.h:32:27: warning: braces around scalar initializer [-Wbraced-scalar-init]
{{0.0}, {0.0}, {0.0}, {0.0}},
^~~~~
9 warnings generated.
ninja: build stopped: subcommand failed.
> hvigor ERROR: BUILD FAILED in 19 s 447 ms
Process finished with exit code -1
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
- 16.
- 17.
- 18.
- 19.
- 20.
- 21.
- 22.
- 23.
- 24.
- 25.
- 26.
- 27.
- 28.
- 29.
- 30.
- 31.
- 32.
- 33.
- 34.
- 35.
- 36.
- 37.
- 38.
- 39.
- 40.
- 41.
- 42.
- 43.
- 44.
- 45.
- 46.
- 47.
- 48.
- 49.
- 50.
- 51.
- 52.
- 53.
- 54.
HarmonyOS
赞
收藏 0
回答 1
相关问题
HarmonyOS 关于react-native-fast-image-8.6.3-0.4.10版本集成报错问题
371浏览 • 1回复 待解决
HarmonyOS @react-native-oh-tpl/react-native-reanimated 引入编译出错
529浏览 • 1回复 待解决
HarmonyOS 集成@react-native-oh-tpl/react-native-spinkit报错
701浏览 • 1回复 待解决
HarmonyOS 无法安装@react-native-oh-tpl/react-native-reanimated
1013浏览 • 1回复 待解决
HarmonyOS 集成@react-native-oh-tpl/react-native-pdf后App Crash
671浏览 • 1回复 待解决
HarmonyOS @react-native-oh-tpl/react-native-view-shot增量包权限问题
545浏览 • 1回复 待解决
HarmonyOS 集成@react-native-oh-tpl/datetimepicker报错
620浏览 • 1回复 待解决
HarmonyOS react-native应用编译失败
499浏览 • 1回复 待解决
HarmonyOS react-native-image-colors调用getColors失败
553浏览 • 1回复 待解决
HarmonyOS rnoh-react-native-harmony-0.72.21.tgz如何获取
226浏览 • 1回复 待解决
HarmonyOS react-native-oh-library/react-navigation如何集成
607浏览 • 1回复 待解决
HarmonyOS 适配 React native
821浏览 • 1回复 待解决
HarmonyOS react-native项目引用native-stack插件失败
693浏览 • 1回复 待解决
HarmonyOS react-native-image-crop-picker使用问题
533浏览 • 1回复 待解决
HarmonyOS 使用react-native中的Image问题
389浏览 • 1回复 待解决
HarmonyOS react-native-pager-view安装失败
611浏览 • 1回复 待解决
HarmonyOS React Native三方库需要适配@react-native-community/art
625浏览 • 1回复 待解决
HarmonyOS 咨询React Native适配情况
660浏览 • 1回复 待解决
HarmonyOS react-native-image-crop-picker引入后,找不到
608浏览 • 1回复 待解决
HarmonyOS react-native-webview 加载网页失败,渲染白屏
331浏览 • 1回复 待解决
HarmonyOS react-native-webview 13.10.2-nc.0.0.1 编译报错
602浏览 • 1回复 待解决
HarmonyOS react-native-harmony-svg 13.14.0-0.3.12 编译报错
594浏览 • 1回复 待解决
HarmonyOS react-native-image-capinsets-next支持这个库吗
519浏览 • 1回复 待解决
当前react-native-fast-image-8.6.3-0.4.10.tgz版本对应rnoh依赖版本还未发布,请使用react-native-fast-imager2.10.4.9或0.4.8版本。