You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What went wrong:
Execution failed for task ':iris_method_channel:buildCMakeDebug[arm64-v8a]'.
com.android.ide.common.process.ProcessException: ninja: Entering directory `/home/stack/.pub-cache/hosted/pub.dev/iris_method_channel-1.1.0/android/.cxx/Debug/636m311p/arm64-v8a'
[1/2] Building CXX object CMakeFiles/iris_method_channel.dir/iris_event.cc.o
FAILED: CMakeFiles/iris_method_channel.dir/iris_event.cc.o
/home/stack/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=aarch64-none-linux-android21 --gcc-toolchain=/home/stack/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64 --sysroot=/home/stack/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DDART_SHARED_LIB -Diris_method_channel_EXPORTS -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/iris_method_channel.dir/iris_event.cc.o -MF CMakeFiles/iris_method_channel.dir/iris_event.cc.o.d -o CMakeFiles/iris_method_channel.dir/iris_event.cc.o -c /home/stack/.pub-cache/hosted/pub.dev/iris_method_channel-1.1.0/src/iris_event.cc
In file included from /home/stack/.pub-cache/hosted/pub.dev/iris_method_channel-1.1.0/src/iris_event.cc:6:
/snap/flutter/current/usr/include/c++/9/memory:121:25: error: cast from pointer to smaller type 'uintptr_t' (aka 'unsigned int') loses information
const auto __intptr = reinterpret_cast<uintptr_t>(__ptr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/stack/.pub-cache/hosted/pub.dev/iris_method_channel-1.1.0/src/iris_event.cc:90:17: error: use of undeclared identifier 'memcpy'; did you mean 'wmemcpy'?
memcpy(abuffer, obuffer, abufferLength);
^~~~~~
wmemcpy
/snap/flutter/current/usr/include/wchar.h:262:17: note: 'wmemcpy' declared here
extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
^
/home/stack/.pub-cache/hosted/pub.dev/iris_method_channel-1.1.0/src/iris_event.cc:90:24: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'uint8_t *' (aka 'unsigned char *')
memcpy(abuffer, obuffer, abufferLength);
^~~~~~~
/snap/flutter/current/usr/include/wchar.h:262:46: note: passing argument to parameter '__s1' here
extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
^
3 errors generated.
ninja: build stopped: subcommand failed.
C++ build system [build] failed while executing:
/home/stack/Android/Sdk/cmake/3.18.1/bin/ninja
-C
/home/stack/.pub-cache/hosted/pub.dev/iris_method_channel-1.1.0/android/.cxx/Debug/636m311p/arm64-v8a
iris_method_channel
from /home/stack/.pub-cache/hosted/pub.dev/iris_method_channel-1.1.0/android
Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Execution failed for task ':iris_method_channel:buildCMakeDebug[arm64-v8a]'.
C++ build system [build] failed while executing:
/home/stack/Android/Sdk/cmake/3.18.1/bin/ninja
-C
/home/stack/.pub-cache/hosted/pub.dev/iris_method_channel-1.1.0/android/.cxx/Debug/636m311p/arm64-v8a
iris_method_channel
from /home/stack/.pub-cache/hosted/pub.dev/iris_method_channel-1.1.0/android
The text was updated successfully, but these errors were encountered: