Skip to content

Conversation

@nai6514531
Copy link
Owner

No description provided.

@microcisco
Copy link

打包报错 F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-internal.h:739:61: warning: static_assert with no message is a C++17 extension [-Wc++17-extensions]
static_assert(kJSObjectType + 1 == kFirstJSApiObjectType);
^
, ""
F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-internal.h:740:55: warning: static_assert with no message is a C++17 extension [-Wc++17-extensions]
static_assert(kJSObjectType < kLastJSApiObjectType);
^
, ""
F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-internal.h:741:63: warning: static_assert with no message is a C++17 extension [-Wc++17-extensions]
static_assert(kFirstJSApiObjectType < kLastJSApiObjectType);
^
, ""
F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-internal.h:939:38: error: no template named 'remove_cv_t' in namespace 'std'; did you mean 'remove_cv'?
!std::is_same<Data, std::remove_cv_t>::value>::Perform(data);
~~~~~^~~~~~~~~~~
remove_cv
D:/Android_SDK/ndk/21.4.7075529/build//../sources/cxx-stl/llvm-libc++/include\type_traits:686:50: note: 'remove_cv' declared here
template struct _LIBCPP_TEMPLATE_VIS remove_cv
^
In file included from D:/jk_wp/workspace/fairy_farm_APK_test/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/../../jni/../../Classes/jsb_module_register.cpp:29:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/SeApi.h:34:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/SeApi.h:27:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/ScriptEngine.hpp:31:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/Base.h:33:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8\v8.h:24:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-array-buffer.h:12:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-local-handle.h:12:
F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-handle-base.h:34:51: warning: template template parameter using 'typename' is a C++17 extension [-Wc++17-extensions]
template <template <typename T, typename... Ms> typename H, typename T,
^~~~~~~~
class
In file included from D:/jk_wp/workspace/fairy_farm_APK_test/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/../../jni/../../Classes/jsb_module_register.cpp:29:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/SeApi.h:34:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/SeApi.h:27:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/ScriptEngine.hpp:31:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/Base.h:33:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8\v8.h:24:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-array-buffer.h:13:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-object.h:9:
F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-maybe.h:106:27: error: no template named 'enable_if_t' in namespace 'std'; did you mean 'enable_if'?
template <class U, std::enable_if_t<!std::is_lvalue_reference_v>>
~~~~~^~~~~~~~~~~
enable_if
D:/Android_SDK/ndk/21.4.7075529/build//../sources/cxx-stl/llvm-libc++/include\type_traits:538:63: note: 'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
^
In file included from D:/jk_wp/workspace/fairy_farm_APK_test/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/../../jni/../../Classes/jsb_module_register.cpp:29:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/SeApi.h:34:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/SeApi.h:27:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/ScriptEngine.hpp:31:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/Base.h:33:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8\v8.h:24:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-array-buffer.h:13:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-object.h:9:
F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-maybe.h:106:45: error: no template named 'is_lvalue_reference_v' in namespace 'std'; did you mean 'is_lvalue_reference'?
template <class U, std::enable_if_t<!std::is_lvalue_reference_v>
>
~~~~~^~~~~~~~~~~~~~~~~~~~~
is_lvalue_reference
D:/Android_SDK/ndk/21.4.7075529/build//../sources/cxx-stl/llvm-libc++/include\type_traits:817:50: note: 'is_lvalue_reference' declared here
template struct _LIBCPP_TEMPLATE_VIS is_lvalue_reference : public false_type {};
^
In file included from D:/jk_wp/workspace/fairy_farm_APK_test/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/../../jni/../../Classes/jsb_module_register.cpp:29:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/SeApi.h:34:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/SeApi.h:27:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/ScriptEngine.hpp:31:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/Base.h:33:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8\v8.h:24:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-array-buffer.h:13:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-object.h:9:
F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-maybe.h:106:69: error: expected '(' for function-style cast or type construction
template <class U, std::enable_if_t<!std::is_lvalue_reference_v>>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-maybe.h:123:25: error: no template named 'enable_if_t' in namespace 'std'; did you mean 'enable_if'?
template <class T, std::enable_if_t<!std::is_lvalue_reference_v>
= nullptr>
~~~~~^~~~~~~~~~~
enable_if
D:/Android_SDK/ndk/21.4.7075529/build//../sources/cxx-stl/llvm-libc++/include\type_traits:538:63: note: 'enable_if' declared here
template <bool, class _Tp = void> struct _LIBCPP_TEMPLATE_VIS enable_if {};
^
In file included from D:/jk_wp/workspace/fairy_farm_APK_test/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/../../jni/../../Classes/jsb_module_register.cpp:29:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/SeApi.h:34:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/SeApi.h:27:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/ScriptEngine.hpp:31:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/Base.h:33:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8\v8.h:24:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-array-buffer.h:13:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-object.h:9:
F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-maybe.h:123:43: error: no template named 'is_lvalue_reference_v' in namespace 'std'; did you mean 'is_lvalue_reference'?
template <class T, std::enable_if_t<!std::is_lvalue_reference_v>* = nullptr>
~~~~~^~~~~~~~~~~~~~~~~~~~~
is_lvalue_reference
D:/Android_SDK/ndk/21.4.7075529/build//../sources/cxx-stl/llvm-libc++/include\type_traits:817:50: note: 'is_lvalue_reference' declared here
template struct _LIBCPP_TEMPLATE_VIS is_lvalue_reference : public false_type {};
^
In file included from D:/jk_wp/workspace/fairy_farm_APK_test/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/../../jni/../../Classes/jsb_module_register.cpp:29:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/SeApi.h:34:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/SeApi.h:27:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/ScriptEngine.hpp:31:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/Base.h:33:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8\v8.h:24:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-array-buffer.h:13:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-object.h:9:
F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-maybe.h:123:67: error: expected '(' for function-style cast or type construction
template <class T, std::enable_if_t<!std::is_lvalue_reference_v>* = nullptr>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In file included from D:/jk_wp/workspace/fairy_farm_APK_test/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/jni/../../jni/../../Classes/jsb_module_register.cpp:29:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/SeApi.h:34:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/SeApi.h:27:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/ScriptEngine.hpp:31:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/cocos/..\cocos/scripting/js-bindings/jswrapper/v8/Base.h:33:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8\v8.h:33:
In file included from F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-function.h:11:
F:/cocos-dashboard-editors/2.4.13/resources/cocos2d-x/external/android/armeabi-v7a/include/v8/v8-function-callback.h:151:50: warning: static_assert with no message is a C++17 extension [-Wc++17-extensions]
kIsolateIndex - kReturnValueIndex);
^
, ""
24 warnings and 7 errors generated.
make: *** [D:/Android_SDK/ndk/21.4.7075529/build//../build/core/build-binary.mk:478: D:/jk_wp/workspace/fairy_farm_APK_test/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/build/intermediates/ndkBuild/release/obj/local/armeabi-v7a/objs/cocos2djs///Classes/jsb_module_register.o] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants