-
-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
Build Faild on Manjaro Linux
Build Error Summary:
The build fails due to xtensor template instantiation issues, specifically:
Ambiguous specializations for rebind_container<long, xt::svector>.
Missing types (stepper, allocator_type, etc.) in xt::xarray_container.
Incompatible xtensor/xsimd versions causing template resolution failures.
Detailed Log :
~/AndroidStudioProjects/local-dream/app/src/main/cpp master *1 !2 /bin/bash build.sh ✔
-- Patch: 0
-- Patch:
-- Patch: Checking patch app/src/main/cpp/3rdparty/SampleApp/src/QnnSampleApp.cpp...
Checking patch app/src/main/cpp/3rdparty/SampleApp/src/QnnSampleApp.hpp...
Checking patch app/src/main/cpp/3rdparty/SampleApp/src/Utils/IOTensor.hpp...
Applied patch app/src/main/cpp/3rdparty/SampleApp/src/QnnSampleApp.cpp cleanly.
Applied patch app/src/main/cpp/3rdparty/SampleApp/src/QnnSampleApp.hpp cleanly.
Applied patch app/src/main/cpp/3rdparty/SampleApp/src/Utils/IOTensor.hpp cleanly.
-- ZSTD VERSION: 1.5.8
-- CMAKE_INSTALL_PREFIX: /usr/local
-- CMAKE_INSTALL_LIBDIR: lib
-- ZSTD_LEGACY_SUPPORT defined!
-- Setting compile definitions for old Android API
-- ZSTD_MULTITHREAD_SUPPORT is disabled
CMake Deprecation Warning at 3rdparty/MNN/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- Use Threadpool, forbid openmp
-- >>>>>>>>>>>>>
-- MNN BUILD INFO:
-- System: Android
-- Processor: aarch64
-- Version: 3.2.1
-- Metal: OFF
-- OpenCL: ON
-- OpenGL: OFF
-- Vulkan: OFF
-- ARM82: ON
-- KleidiAI: OFF
-- oneDNN: OFF
-- TensorRT: OFF
-- CoreML: OFF
-- NNAPI: OFF
-- CUDA: OFF
-- OpenMP: OFF
-- BF16: OFF
-- ThreadPool: ON
-- Hidden: TRUE
-- Build Path: /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/build/android/3rdparty/MNN
-- CUDA PROFILE: OFF
-- WIN_USE_ASM:
-- Enabling AArch64 Assemblies
-- system-nameAndroid
CMake Deprecation Warning at 3rdparty/tokenizers-cpp/msgpack/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
CMake Warning (dev) at 3rdparty/tokenizers-cpp/CMakeLists.txt:106 (add_custom_command):
The following keywords are not supported when using
add_custom_command(OUTPUT): POST_BUILD.
Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Deprecation Warning at 3rdparty/tokenizers-cpp/sentencepiece/CMakeLists.txt:15 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- VERSION: 0.2.00
-- SRC_DIR: /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/SampleApp/src
-- Configuring done (0.1s)
-- Generating done (0.1s)
-- Build files have been written to: /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/build/android
[3/4] Building CXX object CMakeFiles/libstable_diffusion_core.so.dir/src/main.cpp.o
FAILED: [code=1] CMakeFiles/libstable_diffusion_core.so.dir/src/main.cpp.o
ccache /home/home/Android/Sdk/ndk/29.0.13599879/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=aarch64-none-linux-android21 --sysroot=/home/home/Android/Sdk/ndk/29.0.13599879/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DQNN_API="__attribute__((visibility(\"default\")))" -DXTENSOR_USE_XSIMD -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/MNN/include -I/home/home/dev/arms/qairt/2.39.0.250926/include/QNN -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/include -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/cpp-httplib -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/json/include/nlohmann -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/json/include -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/stb -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtl/include -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xsimd/include -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor-blas/include -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/zstd/lib -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/SampleApp/src -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/SampleApp/src/CachingUtil -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/SampleApp/src/Log -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/SampleApp/src/PAL/include -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/SampleApp/src/Utils -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/SampleApp/src/WrapperUtils -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/tokenizers-cpp/include -I/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/zstd/build/cmake/../../lib -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -Wno-error=for-loop-analysis -O3 -DNDEBUG -std=gnu++17 -fPIE -O3 -Wall -fno-rtti -fPIC -fvisibility=hidden -MD -MT CMakeFiles/libstable_diffusion_core.so.dir/src/main.cpp.o -MF CMakeFiles/libstable_diffusion_core.so.dir/src/main.cpp.o.d -o CMakeFiles/libstable_diffusion_core.so.dir/src/main.cpp.o -c /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/main.cpp
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/main.cpp:13:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/DPMSolverMultistepScheduler.hpp:6:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xadapt.hpp:20:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xarray.hpp:19:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xbuffer_adaptor.hpp:21:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xstorage.hpp:23:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xtensor_simd.hpp:17:
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xutils.hpp:1047:31: error: ambiguous partial specializations of 'rebind_container<long, xt::svector<unsigned long>>'
1047 | using type = typename rebind_container<std::ptrdiff_t, S>::type;
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xutils.hpp:1075:5: note: in instantiation of template class 'xt::get_strides_type<xt::svector<unsigned long>>' requested here
1075 | using get_strides_t = typename get_strides_type<C>::type;
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xarray.hpp:53:30: note: in instantiation of template type alias 'get_strides_t' requested here
53 | using strides_type = get_strides_t<shape_type>;
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:36:43: note: in instantiation of template class 'xt::xcontainer_inner_types<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>' requested here
36 | using inner_shape_type = typename xcontainer_inner_types<D>::inner_shape_type;
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xarray.hpp:64:11: note: in instantiation of template class 'xt::xcontainer_iterable_types<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>' requested here
64 | : xcontainer_iterable_types<xarray_container<EC, L, SC, Tag>>
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xiterable.hpp:43:43: note: in instantiation of template class 'xt::xiterable_inner_types<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>' requested here
43 | using inner_shape_type = typename iterable_types::inner_shape_type;
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xiterable.hpp:151:30: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
151 | class xiterable : public xconst_iterable<D>
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xiterable.hpp:311:42: note: in instantiation of template class 'xt::xiterable<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>' requested here
311 | class xcontiguous_iterable : private xiterable<D>
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:71:31: note: in instantiation of template class 'xt::xcontiguous_iterable<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>' requested here
71 | class xcontainer : public xcontiguous_iterable<D>,
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:260:39: note: in instantiation of template class 'xt::xcontainer<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>' requested here
260 | class xstrided_container : public xcontainer<D>
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xarray.hpp:82:37: note: in instantiation of template class 'xt::xstrided_container<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>' requested here
82 | class xarray_container : public xstrided_container<xarray_container<EC, L, SC, Tag>>,
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/Scheduler.hpp:12:23: note: in instantiation of template class 'xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>' requested here
12 | xt::xarray<float> prev_sample;
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xutils.hpp:1034:12: note: partial specialization matches [with X = long, C = xt::svector, T = unsigned long, N = 4]
1034 | struct rebind_container<X, C<T, N>>
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xstorage.hpp:1415:12: note: partial specialization matches [with X = long, T = unsigned long, N = 4, A = std::allocator<unsigned long>, B = true]
1415 | struct rebind_container<X, svector<T, N, A, B>>
| ^
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/main.cpp:13:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/DPMSolverMultistepScheduler.hpp:6:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xadapt.hpp:20:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xarray.hpp:20:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:23:
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xiterable.hpp:45:50: error: no type named 'stepper' in 'xt::xiterable_inner_types<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>'
45 | using stepper = typename iterable_types::stepper;
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xiterable.hpp:151:30: note: in instantiation of template class 'xt::xconst_iterable<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>' requested here
151 | class xiterable : public xconst_iterable<D>
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xiterable.hpp:311:42: note: in instantiation of template class 'xt::xiterable<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>' requested here
311 | class xcontiguous_iterable : private xiterable<D>
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:71:31: note: in instantiation of template class 'xt::xcontiguous_iterable<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>' requested here
71 | class xcontainer : public xcontiguous_iterable<D>,
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:260:39: note: in instantiation of template class 'xt::xcontainer<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>' requested here
260 | class xstrided_container : public xcontainer<D>
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xarray.hpp:82:37: note: in instantiation of template class 'xt::xstrided_container<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>' requested here
82 | class xarray_container : public xstrided_container<xarray_container<EC, L, SC, Tag>>,
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/Scheduler.hpp:12:23: note: in instantiation of template class 'xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>' requested here
12 | xt::xarray<float> prev_sample;
| ^
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/main.cpp:13:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/DPMSolverMultistepScheduler.hpp:6:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xadapt.hpp:20:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xarray.hpp:20:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:23:
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xiterable.hpp:46:56: error: no type named 'const_stepper' in 'xt::xiterable_inner_types<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>'
46 | using const_stepper = typename iterable_types::const_stepper;
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/main.cpp:13:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/DPMSolverMultistepScheduler.hpp:6:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xadapt.hpp:20:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xarray.hpp:20:
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:140:15: error: using declaration refers into 'accessible_base::', which is not a base class of 'xcontainer<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>'
140 | using accessible_base::at;
| ^~~~~~~~~~~~~~~~~
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:260:39: note: in instantiation of template class 'xt::xcontainer<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>' requested here
260 | class xstrided_container : public xcontainer<D>
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xarray.hpp:82:37: note: in instantiation of template class 'xt::xstrided_container<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>' requested here
82 | class xarray_container : public xstrided_container<xarray_container<EC, L, SC, Tag>>,
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/Scheduler.hpp:12:23: note: in instantiation of template class 'xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>' requested here
12 | xt::xarray<float> prev_sample;
| ^
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/main.cpp:13:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/DPMSolverMultistepScheduler.hpp:6:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xadapt.hpp:20:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xarray.hpp:20:
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:141:15: error: using declaration refers into 'accessible_base::', which is not a base class of 'xcontainer<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>'
141 | using accessible_base::shape;
| ^~~~~~~~~~~~~~~~~
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:142:15: error: using declaration refers into 'accessible_base::', which is not a base class of 'xcontainer<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>'
142 | using accessible_base::operator[];
| ^~~~~~~~~~~~~~~~~
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:143:15: error: using declaration refers into 'accessible_base::', which is not a base class of 'xcontainer<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>'
143 | using accessible_base::back;
| ^~~~~~~~~~~~~~~~~
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:144:15: error: using declaration refers into 'accessible_base::', which is not a base class of 'xcontainer<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>'
144 | using accessible_base::front;
| ^~~~~~~~~~~~~~~~~
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:145:15: error: using declaration refers into 'accessible_base::', which is not a base class of 'xcontainer<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>'
145 | using accessible_base::in_bounds;
| ^~~~~~~~~~~~~~~~~
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:146:15: error: using declaration refers into 'accessible_base::', which is not a base class of 'xcontainer<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>'
146 | using accessible_base::periodic;
| ^~~~~~~~~~~~~~~~~
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/main.cpp:13:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/DPMSolverMultistepScheduler.hpp:6:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xadapt.hpp:20:
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xarray.hpp:93:52: error: no type named 'allocator_type' in 'xt::xstrided_container<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>'
93 | using allocator_type = typename base_type::allocator_type;
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/Scheduler.hpp:12:23: note: in instantiation of template class 'xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>' requested here
12 | xt::xarray<float> prev_sample;
| ^
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/main.cpp:13:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/DPMSolverMultistepScheduler.hpp:6:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xadapt.hpp:20:
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xarray.hpp:102:54: error: no type named 'backstrides_type' in 'xt::xstrided_container<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>>'
102 | using backstrides_type = typename base_type::backstrides_type;
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/main.cpp:13:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/DPMSolverMultistepScheduler.hpp:6:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xadapt.hpp:20:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xarray.hpp:20:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:25:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xmath.hpp:29:
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xmanipulation.hpp:833:46: error: member reference base type 'const inner_strides_type' (aka 'const int') is not a structure or union
833 | resize_container(strides, old_strides.size());
| ~~~~~~~~~~~^~~~~
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/DPMSolverMultistepScheduler.hpp:65:33: note: in instantiation of function template specialization 'xt::flip<xt::xarray_container<xt::uvector<int, xsimd::aligned_allocator<int>>, xt::layout_type::row_major, xt::svector<unsigned long>> &>' requested here
65 | timesteps_ = xt::view(xt::flip(steps, 0), xt::range(0, steps.size() - 1));
| ^
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/main.cpp:13:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/DPMSolverMultistepScheduler.hpp:6:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xadapt.hpp:20:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xarray.hpp:20:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:25:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xmath.hpp:29:
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xmanipulation.hpp:834:30: error: member reference base type 'const inner_strides_type' (aka 'const int') is not a structure or union
834 | std::copy(old_strides.cbegin(), old_strides.cend(), strides.begin());
| ~~~~~~~~~~~^~~~~~~
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xmanipulation.hpp:836:9: error: subscripted value is not an array, pointer, or vector
836 | strides[axis] *= -1;
| ^~~~~~~ ~~~~
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xmanipulation.hpp:839:15: error: subscripted value is not an array, pointer, or vector
839 | + old_strides[axis] * (static_cast<std::ptrdiff_t>(e.shape()[axis]) - 1)
| ^~~~~~~~~~~ ~~~~
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/main.cpp:13:
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/DPMSolverMultistepScheduler.hpp:73:7: error: type 'xt::xarray<float>' (aka 'xarray_container<uvector<float, xsimd::aligned_allocator<float, xsimd::default_arch::alignment()>>, (layout_type)1, svector<unsigned long, 4, allocator<unsigned long>, true>>') does not provide a call operator
73 | selected_sigmas(i) = sigmas_(idx);
| ^~~~~~~~~~~~~~~
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/main.cpp:13:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/DPMSolverMultistepScheduler.hpp:6:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xadapt.hpp:20:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xarray.hpp:20:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:25:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xmath.hpp:29:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xmanipulation.hpp:19:
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xbuilder.hpp:778:67: error: no member named 'shape' in 'xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>'
778 | using source_shape_type = decltype(std::get<0>(t).shape());
| ~~~~~~~~~~~~~~ ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xbuilder.hpp:832:60: note: in instantiation of function template specialization 'xt::detail::concat_shape_builder_t::build<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>, xt::xbroadcast<xt::xscalar<float>, std::array<unsigned long, 1>>>' requested here
832 | const auto shape = detail::concat_shape_builder_t::build(t, axis);
| ^
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/DPMSolverMultistepScheduler.hpp:75:19: note: in instantiation of function template specialization 'xt::concatenate<xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>, xt::xbroadcast<xt::xscalar<float>, std::array<unsigned long, 1>>>' requested here
75 | sigmas_ = xt::concatenate(
| ^
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/main.cpp:13:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/src/DPMSolverMultistepScheduler.hpp:6:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xadapt.hpp:20:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xarray.hpp:20:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xcontainer.hpp:25:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xmath.hpp:29:
In file included from /home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xmanipulation.hpp:19:
/home/home/AndroidStudioProjects/local-dream/app/src/main/cpp/3rdparty/xtensor/include/xtensor/xbuilder.hpp:780:36: error: no member named 'shape' in 'xt::xarray_container<xt::uvector<float, xsimd::aligned_allocator<float>>, xt::layout_type::row_major, xt::svector<unsigned long>>'
780 | std::get<0>(t).shape()
| ~~~~~~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
ninja: build stopped: subcommand failed.
~/AndroidStudioProjects/local-dream/app/src/main/cpp master *1 !2 1 ✘
Metadata
Metadata
Assignees
Labels
No labels