编译xts报错
想编译ohos4.0de release版本的xts,在test/xts/acts目录下编译指令如下./build.sh product_name=xxx system_size=standard,开始编译后,发现报错如下
ld.lld: error: undefined symbol: OH_NativeImage_Create
[OHOS ERROR] >>> referenced by NativeImageTest.cpp:191 (../../test/xts/acts/graphic/graphicnapitest/NativeImageTest.cpp:191)
[OHOS ERROR] >>> obj/test/xts/acts/graphic/graphicnapitest/module_ActsGraphicNapiTest/NativeImageTest.o:(OHOS::Rosen::NativeImageTest_OHNativeImageCreate001_Test::TestBody())
[OHOS ERROR]
[OHOS ERROR] ld.lld: error: undefined symbol: OH_NativeImage_AcquireNativeWindow
[OHOS ERROR] >>> referenced by NativeImageTest.cpp:202 (../../test/xts/acts/graphic/graphicnapitest/NativeImageTest.cpp:202)
[OHOS ERROR] >>> obj/test/xts/acts/graphic/graphicnapitest/module_ActsGraphicNapiTest/NativeImageTest.o:(OHOS::Rosen::NativeImageTest_OHNativeImageAcquireNativeWindow001_Test::TestBody())
[OHOS ERROR] >>> referenced by NativeImageTest.cpp:213 (../../test/xts/acts/graphic/graphicnapitest/NativeImageTest.cpp:213)
[OHOS ERROR] >>> obj/test/xts/acts/graphic/graphicnapitest/module_ActsGraphicNapiTest/NativeImageTest.o:(OHOS::Rosen::NativeImageT
[OHOS ERROR]
[OHOS ERROR] ld.lld: error: undefined symbol: OH_NativeImage_AttachContext
[OHOS ERROR] >>> referenced by NativeImageTest.cpp:224 (../../test/xts/acts/graphic/graphicnapitest/NativeImageTest.cpp:224)
[OHOS ERROR] >>> obj/test/xts/acts/graphic/graphicnapitest/module_ActsGraphicNapiTest/NativeImageTest.o:(OHOS::Rosen::NativeImageTest_OHNativeImageAttachContext001_Test::TestBody())
[OHOS ERROR] >>> referenced by NativeImageTest.cpp:269 (../../test/xts/acts/graphic/graphicnapitest/NativeImageTest.cpp:269)
[OHOS ERROR] >>> obj/test/xts/acts/graphic/graphicnapitest/module_ActsGraphicNapiTest/NativeImageTest.o:(OHOS::Rosen::NativeImageTest_OHNativeImageAttachContext002_Test::TestBody())
[OHOS ERROR] >>> referenced by NativeImageTest.cpp:401 (../../test/xts/acts/graphic/graphicnapitest/NativeImageTest.cpp:401)
[OHOS ERROR] >>> obj/test/xts/acts/graphic/graphicnapitest/module_ActsGraphicNapiTest/NativeImageTest.o:(OHOS::Rosen::NativeImageTest_OHNativeImageAttachContext003_Test::TestBody())
[OHOS ERROR] >>> referenced 1 more times
[OHOS ERROR]
[OHOS ERROR] ld.lld: error: undefined symbol: OH_NativeImage_DetachContext
[OHOS ERROR] >>> referenced by NativeImageTest.cpp:235 (../../test/xts/acts/graphic/graphicnapitest/NativeImageTest.cpp:235)
[OHOS ERROR] >>> obj/test/xts/acts/graphic/graphicnapitest/module_ActsGraphicNapiTest/NativeImageTest.o:(OHOS::Rosen::NativeImageTest_OHNativeImageDetachContext001_Test::TestBody())
[OHOS ERROR] >>> referenced by NativeImageTest.cpp:246 (../../test/xts/acts/graphic/graphicnapitest/NativeImageTest.cpp:246)
[OHOS ERROR] >>> obj/test/xts/acts/graphic/graphicnapitest/module_ActsGraphicNapiTest/NativeImageTest.o:(OHOS::Rosen::NativeImageTest_OHNativeImageDetachContext002_Test::TestBody())
[OHOS ERROR] >>> referenced by NativeImageTest.cpp:258 (../../test/xts/acts/graphic/graphicnapitest/NativeImageTest.cpp:258)
[OHOS ERROR] >>> obj/test/xts/acts/graphic/graphicnapitest/module_ActsGraphicNapiTest/NativeImageTest.o:(OHOS::Rosen::NativeImageTest_OHNativeImageDetachContext003_Test::TestBody())
[OHOS ERROR] >>> referenced 1 more times
[OHOS ERROR]
[OHOS ERROR] ld.lld: error: undefined symbol: OH_NativeImage_UpdateSurfaceImage
[OHOS ERROR] >>> referenced by NativeImageTest.cpp:280 (../../test/xts/acts/graphic/graphicnapitest/NativeImageTest.cpp:280)
[OHOS ERROR] >>> obj/test/xts/acts/graphic/graphicnapitest/module_ActsGraphicNapiTest/NativeImageTest.o:(OHOS::Rosen::NativeImageTest_OHNativeImageUpdateSurfaceImage001_Test::TestBody())
[OHOS ERROR] >>> referenced by NativeImageTest.cpp:291 (../../test/xts/acts/graphic/graphicnapitest/NativeImageTest.cpp:291)
[OHOS ERROR] >>> obj/test/xts/acts/graphic/graphicnapitest/module_ActsGraphicNapiTest/NativeImageTest.o:(OHOS::Rosen::NativeImageTest_OHNativeImageUpdateSurfaceImage002_Test::TestBody())
[OHOS ERROR] >>> referenced by NativeImageTest.cpp:344 (../../test/xts/acts/graphic/graphicnapitest/NativeImageTest.cpp:344)
[OHOS ERROR] >>> obj/test/xts/acts/graphic/graphicnapitest/module_ActsGraphicNapiTest/NativeImageTest.o:(OHOS::Rosen::NativeImageTest_OHNativeImageUpdateSurfaceImage003_Test::TestBody())
[OHOS ERROR] >>> referenced 2 more times
[OHOS ERROR]
请问这是什么问题呢
更多推荐
所有评论(0)