HarmonyOSNext 打包怎么打包呢?DevEco的模拟器上能运行吗?

hvigor WARN: CMake Error in CMakeLists.txt:
Imported target “websockets” includes non-existent path

"D:/ProgramData/cocos/editors/Creator/Creator/3.8.8/resources/resources/3d/engine/native/external/cmake/../openharmony/x86_64/include/websockets"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and references files it does not
    provide.

hvigor WARN: CMake Generate step failed. Build files cannot be regenerated correctly.

hvigor ERROR: Failed :entry:default@BuildNativeWithCmake…
hvigor ERROR: Exceptions happened while executing D:\Program Files\Huawei\DevEco Studio\sdk\default\openharmony\native\build-tools\cmake\bin\cmake.exe -DOHOS_STL=c++_shared -DRES_DIR=F:/Users/zhuxiaokun/NewProject_3/build/harmonyos-next -DCOMMON_DIR=F:/Users/zhuxiaokun/NewProject_3/native/engine/common -DOPENHARMONY=1 -HF:\Users\zhuxiaokun\NewProject_3\native\engine\harmonyos-next -BF:\Users\zhuxiaokun\NewProject_3\native\engine\harmonyos-next\entry.cxx\default\default\debug\x86_64 -DOHOS_ARCH=x86_64 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=F:\Users\zhuxiaokun\NewProject_3\native\engine\harmonyos-next\entry\build\default\intermediates\cmake\default\obj\x86_64 -DCMAKE_BUILD_TYPE=Debug -DOHOS_SDK_NATIVE=D:\Program Files\Huawei\DevEco Studio\sdk\default\openharmony\native -DCMAKE_SYSTEM_NAME=OHOS -DCMAKE_OHOS_ARCH_ABI=x86_64 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_TOOLCHAIN_FILE=D:\Program Files\Huawei\DevEco Studio\sdk\default\hms\native\build\cmake\hmos.toolchain.cmake -GNinja -DCMAKE_MAKE_PROGRAM=D:\Program Files\Huawei\DevEco Studio\sdk\default\openharmony\native\build-tools\cmake\bin\ninja.exe --no-warn-unused-cli -DHMOS_SDK_NATIVE=D:\Program Files\Huawei\DevEco Studio\sdk\default\hms\native.
Not searching for unused variables given on the command line.
– The CXX compiler identification is Clang 15.0.4
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: D:/Program Files/Huawei/DevEco Studio/sdk/default/openharmony/native/llvm/bin/clang++.exe - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
– The C compiler identification is Clang 15.0.4
– The ASM compiler identification is Clang 15.0.4 with GNU-like command-line
– Found assembler: D:/Program Files/Huawei/DevEco Studio/sdk/default/openharmony/native/llvm/bin/clang.exe
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: D:/Program Files/Huawei/DevEco Studio/sdk/default/openharmony/native/llvm/bin/clang.exe - skipped
– Detecting C compile features
– Detecting C compile features - done
– platform: OHOS
– Ignore NO_WERROR
CMake Deprecation Warning at D:/ProgramData/cocos/editors/Creator/Creator/3.8.8/resources/resources/3d/engine/templates/cmake/common.cmake:9 (cmake_policy):
The OLD behavior for policy CMP0111 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
D:/ProgramData/cocos/editors/Creator/Creator/3.8.8/resources/resources/3d/engine/native/cmake/predefine.cmake:377 (include)
D:/ProgramData/cocos/editors/Creator/Creator/3.8.8/resources/resources/3d/engine/native/CMakeLists.txt:2 (include)
F:/Users/zhuxiaokun/NewProject_3/native/engine/common/CMakeLists.txt:52 (include)
CMakeLists.txt:15 (include)

– OPTION BUILTIN_COCOS_X_PATH:
– OPTION USE_BUILTIN_EXTERNAL: OFF
– OPTION USE_MODULES: OFF
– OPTION CC_USE_METAL:
– OPTION CC_USE_GLES3: ON
– OPTION CC_USE_GLES2: OFF
– OPTION CC_USE_VULKAN: OFF
– OPTION CC_DEBUG_FORCE: OFF
– OPTION USE_SE_V8: OFF
– OPTION USE_SE_JSVM: OFF
– OPTION USE_V8_DEBUGGER: ON
– OPTION USE_V8_DEBUGGER_FORCE: OFF
– OPTION USE_SE_SM: OFF
– OPTION USE_SOCKET: ON
– OPTION USE_AUDIO: ON
– OPTION USE_EDIT_BOX: ON
– OPTION USE_VIDEO: ON
– OPTION USE_WEBVIEW: ON
– OPTION USE_MIDDLEWARE: ON
– OPTION USE_DRAGONBONES: ON
– OPTION USE_SPINE: ON
– OPTION USE_SPINE_3_8: ON
– OPTION USE_SPINE_4_2: OFF
– OPTION USE_WEBSOCKET_SERVER: OFF
– OPTION USE_PHYSICS_PHYSX: OFF
– OPTION USE_JOB_SYSTEM_TBB: OFF
– OPTION USE_JOB_SYSTEM_TASKFLOW: OFF
– OPTION USE_XR: OFF
– OPTION USE_SERVER_MODE: OFF
– OPTION USE_AR_MODULE: OFF
– OPTION USE_AR_AUTO: OFF
– OPTION USE_AR_CORE: OFF
– OPTION USE_AR_ENGINE: OFF
– OPTION USE_CCACHE:
– OPTION CCACHE_EXECUTABLE: CCACHE_EXECUTABLE-NOTFOUND
– OPTION NODE_EXECUTABLE: D:/Program Files/Huawei/DevEco Studio/tools/node/node.exe
– OPTION NET_MODE: 0
– OPTION USE_REMOTE_LOG: OFF
– OPTION USE_BOX2D_JSB: OFF
– platform path:
– Try generating /Pre-AutoLoadPlulgins.cmake
– execute D:/Program Files/Huawei/DevEco Studio/tools/node/node.exe plugin_parser.js
[searching plugins] directory /native does not exist
[searching plugins] directory /extensions does not exist
[searching plugins] no plugins found!
– Searching hook files Pre*.cmake or Pre.cmake in
– No plugins are loaded!
– Searching hook files Post
.cmake or *Post.cmake in
– Configuring done (4.8s)
CMake Error in CMakeLists.txt:
Imported target “websockets” includes non-existent path

"D:/ProgramData/cocos/editors/Creator/Creator/3.8.8/resources/resources/3d/engine/native/external/cmake/../openharmony/x86_64/include/websockets"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and references files it does not
    provide.

CMake Error in CMakeLists.txt:
Imported target “websockets” includes non-existent path

"D:/ProgramData/cocos/editors/Creator/Creator/3.8.8/resources/resources/3d/engine/native/external/cmake/../openharmony/x86_64/include/websockets"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and references files it does not
    provide.

– Generating done (0.5s)
CMake Generate step failed. Build files cannot be regenerated correctly.
undefined

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --debug option to get more log output.

hvigor ERROR: BUILD FAILED in 18 s 319 ms

Process finished with exit code -1