You are not logged in.

#1 2023-12-18 00:28:24

vorlket
Member
Registered: 2017-09-30
Posts: 90

cuda and cuda11.1 are in conflict

When trying to

git clone https://aur.archlinux.org/python-pytorch-git.git
cd python-pytorch-git
makepkg -s

I get the following error

:: cuda and cuda11.1 are in conflict. Remove cuda11.1? [y/N] N
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)

What do I need to do to be able to make the package? Thanks.

Last edited by vorlket (2023-12-18 00:54:42)

Offline

#2 2023-12-18 02:26:16

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,594

Re: cuda and cuda11.1 are in conflict

python-pytorch-git requires cudnn to build, which requires cuda>=12. You either need to update to the newer cuda, or build a version of cudnn for the older version.

You can try building in a clean chroot with the newer versions, as I don't see a runtime dep, it may or may not work on your system.

Online

#3 2023-12-18 02:41:11

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

My GPU supports only cuda <= 11.8 so I installed cuda11.1. I installed cudnn8-cuda11.1. Is there a way to change some lines in the PKGBUILD file and be able to make the package?

If I change cuda to cuda11.1 and cudnn to cudnn8-cuda11.1 in the PKGBUILD file then makepkg -s then I get the following error:

...
[ 76%] Building C object confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/tables/vlog.c.o
cd /home/vorlket/build/python-pytorch-git/src/pytorch-git/build/confu-deps/XNNPACK && /usr/bin/cc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DXNN_ENABLE_ARM_BF16=0 -DXNN_ENABLE_ARM_DOTPROD=1 -DXNN_ENABLE_ARM_FP16_SCALAR=1 -DXNN_ENABLE_ARM_FP16_VECTOR=1 -DXNN_ENABLE_ARM_I8MM=0 -DXNN_ENABLE_ASSEMBLY=1 -DXNN_ENABLE_AVXVNNI=0 -DXNN_ENABLE_CPUINFO=1 -DXNN_ENABLE_DWCONV_MULTIPASS=0 -DXNN_ENABLE_GEMM_M_SPECIALIZATION=1 -DXNN_ENABLE_JIT=0 -DXNN_ENABLE_MEMOPT=1 -DXNN_ENABLE_RISCV_VECTOR=1 -DXNN_ENABLE_SPARSE=1 -I/home/vorlket/build/python-pytorch-git/src/pytorch-git/third_party/XNNPACK/src -I/home/vorlket/build/python-pytorch-git/src/pytorch-git/third_party/pthreadpool/include -I/home/vorlket/build/python-pytorch-git/src/pytorch-git/third_party/FXdiv/include -I/home/vorlket/build/python-pytorch-git/src/pytorch-git/third_party/FP16/include -isystem /opt/intel/oneapi/mkl/latest/include -isystem /home/vorlket/build/python-pytorch-git/src/pytorch-git/third_party/gemmlowp -isystem /home/vorlket/build/python-pytorch-git/src/pytorch-git/third_party/neon2sse -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -O3 -DNDEBUG -std=c99 -fPIC   -march=native -DMKL_HAS_SBGEMM -Wno-psabi -O2 -pthread -MD -MT confu-deps/XNNPACK/CMakeFiles/microkernels-all.dir/src/tables/vlog.c.o -MF CMakeFiles/microkernels-all.dir/src/tables/vlog.c.o.d -o CMakeFiles/microkernels-all.dir/src/tables/vlog.c.o -c /home/vorlket/build/python-pytorch-git/src/pytorch-git/third_party/XNNPACK/src/tables/vlog.c
make[2]: Leaving directory '/home/vorlket/build/python-pytorch-git/src/pytorch-git/build'
[ 76%] Built target microkernels-all
make[2]: Leaving directory '/home/vorlket/build/python-pytorch-git/src/pytorch-git/build'
[ 76%] Built target doc_doxygen_python
make[2]: Leaving directory '/home/vorlket/build/python-pytorch-git/src/pytorch-git/build'
[ 76%] Built target doc_doxygen_c
make[1]: Leaving directory '/home/vorlket/build/python-pytorch-git/src/pytorch-git/build'
make: *** [Makefile:146: all] Error 2

==> ERROR: A failure occurred in build().
    Aborting...

Last edited by vorlket (2023-12-18 08:02:15)

Offline

#4 2023-12-18 08:05:34

seth
Member
Registered: 2012-09-03
Posts: 51,578

Re: cuda and cuda11.1 are in conflict

The actual error part is kinda missing there.
But python-pytorch-git might actually require newer versions of cuda, so

Scimmia wrote:

You can try building in a clean chroot with the newer versions … it may or may not work on your system.

ie. the build will (likely) succeed, but it might still crash when trying to run it against cuda 11.1 - you'll have to try.

Offline

#5 2023-12-18 08:53:08

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

I've looked at https://wiki.archlinux.org/title/Develo … nience_way. But not clear what I need to do. Appreciate if you could give me a step-by-step command for building in a clean chroot in the convenient way for python-pytorch-git AUR. Thanks.

Offline

#6 2023-12-18 10:38:30

loqs
Member
Registered: 2014-03-06
Posts: 17,420

Re: cuda and cuda11.1 are in conflict

Clean chroot build with gcc10 gcc10-libs cuda11.1 cudnn8-cuda11.1 failed with:

Building C object third_party/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/__/__/__/lib/compress/zstd_double_fast.c.o
cd /build/python-pytorch-git/src/pytorch-cuda-git/build/third_party/zstd/build/cmake/lib && /usr/bin/cc -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -Dlibzstd_shared_EXPORTS -I/build/python-pytorch-git/src/pytorch-cuda-git/build/third_party/zstd/build/cmake/lib -I/build/python-pytorch-git/src/pytorch-cuda-git/third_party/zstd/build/cmake/lib -I/build/python-pytorch-git/src/pytorch-cuda-git/third_party/zstd/build/cmake/../../lib -I/build/python-pytorch-git/src/pytorch-cuda-git/third_party/zstd/build/cmake/../../lib/common -isystem /build/python-pytorch-git/src/pytorch-cuda-git/build/third_party/gloo -isystem /build/python-pytorch-git/src/pytorch-cuda-git/cmake/../third_party/gloo -isystem /build/python-pytorch-git/src/pytorch-cuda-git/cmake/../third_party/tensorpipe/third_party/libuv/include -isystem /build/python-pytorch-git/src/pytorch-cuda-git/third_party/gemmlowp -isystem /build/python-pytorch-git/src/pytorch-cuda-git/third_party/neon2sse -isystem /build/python-pytorch-git/src/pytorch-cuda-git/third_party/XNNPACK/include -isystem /usr/include/opencv4 -isystem /build/python-pytorch-git/src/pytorch-cuda-git/third_party/ittapi/include -isystem /build/python-pytorch-git/src/pytorch-cuda-git/cmake/../third_party/eigen -isystem /opt/cuda/include -isystem /build/python-pytorch-git/src/pytorch-cuda-git/cmake/../third_party/zstd/lib -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions  -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python-pytorch-git/src=/usr/src/debug/python-pytorch-git -flto=auto -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wcast-qual -Wstrict-prototypes -O3 -DNDEBUG -std=gnu11 -fPIC   -march=native -DTORCH_USE_LIBUV -DCAFFE2_USE_GLOO -MD -MT third_party/zstd/build/cmake/lib/CMakeFiles/libzstd_shared.dir/__/__/__/lib/compress/zstd_double_fast.c.o -MF CMakeFiles/libzstd_shared.dir/__/__/__/lib/compress/zstd_double_fast.c.o.d -o CMakeFiles/libzstd_shared.dir/__/__/__/lib/compress/zstd_double_fast.c.o -c /build/python-pytorch-git/src/pytorch-cuda-git/third_party/zstd/lib/compress/zstd_double_fast.c
In file included from /build/python-pytorch-git/src/pytorch-cuda-git/third_party/tbb/src/tbb/scheduler_common.h:43,
                 from /build/python-pytorch-git/src/pytorch-cuda-git/third_party/tbb/src/tbb/scheduler.h:24,
                 from /build/python-pytorch-git/src/pytorch-cuda-git/third_party/tbb/src/tbb/arena.cpp:23:
/build/python-pytorch-git/src/pytorch-cuda-git/third_party/tbb/include/tbb/task.h:266:20: error: declaration of ‘tbb::task& tbb::internal::task_prefix::task()’ changes meaning of ‘task’ [-Wchanges-meaning]
  266 |         tbb::task& task() {return *reinterpret_cast<tbb::task*>(this+1);}
      |                    ^~~~
/build/python-pytorch-git/src/pytorch-cuda-git/third_party/tbb/include/tbb/task.h:225:9: note: used here to mean ‘class tbb::task’
  225 |         task* next_offloaded;
      |         ^~~~
/build/python-pytorch-git/src/pytorch-cuda-git/third_party/tbb/include/tbb/task.h:33:7: note: declared here
   33 | class task;
      |       ^~~~

May be unrelated to cuda11.1.  Will try clean chroot build without any additional packages.
Edit:
That produced the same error.

Last edited by loqs (2023-12-18 10:53:52)

Offline

#7 2023-12-18 12:28:18

seth
Member
Registered: 2012-09-03
Posts: 51,578

Re: cuda and cuda11.1 are in conflict

"-fpermissive", but that's bad code and needs to be fixed upstream - except that the TBB version included by ptg is 5 years old…

Offline

#8 2023-12-18 13:31:14

loqs
Member
Registered: 2014-03-06
Posts: 17,420

Re: cuda and cuda11.1 are in conflict

/usr/include/c++/13.2.1/new: In member function ‘__ct_base ’:
/usr/include/c++/13.2.1/new:128:26: note: in a call to allocation function ‘operator new []’ declared here
  128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
      |                          ^
/usr/bin/ld: /tmp/ccnwu1v0.ltrans0.ltrans.o: in function `unwind_entry':
<artificial>:(.text+0x7): undefined reference to `unwind_c'
collect2: error: ld returned 1 exit status
make[2]: *** [caffe2/CMakeFiles/torch_cpu.dir/build.make:18930: lib/libtorch_cpu.so] Error 1
make[2]: Leaving directory '/build/python-pytorch-git/src/pytorch-git/build'
make[1]: *** [CMakeFiles/Makefile2:3936: caffe2/CMakeFiles/torch_cpu.dir/all] Error 2
make[1]: Leaving directory '/build/python-pytorch-git/src/pytorch-git/build'
make: *** [Makefile:146: all] Error 2

https://gitlab.archlinux.org/archlinux/ … fe95afdcf6 python-pytorch-git has not been synced against python-pytorch recently.
Perhaps it would be easier to use python-pytorch.
Edit2:

[ 97%] Linking CXX executable ../bin/parallel_info
cd /build/python-pytorch-git/src/pytorch-git/build/binaries && /usr/bin/cmake -E cmake_link_script CMakeFiles/parallel_info.dir/link.txt --verbose=1
/usr/bin/c++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wno-error=changes-meaning -g -ffile-prefix-map=/build/python-pytorch-git/src=/usr/src/debug/python-pytorch-git -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=pedantic -Wno-error=old-style-cast -Wno-missing-braces -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow -O3 -DNDEBUG -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -rdynamic -Wl,--no-as-needed CMakeFiles/parallel_info.dir/parallel_info.cc.o -o ../bin/parallel_info  -Wl,-rpath,/build/python-pytorch-git/src/pytorch-git/build/lib: -Wl,--no-as-needed,"/build/python-pytorch-git/src/pytorch-git/build/lib/libtorch.so" -Wl,--as-needed -Wl,--no-as-needed,"/build/python-pytorch-git/src/pytorch-git/build/lib/libtorch_cpu.so" -Wl,--as-needed ../lib/libtbb.so -lpthread -ldl /usr/lib/libprotobuf.so.25.1.0 /usr/lib/libabsl_log_internal_check_op.so.2308.0.0 /usr/lib/libabsl_leak_check.so.2308.0.0 /usr/lib/libabsl_die_if_null.so.2308.0.0 /usr/lib/libabsl_log_internal_conditions.so.2308.0.0 /usr/lib/libabsl_log_internal_message.so.2308.0.0 /usr/lib/libabsl_log_internal_nullguard.so.2308.0.0 /usr/lib/libabsl_examine_stack.so.2308.0.0 /usr/lib/libabsl_log_internal_format.so.2308.0.0 /usr/lib/libabsl_log_internal_proto.so.2308.0.0 /usr/lib/libabsl_log_internal_log_sink_set.so.2308.0.0 /usr/lib/libabsl_log_sink.so.2308.0.0 /usr/lib/libabsl_log_entry.so.2308.0.0 /usr/lib/libabsl_flags.so.2308.0.0 /usr/lib/libabsl_flags_internal.so.2308.0.0 /usr/lib/libabsl_flags_marshalling.so.2308.0.0 /usr/lib/libabsl_flags_reflection.so.2308.0.0 /usr/lib/libabsl_flags_config.so.2308.0.0 /usr/lib/libabsl_flags_program_name.so.2308.0.0 /usr/lib/libabsl_flags_private_handle_accessor.so.2308.0.0 /usr/lib/libabsl_flags_commandlineflag.so.2308.0.0 /usr/lib/libabsl_flags_commandlineflag_internal.so.2308.0.0 /usr/lib/libabsl_log_initialize.so.2308.0.0 /usr/lib/libabsl_log_globals.so.2308.0.0 /usr/lib/libabsl_log_internal_globals.so.2308.0.0 /usr/lib/libabsl_raw_hash_set.so.2308.0.0 /usr/lib/libabsl_hash.so.2308.0.0 /usr/lib/libabsl_city.so.2308.0.0 /usr/lib/libabsl_low_level_hash.so.2308.0.0 /usr/lib/libabsl_hashtablez_sampler.so.2308.0.0 /usr/lib/libabsl_statusor.so.2308.0.0 /usr/lib/libabsl_status.so.2308.0.0 /usr/lib/libabsl_cord.so.2308.0.0 /usr/lib/libabsl_cordz_info.so.2308.0.0 /usr/lib/libabsl_cord_internal.so.2308.0.0 /usr/lib/libabsl_cordz_functions.so.2308.0.0 /usr/lib/libabsl_exponential_biased.so.2308.0.0 /usr/lib/libabsl_cordz_handle.so.2308.0.0 /usr/lib/libabsl_crc_cord_state.so.2308.0.0 /usr/lib/libabsl_crc32c.so.2308.0.0 /usr/lib/libabsl_crc_internal.so.2308.0.0 /usr/lib/libabsl_crc_cpu_detect.so.2308.0.0 /usr/lib/libabsl_bad_optional_access.so.2308.0.0 /usr/lib/libabsl_str_format_internal.so.2308.0.0 /usr/lib/libabsl_strerror.so.2308.0.0 /usr/lib/libabsl_synchronization.so.2308.0.0 /usr/lib/libabsl_stacktrace.so.2308.0.0 /usr/lib/libabsl_symbolize.so.2308.0.0 /usr/lib/libabsl_debugging_internal.so.2308.0.0 /usr/lib/libabsl_demangle_internal.so.2308.0.0 /usr/lib/libabsl_graphcycles_internal.so.2308.0.0 /usr/lib/libabsl_kernel_timeout_internal.so.2308.0.0 /usr/lib/libabsl_malloc_internal.so.2308.0.0 /usr/lib/libabsl_time.so.2308.0.0 /usr/lib/libabsl_strings.so.2308.0.0 /usr/lib/libabsl_string_view.so.2308.0.0 /usr/lib/libabsl_throw_delegate.so.2308.0.0 /usr/lib/libabsl_strings_internal.so.2308.0.0 /usr/lib/libabsl_base.so.2308.0.0 /usr/lib/libabsl_spinlock_wait.so.2308.0.0 /usr/lib/libabsl_int128.so.2308.0.0 /usr/lib/libabsl_civil_time.so.2308.0.0 /usr/lib/libabsl_time_zone.so.2308.0.0 /usr/lib/libabsl_bad_variant_access.so.2308.0.0 /usr/lib/libabsl_raw_logging_internal.so.2308.0.0 /usr/lib/libabsl_log_severity.so.2308.0.0 ../lib/libc10.so /usr/lib/libglog.so.0.6.0 /usr/lib/libgflags.so.2.2.2 -lpthread 
/build/python-pytorch-git/src/pytorch-git/binaries/convert_and_benchmark.cc:34:10: fatal error: observers/net_observer_reporter_print.h: No such file or directory
   34 | #include <observers/net_observer_reporter_print.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [binaries/CMakeFiles/convert_and_benchmark.dir/build.make:76: binaries/CMakeFiles/convert_and_benchmark.dir/convert_and_benchmark.cc.o] Error 1
make[2]: Leaving directory '/build/python-pytorch-git/src/pytorch-git/build'
make[1]: *** [CMakeFiles/Makefile2:5887: binaries/CMakeFiles/convert_and_benchmark.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: warning: libQt6Test.so.6, needed by /usr/lib/libopencv_highgui.so.408, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libQt6OpenGLWidgets.so.6, needed by /usr/lib/libopencv_highgui.so.408, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libQt6Widgets.so.6, needed by /usr/lib/libopencv_highgui.so.408, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libQt6Gui.so.6, needed by /usr/lib/libopencv_highgui.so.408, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libQt6Core.so.6, needed by /usr/lib/libopencv_highgui.so.408, not found (try using -rpath or -rpath-link)
[ 97%] Linking CXX shared library ../../../../lib/libshm.so
cd /build/python-pytorch-git/src/pytorch-git/build/caffe2/torch/lib/libshm && /usr/bin/cmake -E cmake_link_script CMakeFiles/shm.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wno-error=changes-meaning -g -ffile-prefix-map=/build/python-pytorch-git/src=/usr/src/debug/python-pytorch-git -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=pedantic -Wno-error=old-style-cast -Wno-missing-braces -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O3 -DNDEBUG -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--no-as-needed -rdynamic -Wl,--no-as-needed -shared -Wl,-soname,libshm.so -o ../../../../lib/libshm.so CMakeFiles/shm.dir/core.cpp.o  -Wl,-rpath,/build/python-pytorch-git/src/pytorch-git/build/lib: ../../../../lib/libtorch.so -lrt -Wl,--no-as-needed,"/build/python-pytorch-git/src/pytorch-git/build/lib/libtorch_cpu.so" -Wl,--as-needed ../../../../lib/libtbb.so -lpthread -ldl /usr/lib/libprotobuf.so.25.1.0 /usr/lib/libabsl_log_internal_check_op.so.2308.0.0 /usr/lib/libabsl_leak_check.so.2308.0.0 /usr/lib/libabsl_die_if_null.so.2308.0.0 /usr/lib/libabsl_log_internal_conditions.so.2308.0.0 /usr/lib/libabsl_log_internal_message.so.2308.0.0 /usr/lib/libabsl_log_internal_nullguard.so.2308.0.0 /usr/lib/libabsl_examine_stack.so.2308.0.0 /usr/lib/libabsl_log_internal_format.so.2308.0.0 /usr/lib/libabsl_log_internal_proto.so.2308.0.0 /usr/lib/libabsl_log_internal_log_sink_set.so.2308.0.0 /usr/lib/libabsl_log_sink.so.2308.0.0 /usr/lib/libabsl_log_entry.so.2308.0.0 /usr/lib/libabsl_flags.so.2308.0.0 /usr/lib/libabsl_flags_internal.so.2308.0.0 /usr/lib/libabsl_flags_marshalling.so.2308.0.0 /usr/lib/libabsl_flags_reflection.so.2308.0.0 /usr/lib/libabsl_flags_config.so.2308.0.0 /usr/lib/libabsl_flags_program_name.so.2308.0.0 /usr/lib/libabsl_flags_private_handle_accessor.so.2308.0.0 /usr/lib/libabsl_flags_commandlineflag.so.2308.0.0 /usr/lib/libabsl_flags_commandlineflag_internal.so.2308.0.0 /usr/lib/libabsl_log_initialize.so.2308.0.0 /usr/lib/libabsl_log_globals.so.2308.0.0 /usr/lib/libabsl_log_internal_globals.so.2308.0.0 /usr/lib/libabsl_raw_hash_set.so.2308.0.0 /usr/lib/libabsl_hash.so.2308.0.0 /usr/lib/libabsl_city.so.2308.0.0 /usr/lib/libabsl_low_level_hash.so.2308.0.0 /usr/lib/libabsl_hashtablez_sampler.so.2308.0.0 /usr/lib/libabsl_statusor.so.2308.0.0 /usr/lib/libabsl_status.so.2308.0.0 /usr/lib/libabsl_cord.so.2308.0.0 /usr/lib/libabsl_cordz_info.so.2308.0.0 /usr/lib/libabsl_cord_internal.so.2308.0.0 /usr/lib/libabsl_cordz_functions.so.2308.0.0 /usr/lib/libabsl_exponential_biased.so.2308.0.0 /usr/lib/libabsl_cordz_handle.so.2308.0.0 /usr/lib/libabsl_crc_cord_state.so.2308.0.0 /usr/lib/libabsl_crc32c.so.2308.0.0 /usr/lib/libabsl_crc_internal.so.2308.0.0 /usr/lib/libabsl_crc_cpu_detect.so.2308.0.0 /usr/lib/libabsl_bad_optional_access.so.2308.0.0 /usr/lib/libabsl_str_format_internal.so.2308.0.0 /usr/lib/libabsl_strerror.so.2308.0.0 /usr/lib/libabsl_synchronization.so.2308.0.0 /usr/lib/libabsl_stacktrace.so.2308.0.0 /usr/lib/libabsl_symbolize.so.2308.0.0 /usr/lib/libabsl_debugging_internal.so.2308.0.0 /usr/lib/libabsl_demangle_internal.so.2308.0.0 /usr/lib/libabsl_graphcycles_internal.so.2308.0.0 /usr/lib/libabsl_kernel_timeout_internal.so.2308.0.0 /usr/lib/libabsl_malloc_internal.so.2308.0.0 /usr/lib/libabsl_time.so.2308.0.0 /usr/lib/libabsl_strings.so.2308.0.0 /usr/lib/libabsl_string_view.so.2308.0.0 /usr/lib/libabsl_throw_delegate.so.2308.0.0 /usr/lib/libabsl_strings_internal.so.2308.0.0 /usr/lib/libabsl_base.so.2308.0.0 /usr/lib/libabsl_spinlock_wait.so.2308.0.0 /usr/lib/libabsl_int128.so.2308.0.0 /usr/lib/libabsl_civil_time.so.2308.0.0 /usr/lib/libabsl_time_zone.so.2308.0.0 /usr/lib/libabsl_bad_variant_access.so.2308.0.0 /usr/lib/libabsl_raw_logging_internal.so.2308.0.0 /usr/lib/libabsl_log_severity.so.2308.0.0 ../../../../lib/libc10.so /usr/lib/libglog.so.0.6.0 /usr/lib/libgflags.so.2.2.2 -lpthread 
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::focusNextPrevChild(bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLayout::geometry() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::toUtf8_helper(QString const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::setFont(QFont const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::dragEnterEvent(QDragEnterEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::isCanceled() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::windowTitle() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLabel::setAlignment(QFlags<Qt::AlignmentFlag>)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::move(QPoint const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QRadioButton::paintEvent(QPaintEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::wheelEvent(QWheelEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QOpenGLWidget::~QOpenGLWidget()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractButton::setChecked(bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QImage::QImage()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFontMetrics::QFontMetrics(QFont const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::reportResultsReady(int, int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBrush::~QBrush()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QMenu::exec(QPoint const&, QAction*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `vtable for QImage@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QStatusBar::setSizeGripEnabled(bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QImage::pixel(int, int) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QUnhandledException::~QUnhandledException()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractButton::changeEvent(QEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QLayout::isEmpty() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QRadioButton::initStyleOption(QStyleOptionButton*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractButton::mousePressEvent(QMouseEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QBoxLayout::minimumHeightForWidth(int) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPen::QPen(QBrush const&, double, Qt::PenStyle, Qt::PenCapStyle, Qt::PenJoinStyle)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QHBoxLayout::qt_metacall(QMetaObject::Call, int, void**)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::metric(QPaintDevice::PaintDeviceMetric) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::drawText(QPointF const&, QString const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::resizeEvent(QResizeEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFont::pointSize() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QBoxLayout::heightForWidth(int) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::staticMetaObject@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::~QPushButton()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCheckBox::qt_metacast(char const*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QTransform::map(QPointF const&) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::setWindowFlags(QFlags<Qt::WindowType>)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFile::~QFile()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLayoutItem::widget() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::setRunnable(QRunnable*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::drawForeground(QPainter*, QRectF const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::heightForWidth(int) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QThreadPool::start(QRunnable*, int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::qt_metacast(char const*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QtPrivate::QMetaTypeInterfaceWrapper<bool>::metaType@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::~QPainter()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLayout::controlTypes() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QTransform::reset()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QtPrivate::QMetaTypeInterfaceWrapper<QPoint>::metaType@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QHBoxLayout::qt_metacast(char const*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::focusInEvent(QFocusEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::QPainter(QPaintDevice*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QByteArray::reallocData(long long, QArrayData::AllocationOption)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::dragLeaveEvent(QDragLeaveEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QRegion::QRegion()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::unsetCursor()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLayout::setContentsMargins(int, int, int, int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QtPrivate::QMetaTypeInterfaceWrapper<QString>::metaType@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QButtonGroup::addButton(QAbstractButton*, int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::dragEnterEvent(QDragEnterEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::showNormal()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFontMetrics::leading() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::derefT() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLayoutItem::spacerItem()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::actionEvent(QActionEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBrush::QBrush(Qt::GlobalColor, Qt::BrushStyle)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::inputMethodQuery(Qt::InputMethodQuery) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::refT() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::compare_helper(QChar const*, long long, char const*, long long, Qt::CaseSensitivity)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QStatusBar::addWidget(QWidget*, int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::tabletEvent(QTabletEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractSlider::setMinimum(int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `typeinfo for QWidget@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QWidget::metric(QPaintDevice::PaintDeviceMetric) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QArrayData::allocate(QArrayData**, long long, long long, long long, QArrayData::AllocationOption)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCheckBox::event(QEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::setInteractive(bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QTimer::setSingleShot(bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QOpenGLWidget::qt_metacast(char const*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::paintEvent(QPaintEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::~QFutureInterfaceBase()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::QFutureInterfaceBase(QFutureInterfaceBase::State)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QOpenGLWidget::redirected(QPoint*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWaitCondition::wait(QMutex*, unsigned long)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPen::QPen(QColor const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCheckBox::nextCheckState()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QApplication::topLevelWidgets()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QColor::red() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::QPushButton(QWidget*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::addWidget(QWidget*, int, QFlags<Qt::AlignmentFlag>)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractSlider::minimum() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractSlider::maximum() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::event(QEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::addAction(QAction*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QRegion::~QRegion()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::drawItems(QPainter*, int, QGraphicsItem**, QStyleOptionGraphicsItem const*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::setMinimumSize(int, int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QLayout::layout()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFont::setStyle(QFont::Style)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::setContentsMargins(int, int, int, int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFrame::initStyleOption(QStyleOptionFrame*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLayout::indexOf(QWidget const*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::leftJustified(long long, QChar, bool) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractScrollArea::viewportSizeHint() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractButton::timerEvent(QTimerEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::sizeHint() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::setFlat(bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::keyReleaseEvent(QKeyEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QColor::green() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QOpenGLWidget::metaObject() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QSlider::QSlider(Qt::Orientation, QWidget*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QtPrivate::ResultStoreBase::addResult(int, void const*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `typeinfo for QObject@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::setStyleSheet(QString const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::sharedPainter() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFileInfo::QFileInfo(QString const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QSettings::~QSettings()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::connectNotify(QMetaMethod const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFileInfo::fileName() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::hide()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `qRegisterResourceData(int, unsigned char const*, unsigned char const*, unsigned char const*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::runContinuation() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QImage::QImage(unsigned char*, int, int, long long, QImage::Format, void (*)(void*), void*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::contextMenuEvent(QContextMenuEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLayout::layout()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::viewportEvent(QEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::drawRects(QRectF const*, int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractSlider::setValue(int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::moveEvent(QMoveEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::focusInEvent(QFocusEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QColor::name(QColor::NameFormat) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::minimumSizeHint() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLayout::replaceWidget(QWidget*, QWidget*, QFlags<Qt::FindChildOption>)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QBoxLayout::expandingDirections() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::changeEvent(QEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::addLayout(QLayout*, int)@Qt_6'
/usr/bin/ld: ../lib/libc10.so: undefined reference to `google::glog_internal_namespace_::IsGoogleLoggingInitialized()'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::dropEvent(QDropEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QToolBar::QToolBar(QWidget*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::mouseReleaseEvent(QMouseEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::mouseMoveEvent(QMouseEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::focusOutEvent(QFocusEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractScrollArea::viewport() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QThread::currentThread()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::arg(unsigned long long, int, int, QChar) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCursor::~QCursor()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QApplication::QApplication(int&, char**, int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::inputMethodEvent(QInputMethodEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QOpenGLWidget::paintEngine() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::mouseDoubleClickEvent(QMouseEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::hasHeightForWidth() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QBoxLayout::maximumSize() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QApplication::closeAllWindows()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFrame::changeEvent(QEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPen::~QPen()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::showEvent(QShowEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::heightForWidth(int) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFont::~QFont()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QSettings::QSettings(QString const&, QString const&, QObject*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLayoutItem::setAlignment(QFlags<Qt::AlignmentFlag>)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `typeinfo for QPushButton@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `qBadAlloc()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QLayout::controlTypes() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWaitCondition::wakeAll()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::show()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QVariant::toString() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::setPen(QPen const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QInputDialog::getInt(QWidget*, QString const&, QString const&, int, int, int, int, bool*, QFlags<Qt::WindowType>)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::resizeEvent(QResizeEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::staticMetaObject@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::moveToThread(QThread*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::dragMoveEvent(QDragMoveEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::qt_metacast(char const*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLabel::setText(QString const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QHBoxLayout::QHBoxLayout()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::inputMethodQuery(Qt::InputMethodQuery) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QVariant::toDouble(bool*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QVariant::~QVariant()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::showEvent(QShowEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QApplication::palette(QWidget const*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::dragMoveEvent(QDragMoveEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::reportCanceled()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCoreApplication::applicationFilePath()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QIcon::QIcon(QString const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QTimer::isActive() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QMenu::~QMenu()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QRadioButton::hitButton(QPoint const&) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::objectName() const@Qt_6'
/usr/bin/cmake -E __run_co_compile --lwyu="ldd;-u;-r" --source=../../../../lib/libshm.so
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::minimumHeightForWidth(int) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QWidget::paintEngine() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::scrollContentsBy(int, int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QHBoxLayout::metaObject() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::keyPressEvent(QKeyEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAction::setIconVisibleInMenu(bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QUnhandledException::QUnhandledException(std::__exception_ptr::exception_ptr)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFileDialog::getSaveFileName(QWidget*, QString const&, QString const&, QString const&, QString*, QFlags<QFileDialog::Option>)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QSlider::setTickPosition(QSlider::TickPosition)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::update()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::mouseMoveEvent(QMouseEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QRadioButton::QRadioButton(QWidget*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QDate::toString(QStringView, QCalendar) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QArrayData::reallocateUnaligned(QArrayData*, void*, long long, long long, QArrayData::AllocationOption)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QStatusBar::QStatusBar(QWidget*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QtPrivate::ResultStoreBase::count() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `typeinfo for QFutureInterfaceBase@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCheckBox::checkStateSet()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFont::QFont(QFont const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLayout::isEmpty() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCheckBox::QCheckBox(QWidget*)@Qt_6'
Warning: Unused direct dependencies:
	/build/python-pytorch-git/src/pytorch-git/build/lib/libtorch.so
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::drawText(QRect const&, int, QString const&, QRect*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QMetaObject::invokeMethodImpl(QObject*, char const*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*)@Qt_6'
make[2]: Leaving directory '/build/python-pytorch-git/src/pytorch-git/build'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QRadioButton::qt_metacast(char const*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCheckBox::sizeHint() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::setupViewport(QWidget*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::keyReleaseEvent(QKeyEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QOpenGLWidget::paintEvent(QPaintEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::doSetObjectName(QString const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QRadioButton::staticMetaObject@Qt_6'
[ 97%] Built target shm
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QtSharedPointer::ExternalRefCountData::getAndRef(QObject const*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractButton::text() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::close()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::updateGeometry()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QHBoxLayout::~QHBoxLayout()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::event(QEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::drawRects(QRect const*, int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::dragLeaveEvent(QDragLeaveEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::setCursor(QCursor const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLayout::parentWidget() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QHBoxLayout::staticMetaObject@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::~QWidget()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QLayout::geometry() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QOpenGLWidget::event(QEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::hitButton(QPoint const&) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `typeinfo for QHBoxLayout@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QIODevice::readAll()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QMetaObject::className() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCheckBox::setCheckState(Qt::CheckState)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFileInfo::~QFileInfo()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::keyPressEvent(QKeyEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::count() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QThreadPool::globalInstance()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCursor::QCursor(Qt::CursorShape)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::sizeHint() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::keyPressEvent(QKeyEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPixmap::QPixmap(QSize const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QVariant::toPoint() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QTransform::map(int, int, int*, int*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QClipboard::setPixmap(QPixmap const&, QClipboard::Mode)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QTransform::scale(double, double)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::setFocus(Qt::FocusReason)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QOpenGLWidget::metric(QPaintDevice::PaintDeviceMetric) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QKeyEvent::modifiers() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::QBoxLayout(QBoxLayout::Direction, QWidget*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QMenu::QMenu(QWidget*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `typeinfo for QOpenGLWidget@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::initPainter(QPainter*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::hasHeightForWidth() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::setFixedHeight(int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::QObject(QObject*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `typeinfo for QRadioButton@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QOpenGLWidget::makeCurrent()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractScrollArea::eventFilter(QObject*, QEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::hideEvent(QHideEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractSlider::value() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::compare(QString const&, Qt::CaseSensitivity) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QMetaObject::tr(char const*, char const*, int) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::customEvent(QEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCheckBox::hitButton(QPoint const&) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::sizeHint() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::end()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFont::setPointSize(int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QVariant::QVariant(QString const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::eventFilter(QObject*, QEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QWidget::initPainter(QPainter*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::setFocusPolicy(Qt::FocusPolicy)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QColor::QColor(Qt::GlobalColor)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::paintEvent(QPaintEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::render(QPaintDevice*, QPoint const&, QRegion const&, QFlags<QWidget::RenderFlag>)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QByteArray::_empty@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::setMinimumWidth(int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::qt_metacast(char const*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::staticMetaObject@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::~QGraphicsView()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QBoxLayout::minimumSize() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QWidget::redirected(QPoint*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCheckBox::minimumSizeHint() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QWidget::devType() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QBoxLayout::hasHeightForWidth() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::setThreadPool(QThreadPool*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::leaveEvent(QEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QRadioButton::mouseMoveEvent(QMouseEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::font() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QSettings::setValue(QAnyStringView, QVariant const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::reportStarted()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::itemAt(int) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::arg(long long, int, int, QChar) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::minimumSize() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCheckBox::qt_metacall(QMetaObject::Call, int, void**)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QColor::blue() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QtPrivate::ResultStoreBase::filterMode() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `qUnregisterResourceData(int, unsigned char const*, unsigned char const*, unsigned char const*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QVariant::QVariant(QSize)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::enterEvent(QEnterEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAction::QAction(QIcon const&, QString const&, QObject*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractButton::nextCheckState()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QTimer::QTimer(QObject*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractSlider::setPageStep(int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `typeinfo for QGraphicsView@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::reportException(QException const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::setRenderHint(QPainter::RenderHint, bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractSlider::setMaximum(int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QDate::currentDate()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QOpenGLWidget::QOpenGLWidget(QWidget*, QFlags<Qt::WindowType>)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::nativeEvent(QByteArray const&, void*, long long*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::fillRect(QRect const&, QColor const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QBoxLayout::sizeHint() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBrush::QBrush(QColor const&, Qt::BrushStyle)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QSettings::remove(QAnyStringView)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLayout::childEvent(QChildEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::resultStoreBase()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::append(QString const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFontMetrics::~QFontMetrics()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::drawBackground(QPainter*, QRectF const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QIcon::~QIcon()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::focusNextPrevChild(bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::toLatin1_helper(QString const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QtPrivate::QMetaTypeInterfaceWrapper<double>::metaType@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::qt_metacast(char const*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractButton::focusInEvent(QFocusEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractButton::mouseReleaseEvent(QMouseEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QRadioButton::minimumSizeHint() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::invalidate()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::_empty@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QVariant::toInt(bool*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAction::setEnabled(bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::setWorldMatrixEnabled(bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QVariant::QVariant(QPoint)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPixmap::~QPixmap()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::isFullScreen() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::queryState(QFutureInterfaceBase::State) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QImage::valid(int, int) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::closeEvent(QCloseEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::arg(QString const&, int, QChar) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCheckBox::staticMetaObject@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::inputMethodEvent(QInputMethodEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::sizeHint() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFile::open(QFlags<QIODeviceBase::OpenModeFlag>)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBasicMutex::destroyInternal(QMutexPrivate*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCoreApplication::self@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::setBrush(QBrush const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::arg(double, int, char, int, QChar) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractButton::keyPressEvent(QKeyEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPalette::~QPalette()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QtPrivate::equalStrings(QStringView, QStringView)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::setLayout(QLayout*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QtPrivate::QMetaTypeInterfaceWrapper<int>::metaType@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::focusOutEvent(QFocusEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QSize::scaled(QSize const&, Qt::AspectRatioMode) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFontMetrics::boundingRect(QRect const&, int, QString const&, int, int*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::qt_metacall(QMetaObject::Call, int, void**)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPalette::brush(QPalette::ColorGroup, QPalette::ColorRole) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::QWidget(QWidget*, QFlags<Qt::WindowType>)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QWidget::sharedPainter() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::QGraphicsView(QWidget*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QOpenGLWidget::redirected(QPoint*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::setPen(QColor const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPixmap::save(QString const&, char const*, int) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::insertLayout(int, QLayout*, int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QTransform::inverted(bool*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QKeySequence::QKeySequence(int, int, int, int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::qt_metacall(QMetaObject::Call, int, void**)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QStatusBar::showMessage(QString const&, int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::setAlignment(QFlags<Qt::AlignmentFlag>)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::toLatin1_helper_inplace(QString&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::metaObject() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCheckBox::~QCheckBox()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `typeinfo for QRunnable@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QSettings::value(QAnyStringView, QVariant const&) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QVariant::QVariant(int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `typeinfo for QCheckBox@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::hasException() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::operator=(QString const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWaitCondition::QWaitCondition()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCheckBox::paintEvent(QPaintEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::QPushButton(QWidget*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QRadioButton::sizeHint() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QOpenGLWidget::paintEngine() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QRadioButton::event(QEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractButton::setText(QString const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QRadioButton::~QRadioButton()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::redirected(QPoint*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::minimumSizeHint() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::QFutureInterfaceBase(QFutureInterfaceBase const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QImage::width() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCoreApplication::setAttribute(Qt::ApplicationAttribute, bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::fromLatin1(QByteArrayView)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCheckBox::mouseMoveEvent(QMouseEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::disconnectNotify(QMetaMethod const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QMetaObject::Connection::~Connection()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCheckBox::initStyleOption(QStyleOptionButton*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QButtonGroup::QButtonGroup(QObject*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QVariant::toSize() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWaitCondition::~QWaitCondition()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractButton::focusOutEvent(QFocusEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QTransform::map(double, double, double*, double*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::resize(QSize const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::maximumSize() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QtPrivate::ResultStoreBase::containsValidResultItem(int) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QTimer::start(int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::mousePressEvent(QMouseEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBasicMutex::lockInternal()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QTest::keyToAscii(Qt::Key)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractButton::checkStateSet()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QRadioButton::qt_metacall(QMetaObject::Call, int, void**)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::setAttribute(Qt::WidgetAttribute, bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::append(QBasicUtf8StringView<false>)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::setVisible(bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFont::setLetterSpacing(QFont::SpacingType, double)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `typeinfo for QException@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QKeySequence::~QKeySequence()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::right(long long) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QOpenGLWidget::metric(QPaintDevice::PaintDeviceMetric) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::drawLines(QLineF const*, int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::mutex() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::focusOutEvent(QFocusEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::qt_metacall(QMetaObject::Call, int, void**)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QRunnable::~QRunnable()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QBoxLayout::setGeometry(QRect const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCalendar::QCalendar()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::devType() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QSettings::beginWriteArray(QAnyStringView, int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::thread() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QTransform::translate(double, double)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `non-virtual thunk to QBoxLayout::invalidate()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QTimer::stop()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::setGeometry(QRect const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QApplication::exec()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLayout::indexOf(QLayoutItem const*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractButton::keyReleaseEvent(QKeyEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::event(QEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBasicMutex::unlockInternal()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QVariant::QVariant(double)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::timerEvent(QTimerEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::dropEvent(QDropEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::spacing() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::qt_metacall(QMetaObject::Call, int, void**)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QToolBar::setFloatable(bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractSlider::singleStep() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::showFullScreen()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFont::setPixelSize(int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGraphicsView::event(QEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::pos() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObjectData::dynamicMetaObject() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QOpenGLWidget::qt_metacall(QMetaObject::Call, int, void**)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QSettings::setArrayIndex(int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QString::fromUtf8(QByteArrayView)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractButton::isChecked() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::addItem(QLayoutItem*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QSettings::beginReadArray(QAnyStringView)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::expandingDirections() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::~QObject()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QSettings::value(QAnyStringView) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QObject::childEvent(QChildEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLayout::setSizeConstraint(QLayout::SizeConstraint)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QGuiApplication::clipboard()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::setSpacing(int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QSettings::endArray()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::focusInEvent(QFocusEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::setWorldTransform(QTransform const&, bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCoreApplication::quit()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPainter::drawImage(QRectF const&, QImage const&, QRectF const&, QFlags<Qt::ImageConversionFlag>)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPaintDevice::QPaintDevice()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFile::QFile(QString const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QBoxLayout::takeAt(int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::mapToGlobal(QPoint const&) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QImage::~QImage()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::paintEvent(QPaintEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QPushButton::initStyleOption(QStyleOptionButton*) const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QAbstractScrollArea::minimumSizeHint() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::setWindowTitle(QString const&)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::paintEngine() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QOpenGLWidget::resizeEvent(QResizeEvent*)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QShortcut::QShortcut(QKeySequence const&, QObject*, char const*, char const*, Qt::ShortcutContext)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QCoreApplication::exit(int)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFileDevice::close()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QEventPoint::position() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QWidget::staticMetaObject@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QLabel::QLabel(QWidget*, QFlags<Qt::WindowType>)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QImage::height() const@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFont::QFont(QString const&, int, int, bool)@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QFutureInterfaceBase::reportFinished()@Qt_6'
/usr/bin/ld: /usr/lib/libopencv_highgui.so.408: undefined reference to `QtPrivate::QMetaTypeInterfaceWrapper<void*>::metaType@Qt_6'
collect2: error: ld returned 1 exit status
make[2]: *** [binaries/CMakeFiles/parallel_info.dir/build.make:167: bin/parallel_info] Error 1
make[2]: Leaving directory '/build/python-pytorch-git/src/pytorch-git/build'
make[1]: *** [CMakeFiles/Makefile2:5626: binaries/CMakeFiles/parallel_info.dir/all] Error 2

That is as much time as I want to spend failing to get python-pytorch-git to build.

Last edited by loqs (2023-12-18 13:47:24)

Offline

#9 2023-12-18 19:36:50

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

To resolve this issue, I would like to build libtorch with cuda11.1 and cudnn8-cuda11.1 from source. Any pointer would be appreciated. Thanks.

Last edited by vorlket (2023-12-18 19:49:14)

Offline

#10 2023-12-18 19:52:19

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,896
Website

Re: cuda and cuda11.1 are in conflict

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#11 2023-12-18 20:29:01

seth
Member
Registered: 2012-09-03
Posts: 51,578

Re: cuda and cuda11.1 are in conflict

You're not gonna build python-pytorch-git no matter what, that's bitrot.

loqs wrote:

Perhaps it would be easier to use python-pytorch.

https://archlinux.org/packages/extra/x8 … n-pytorch/
https://wiki.archlinux.org/title/Arch_b … stem#Usage

Maybe explain what issue you're trying to resolve here.
The previous suggestion has been to build the package against the new cuda and then just run it against your cuda.
If that would work, just using the regular python-pytorch against your cuda version would likewise, no rebuild required.

If the latter doesn't work you'd have to try to build python-pytorch against your cuda version and if that produces errors, you'll have to share them.

Offline

#12 2023-12-18 21:39:34

loqs
Member
Registered: 2014-03-06
Posts: 17,420

Re: cuda and cuda11.1 are in conflict

While cuda11.1 conflicts and provides cuda,  cudnn8-cuda11.1 conflicts with but does not provide cudnn.  You can modify the cudnn8-cuda11.1 PKGBUILD to provide cudnn then with that modified cudnn8-cuda11.1 installed try python-pytorch or edit the python-pytorch PKGBUILD to depend on cuda11.1 instead of cuda and cudnn8-cuda11.1 instead of cudnn.
Edit:
clean chroot build of python-pytorch  with gcc10-libs gcc10 cuda11.1 cudnn8-cuda11.1 fails with:

FAILED: bin/c10_registry_test 
: && /usr/bin/g++-10 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN -DUSE_VULKAN_API -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=non-virtual-dtor -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=old-style-cast -Wno-invalid-partial-specialization -Wno-unused-private-field -Wno-aligned-allocation-unavailable -Wno-missing-braces -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -O3 -DNDEBUG -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -rdynamic c10/test/CMakeFiles/c10_registry_test.dir/util/registry_test.cpp.o -o bin/c10_registry_test  -Wl,-rpath,/build/python-pytorch/src/pytorch/build/lib:  lib/libc10.so  lib/libgmock.a  lib/libgtest.a  lib/libgtest_main.a  /usr/lib/libglog.so.0.6.0  /usr/lib/libgflags.so.2.2.2  -lpthread  lib/libgtest.a && :
/usr/bin/ld: /usr/lib/libglog.so.0.6.0: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'
collect2: error: ld returned 1 exit status

Last edited by loqs (2023-12-19 02:21:58)

Offline

#13 2023-12-19 09:33:47

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

The following installed libtorch-cuda

cd ~ /build
git clone https://aur.archlinux.org/libtorch-cuda.git
cd libtorch-cuda
Note: In the PKGBUILD file, change cuda to cuda11.1 and cudnn to cudnn8-cuda11.1 in the depends array.
makepkg -s
sudo rm /usr/include/pybindll
sudo pacman -U /home/vorlket/build/libtorch-cuda/libtorch-cuda-2.1.0-1-x86_64.pkg.tar.zst

But when I compile the following program,

#include <torch/torch.h>
#include <iostream>

int main() {
        std::cout << torch::cuda::is_available() << "," << torch::cuda::device_count() << std::endl;
        return 0;
}

it produces the following error:

$ g++ -I/usr/include/torch/csrc/api/include test.cpp -o test
/usr/bin/ld: /tmp/ccVtKgzm.o: warning: relocation against `_ZN3c1019UndefinedTensorImpl10_singletonE' in read-only section `.text._ZN3c1019UndefinedTensorImpl9singletonEv[_ZN3c1019UndefinedTensorImpl9singletonEv]'
/usr/bin/ld: /tmp/ccVtKgzm.o: in function `main':
test.cpp:(.text+0xa): undefined reference to `torch::cuda::is_available()'
/usr/bin/ld: test.cpp:(.text+0x3b): undefined reference to `torch::cuda::device_count()'
/usr/bin/ld: /tmp/ccVtKgzm.o: in function `c10::detail::torchInternalAssertFail(char const*, char const*, unsigned int, char const*, c10::detail::CompileTimeEmptyString)':
test.cpp:(.text._ZN3c106detail23torchInternalAssertFailEPKcS2_jS2_NS0_22CompileTimeEmptyStringE[_ZN3c106detail23torchInternalAssertFailEPKcS2_jS2_NS0_22CompileTimeEmptyStringE]+0x2a): undefined reference to `c10::detail::torchCheckFail(char const*, char const*, unsigned int, char const*)'
/usr/bin/ld: /tmp/ccVtKgzm.o: in function `c10::SymInt::SymInt(long)':
test.cpp:(.text._ZN3c106SymIntC2El[_ZN3c106SymIntC5El]+0x41): undefined reference to `c10::SymInt::promote_to_negative()'
/usr/bin/ld: /tmp/ccVtKgzm.o: in function `c10::UndefinedTensorImpl::singleton()':
test.cpp:(.text._ZN3c1019UndefinedTensorImpl9singletonEv[_ZN3c1019UndefinedTensorImpl9singletonEv]+0x7): undefined reference to `c10::UndefinedTensorImpl::_singleton'
/usr/bin/ld: /tmp/ccVtKgzm.o: in function `c10::IValue::isIntrusivePtr() const':
test.cpp:(.text._ZNK3c106IValue14isIntrusivePtrEv[_ZNK3c106IValue14isIntrusivePtrEv]+0x1b3): undefined reference to `c10::detail::torchInternalAssertFail(char const*, char const*, unsigned int, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: /tmp/ccVtKgzm.o: in function `c10::IValue::toComplexDouble() const':
test.cpp:(.text._ZNK3c106IValue15toComplexDoubleEv[_ZNK3c106IValue15toComplexDoubleEv]+0xb1): undefined reference to `c10::detail::torchInternalAssertFail(char const*, char const*, unsigned int, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: /tmp/ccVtKgzm.o: in function `c10::IValue::toTensor() &&':
test.cpp:(.text._ZNO3c106IValue8toTensorEv[_ZNO3c106IValue8toTensorEv]+0x34): undefined reference to `c10::IValue::reportToTensorTypeError() const'
/usr/bin/ld: /tmp/ccVtKgzm.o: in function `c10::IValue::toTensor() const &':
test.cpp:(.text._ZNKR3c106IValue8toTensorEv[_ZNKR3c106IValue8toTensorEv]+0x30): undefined reference to `c10::IValue::reportToTensorTypeError() const'
/usr/bin/ld: /tmp/ccVtKgzm.o: in function `c10::IValue::toSymInt() const &':
test.cpp:(.text._ZNKR3c106IValue8toSymIntEv[_ZNKR3c106IValue8toSymIntEv]+0xd8): undefined reference to `c10::detail::torchInternalAssertFail(char const*, char const*, unsigned int, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: test.cpp:(.text._ZNKR3c106IValue8toSymIntEv[_ZNKR3c106IValue8toSymIntEv]+0x10e): undefined reference to `c10::SymInt::SymInt(c10::intrusive_ptr<c10::SymNodeImpl, c10::detail::intrusive_target_default_null_type<c10::SymNodeImpl> >)'
/usr/bin/ld: /tmp/ccVtKgzm.o: in function `c10::intrusive_ptr<c10::SymNodeImpl, c10::detail::intrusive_target_default_null_type<c10::SymNodeImpl> >::reclaim(c10::SymNodeImpl*)':
test.cpp:(.text._ZN3c1013intrusive_ptrINS_11SymNodeImplENS_6detail34intrusive_target_default_null_typeIS1_EEE7reclaimEPS1_[_ZN3c1013intrusive_ptrINS_11SymNodeImplENS_6detail34intrusive_target_default_null_typeIS1_EEE7reclaimEPS1_]+0x16d): undefined reference to `c10::detail::torchInternalAssertFail(char const*, char const*, unsigned int, char const*, char const*)'
/usr/bin/ld: /tmp/ccVtKgzm.o: in function `c10::intrusive_ptr<c10::intrusive_ptr_target, c10::UndefinedTensorImpl>::reclaim(c10::intrusive_ptr_target*)':
test.cpp:(.text._ZN3c1013intrusive_ptrINS_20intrusive_ptr_targetENS_19UndefinedTensorImplEE7reclaimEPS1_[_ZN3c1013intrusive_ptrINS_20intrusive_ptr_targetENS_19UndefinedTensorImplEE7reclaimEPS1_]+0x16d): undefined reference to `c10::detail::torchInternalAssertFail(char const*, char const*, unsigned int, char const*, char const*)'
/usr/bin/ld: /tmp/ccVtKgzm.o: in function `c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>::retain_()':
test.cpp:(.text._ZN3c1013intrusive_ptrINS_10TensorImplENS_19UndefinedTensorImplEE7retain_Ev[_ZN3c1013intrusive_ptrINS_10TensorImplENS_19UndefinedTensorImplEE7retain_Ev]+0x80): undefined reference to `c10::detail::torchInternalAssertFail(char const*, char const*, unsigned int, char const*, char const*)'
/usr/bin/ld: /tmp/ccVtKgzm.o: in function `c10::intrusive_ptr<c10::ivalue::ComplexHolder, c10::detail::intrusive_target_default_null_type<c10::ivalue::ComplexHolder> >::reclaim(c10::ivalue::ComplexHolder*)':
test.cpp:(.text._ZN3c1013intrusive_ptrINS_6ivalue13ComplexHolderENS_6detail34intrusive_target_default_null_typeIS2_EEE7reclaimEPS2_[_ZN3c1013intrusive_ptrINS_6ivalue13ComplexHolderENS_6detail34intrusive_target_default_null_typeIS2_EEE7reclaimEPS2_]+0x16d): undefined reference to `c10::detail::torchInternalAssertFail(char const*, char const*, unsigned int, char const*, char const*)'
/usr/bin/ld: /tmp/ccVtKgzm.o: in function `c10::SmallVectorTemplateCommon<long, void>::grow_pod(unsigned long, unsigned long)':
test.cpp:(.text._ZN3c1025SmallVectorTemplateCommonIlvE8grow_podEmm[_ZN3c1025SmallVectorTemplateCommonIlvE8grow_podEmm]+0x3a): undefined reference to `c10::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
$ g++ -Wall -Wextra -Werror -I/usr/include/torch/csrc/api/include test.cpp -o test
In file included from /usr/include/torch/csrc/api/include/torch/all.h:10,
                 from /usr/include/torch/csrc/api/include/torch/torch.h:3,
                 from test.cpp:1:
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kLinear&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:147:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  147 |   TORCH_ENUM_PRETTY_PRINT(Linear)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kConv1D&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:148:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  148 |   TORCH_ENUM_PRETTY_PRINT(Conv1D)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kConv2D&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:149:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  149 |   TORCH_ENUM_PRETTY_PRINT(Conv2D)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kConv3D&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:150:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  150 |   TORCH_ENUM_PRETTY_PRINT(Conv3D)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kConvTranspose1D&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:151:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  151 |   TORCH_ENUM_PRETTY_PRINT(ConvTranspose1D)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kConvTranspose2D&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:152:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  152 |   TORCH_ENUM_PRETTY_PRINT(ConvTranspose2D)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kConvTranspose3D&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:153:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  153 |   TORCH_ENUM_PRETTY_PRINT(ConvTranspose3D)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kSigmoid&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:154:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  154 |   TORCH_ENUM_PRETTY_PRINT(Sigmoid)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kTanh&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:155:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  155 |   TORCH_ENUM_PRETTY_PRINT(Tanh)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kReLU&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:156:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  156 |   TORCH_ENUM_PRETTY_PRINT(ReLU)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kGELU&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:157:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  157 |   TORCH_ENUM_PRETTY_PRINT(GELU)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kSiLU&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:158:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  158 |   TORCH_ENUM_PRETTY_PRINT(SiLU)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kMish&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:159:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  159 |   TORCH_ENUM_PRETTY_PRINT(Mish)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kLeakyReLU&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:160:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  160 |   TORCH_ENUM_PRETTY_PRINT(LeakyReLU)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kFanIn&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:161:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  161 |   TORCH_ENUM_PRETTY_PRINT(FanIn)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kFanOut&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:162:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  162 |   TORCH_ENUM_PRETTY_PRINT(FanOut)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kConstant&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:163:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  163 |   TORCH_ENUM_PRETTY_PRINT(Constant)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kReflect&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:164:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  164 |   TORCH_ENUM_PRETTY_PRINT(Reflect)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kReplicate&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:165:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  165 |   TORCH_ENUM_PRETTY_PRINT(Replicate)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kCircular&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:166:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  166 |   TORCH_ENUM_PRETTY_PRINT(Circular)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kNearest&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:167:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  167 |   TORCH_ENUM_PRETTY_PRINT(Nearest)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kBilinear&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:168:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  168 |   TORCH_ENUM_PRETTY_PRINT(Bilinear)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kBicubic&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:169:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  169 |   TORCH_ENUM_PRETTY_PRINT(Bicubic)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kTrilinear&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:170:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  170 |   TORCH_ENUM_PRETTY_PRINT(Trilinear)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kArea&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:171:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  171 |   TORCH_ENUM_PRETTY_PRINT(Area)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kNearestExact&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:172:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  172 |   TORCH_ENUM_PRETTY_PRINT(NearestExact)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kSum&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:173:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  173 |   TORCH_ENUM_PRETTY_PRINT(Sum)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kMean&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:174:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  174 |   TORCH_ENUM_PRETTY_PRINT(Mean)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kMax&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:175:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  175 |   TORCH_ENUM_PRETTY_PRINT(Max)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kNone&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:176:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  176 |   TORCH_ENUM_PRETTY_PRINT(None)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kBatchMean&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:177:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  177 |   TORCH_ENUM_PRETTY_PRINT(BatchMean)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kZeros&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:178:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  178 |   TORCH_ENUM_PRETTY_PRINT(Zeros)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kBorder&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:179:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  179 |   TORCH_ENUM_PRETTY_PRINT(Border)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kReflection&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:180:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  180 |   TORCH_ENUM_PRETTY_PRINT(Reflection)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kRNN_TANH&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:181:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  181 |   TORCH_ENUM_PRETTY_PRINT(RNN_TANH)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kRNN_RELU&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:182:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  182 |   TORCH_ENUM_PRETTY_PRINT(RNN_RELU)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kLSTM&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:183:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  183 |   TORCH_ENUM_PRETTY_PRINT(LSTM)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kGRU&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:184:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  184 |   TORCH_ENUM_PRETTY_PRINT(GRU)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kValid&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:185:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  185 |   TORCH_ENUM_PRETTY_PRINT(Valid)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/enum.h: In member function ‘std::string torch::enumtype::_compute_enum_name::operator()(const torch::enumtype::kSame&) const’:
/usr/include/torch/csrc/api/include/torch/enum.h:34:51: error: unused parameter ‘v’ [-Werror=unused-parameter]
   34 |   std::string operator()(const enumtype::k##name& v) const { \
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/torch/csrc/api/include/torch/enum.h:186:3: note: in expansion of macro ‘TORCH_ENUM_PRETTY_PRINT’
  186 |   TORCH_ENUM_PRETTY_PRINT(Same)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/torch/csrc/api/include/torch/nn/cloneable.h:3,
                 from /usr/include/torch/csrc/api/include/torch/nn.h:3,
                 from /usr/include/torch/csrc/api/include/torch/all.h:16:
/usr/include/torch/csrc/api/include/torch/nn/module.h: In member function ‘virtual std::vector<torch::nn::AnyValue> torch::nn::Module::_forward_populate_default_args(std::vector<torch::nn::AnyValue>&&)’:
/usr/include/torch/csrc/api/include/torch/nn/module.h:538:31: error: unused parameter ‘arguments’ [-Werror=unused-parameter]
  538 |       std::vector<AnyValue>&& arguments) {
      |       ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::L1LossOptions::L1LossOptions(torch::enumtype::kNone)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:21:50: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
   21 |   TORCH_OPTIONS_CTOR_VARIANT_ARG3(L1LossOptions, reduction, kNone, kMean, kSum)
/usr/include/torch/csrc/api/include/torch/enum.h:90:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   90 |   OPTIONS_NAME(torch::enumtype::TYPE1 ARG_NAME) : ARG_NAME##_(torch::TYPE1) {} \
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::L1LossOptions::L1LossOptions(torch::enumtype::kMean)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:21:50: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
   21 |   TORCH_OPTIONS_CTOR_VARIANT_ARG3(L1LossOptions, reduction, kNone, kMean, kSum)
/usr/include/torch/csrc/api/include/torch/enum.h:91:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   91 |   OPTIONS_NAME(torch::enumtype::TYPE2 ARG_NAME) : ARG_NAME##_(torch::TYPE2) {} \
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::L1LossOptions::L1LossOptions(torch::enumtype::kSum)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:21:50: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
   21 |   TORCH_OPTIONS_CTOR_VARIANT_ARG3(L1LossOptions, reduction, kNone, kMean, kSum)
/usr/include/torch/csrc/api/include/torch/enum.h:92:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   92 |   OPTIONS_NAME(torch::enumtype::TYPE3 ARG_NAME) : ARG_NAME##_(torch::TYPE3) {}
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::KLDivLossOptions::KLDivLossOptions(torch::enumtype::kNone)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:60:7: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
   60 |       reduction,
/usr/include/torch/csrc/api/include/torch/enum.h:97:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG4’
   97 |   OPTIONS_NAME(torch::enumtype::TYPE1 ARG_NAME) : ARG_NAME##_(torch::TYPE1) {} \
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::KLDivLossOptions::KLDivLossOptions(torch::enumtype::kBatchMean)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:60:7: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
   60 |       reduction,
/usr/include/torch/csrc/api/include/torch/enum.h:98:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG4’
   98 |   OPTIONS_NAME(torch::enumtype::TYPE2 ARG_NAME) : ARG_NAME##_(torch::TYPE2) {} \
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::KLDivLossOptions::KLDivLossOptions(torch::enumtype::kSum)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:60:7: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
   60 |       reduction,
/usr/include/torch/csrc/api/include/torch/enum.h:99:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG4’
   99 |   OPTIONS_NAME(torch::enumtype::TYPE3 ARG_NAME) : ARG_NAME##_(torch::TYPE3) {} \
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::KLDivLossOptions::KLDivLossOptions(torch::enumtype::kMean)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:60:7: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
   60 |       reduction,
/usr/include/torch/csrc/api/include/torch/enum.h:100:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG4’
  100 |   OPTIONS_NAME(torch::enumtype::TYPE4 ARG_NAME) : ARG_NAME##_(torch::TYPE4) {}
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::MSELossOptions::MSELossOptions(torch::enumtype::kNone)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:101:51: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
  101 |   TORCH_OPTIONS_CTOR_VARIANT_ARG3(MSELossOptions, reduction, kNone, kMean, kSum)
/usr/include/torch/csrc/api/include/torch/enum.h:90:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   90 |   OPTIONS_NAME(torch::enumtype::TYPE1 ARG_NAME) : ARG_NAME##_(torch::TYPE1) {} \
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::MSELossOptions::MSELossOptions(torch::enumtype::kMean)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:101:51: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
  101 |   TORCH_OPTIONS_CTOR_VARIANT_ARG3(MSELossOptions, reduction, kNone, kMean, kSum)
/usr/include/torch/csrc/api/include/torch/enum.h:91:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   91 |   OPTIONS_NAME(torch::enumtype::TYPE2 ARG_NAME) : ARG_NAME##_(torch::TYPE2) {} \
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::MSELossOptions::MSELossOptions(torch::enumtype::kSum)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:101:51: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
  101 |   TORCH_OPTIONS_CTOR_VARIANT_ARG3(MSELossOptions, reduction, kNone, kMean, kSum)
/usr/include/torch/csrc/api/include/torch/enum.h:92:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   92 |   OPTIONS_NAME(torch::enumtype::TYPE3 ARG_NAME) : ARG_NAME##_(torch::TYPE3) {}
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::MultiLabelMarginLossOptions::MultiLabelMarginLossOptions(torch::enumtype::kNone)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:285:7: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
  285 |       reduction,
/usr/include/torch/csrc/api/include/torch/enum.h:90:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   90 |   OPTIONS_NAME(torch::enumtype::TYPE1 ARG_NAME) : ARG_NAME##_(torch::TYPE1) {} \
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::MultiLabelMarginLossOptions::MultiLabelMarginLossOptions(torch::enumtype::kMean)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:285:7: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
  285 |       reduction,
/usr/include/torch/csrc/api/include/torch/enum.h:91:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   91 |   OPTIONS_NAME(torch::enumtype::TYPE2 ARG_NAME) : ARG_NAME##_(torch::TYPE2) {} \
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::MultiLabelMarginLossOptions::MultiLabelMarginLossOptions(torch::enumtype::kSum)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:285:7: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
  285 |       reduction,
/usr/include/torch/csrc/api/include/torch/enum.h:92:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   92 |   OPTIONS_NAME(torch::enumtype::TYPE3 ARG_NAME) : ARG_NAME##_(torch::TYPE3) {}
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::SoftMarginLossOptions::SoftMarginLossOptions(torch::enumtype::kNone)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:326:7: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
  326 |       reduction,
/usr/include/torch/csrc/api/include/torch/enum.h:90:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   90 |   OPTIONS_NAME(torch::enumtype::TYPE1 ARG_NAME) : ARG_NAME##_(torch::TYPE1) {} \
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::SoftMarginLossOptions::SoftMarginLossOptions(torch::enumtype::kMean)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:326:7: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
  326 |       reduction,
/usr/include/torch/csrc/api/include/torch/enum.h:91:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   91 |   OPTIONS_NAME(torch::enumtype::TYPE2 ARG_NAME) : ARG_NAME##_(torch::TYPE2) {} \
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::SoftMarginLossOptions::SoftMarginLossOptions(torch::enumtype::kSum)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:326:7: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
  326 |       reduction,
/usr/include/torch/csrc/api/include/torch/enum.h:92:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   92 |   OPTIONS_NAME(torch::enumtype::TYPE3 ARG_NAME) : ARG_NAME##_(torch::TYPE3) {}
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::SmoothL1LossOptions::SmoothL1LossOptions(torch::enumtype::kNone)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:538:7: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
  538 |       reduction,
/usr/include/torch/csrc/api/include/torch/enum.h:90:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   90 |   OPTIONS_NAME(torch::enumtype::TYPE1 ARG_NAME) : ARG_NAME##_(torch::TYPE1) {} \
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::SmoothL1LossOptions::SmoothL1LossOptions(torch::enumtype::kMean)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:538:7: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
  538 |       reduction,
/usr/include/torch/csrc/api/include/torch/enum.h:91:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   91 |   OPTIONS_NAME(torch::enumtype::TYPE2 ARG_NAME) : ARG_NAME##_(torch::TYPE2) {} \
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::SmoothL1LossOptions::SmoothL1LossOptions(torch::enumtype::kSum)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:538:7: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
  538 |       reduction,
/usr/include/torch/csrc/api/include/torch/enum.h:92:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   92 |   OPTIONS_NAME(torch::enumtype::TYPE3 ARG_NAME) : ARG_NAME##_(torch::TYPE3) {}
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::HuberLossOptions::HuberLossOptions(torch::enumtype::kNone)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:581:7: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
  581 |       reduction,
/usr/include/torch/csrc/api/include/torch/enum.h:90:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   90 |   OPTIONS_NAME(torch::enumtype::TYPE1 ARG_NAME) : ARG_NAME##_(torch::TYPE1) {} \
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::HuberLossOptions::HuberLossOptions(torch::enumtype::kMean)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:581:7: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
  581 |       reduction,
/usr/include/torch/csrc/api/include/torch/enum.h:91:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   91 |   OPTIONS_NAME(torch::enumtype::TYPE2 ARG_NAME) : ARG_NAME##_(torch::TYPE2) {} \
      |                                       ^~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h: In constructor ‘torch::nn::HuberLossOptions::HuberLossOptions(torch::enumtype::kSum)’:
/usr/include/torch/csrc/api/include/torch/nn/options/loss.h:581:7: error: unused parameter ‘reduction’ [-Werror=unused-parameter]
  581 |       reduction,
/usr/include/torch/csrc/api/include/torch/enum.h:92:39: note: in definition of macro ‘TORCH_OPTIONS_CTOR_VARIANT_ARG3’
   92 |   OPTIONS_NAME(torch::enumtype::TYPE3 ARG_NAME) : ARG_NAME##_(torch::TYPE3) {}
      |                                       ^~~~~~~~
In file included from /usr/include/torch/csrc/api/include/torch/nn/modules.h:14,
                 from /usr/include/torch/csrc/api/include/torch/nn.h:7:
/usr/include/torch/csrc/api/include/torch/nn/modules/container/sequential.h: In constructor ‘torch::nn::SequentialImpl::SequentialImpl(std::initializer_list<torch::nn::NamedAnyModule>)’:
/usr/include/torch/csrc/api/include/torch/nn/modules/container/sequential.h:122:20: error: redundant move in initialization [-Werror=redundant-move]
  122 |           std::move(named_module.name()), std::move(named_module.module()));
      |           ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/modules/container/sequential.h:122:20: note: remove ‘std::move’ call
/usr/include/torch/csrc/api/include/torch/nn/modules/container/sequential.h:122:52: error: redundant move in initialization [-Werror=redundant-move]
  122 |           std::move(named_module.name()), std::move(named_module.module()));
      |                                           ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/modules/container/sequential.h:122:52: note: remove ‘std::move’ call
In file included from /usr/include/torch/csrc/api/include/torch/nn/functional.h:6,
                 from /usr/include/torch/csrc/api/include/torch/nn.h:4:
/usr/include/torch/csrc/api/include/torch/nn/functional/dropout.h: In instantiation of ‘at::Tensor torch::nn::functional::detail::_dropoutNd_helper(at::Tensor, double, bool, bool, const char*) [with long int unbatched_dim = 3; long int batched_dim = 4]’:
/usr/include/torch/csrc/api/include/torch/nn/functional/dropout.h:91:33:   required from here
/usr/include/torch/csrc/api/include/torch/nn/functional/dropout.h:57:17: error: unused parameter ‘fn_name’ [-Werror=unused-parameter]
   57 |     const char* fn_name) {
      |     ~~~~~~~~~~~~^~~~~~~
/usr/include/torch/csrc/api/include/torch/nn/functional/dropout.h: In instantiation of ‘at::Tensor torch::nn::functional::detail::_dropoutNd_helper(at::Tensor, double, bool, bool, const char*) [with long int unbatched_dim = 4; long int batched_dim = 5]’:
/usr/include/torch/csrc/api/include/torch/nn/functional/dropout.h:123:33:   required from here
/usr/include/torch/csrc/api/include/torch/nn/functional/dropout.h:57:17: error: unused parameter ‘fn_name’ [-Werror=unused-parameter]
cc1plus: all warnings being treated as errors

Last edited by vorlket (2023-12-19 09:52:24)

Offline

#14 2023-12-19 13:46:56

seth
Member
Registered: 2012-09-03
Posts: 51,578

Re: cuda and cuda11.1 are in conflict

g++ -I/usr/include/torch/csrc/api/include test.cpp -o test

And where're you linking any torch libs?
Seems to come w/ some?

mv ${srcdir}/libtorch/lib/* ${pkgdir}/usr/lib/

Offline

#15 2023-12-20 08:34:11

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

$ sudo find / -name "*libtorch*"
[sudo] password for vorlket:
/var/lib/pacman/local/libtorch-cuda-2.1.0-1
/home/vorlket/build/libtorch-cuda
/home/vorlket/build/libtorch-cuda/pkg/libtorch-cuda
/home/vorlket/build/libtorch-cuda/pkg/libtorch-cuda/usr/lib/libtorchbind_test.so
/home/vorlket/build/libtorch-cuda/pkg/libtorch-cuda/usr/lib/libtorch_cuda.so
/home/vorlket/build/libtorch-cuda/pkg/libtorch-cuda/usr/lib/libtorch_global_deps.so
/home/vorlket/build/libtorch-cuda/pkg/libtorch-cuda/usr/lib/libtorch_cpu.so
/home/vorlket/build/libtorch-cuda/pkg/libtorch-cuda/usr/lib/libtorch_python.so
/home/vorlket/build/libtorch-cuda/pkg/libtorch-cuda/usr/lib/libtorch_cuda_linalg.so
/home/vorlket/build/libtorch-cuda/pkg/libtorch-cuda/usr/lib/libtorch.so
/home/vorlket/build/libtorch-cuda/libtorch-cuda-2.1.0-1-x86_64.pkg.tar.zst
/home/vorlket/build/libtorch-cuda/libtorch-cuda-2.1.0.zip
/home/vorlket/libtorchprac
/usr/lib/libtorchbind_test.so
/usr/lib/libtorch_cpu.so
/usr/lib/libtorch_global_deps.so
/usr/lib/libtorch_cuda_linalg.so
/usr/lib/libtorch_python.so
/usr/lib/libtorch_cuda.so
/usr/lib/libtorch.so

I was able to compile it with the following:

$ g++ -I/usr/include/torch/csrc/api/include -L/usr/lib -ltorch_cuda -lc10 -ltorch_cpu test.cpp -o test

But when I run the program, it outputs the following error:

$ ./test
./test: error while loading shared libraries: libtorch_cuda.so: ELF load command address/offset not page-aligned

Last edited by vorlket (2023-12-20 09:19:15)

Offline

#16 2023-12-20 09:09:34

seth
Member
Registered: 2012-09-03
Posts: 51,578

Re: cuda and cuda11.1 are in conflict

pacman -Ql libtorch-cuda

but the point is that you're not linking any of that in your g++ call.

Offline

#17 2023-12-21 08:50:19

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

I was able to compile it with the following:

$ g++ -I/usr/include/torch/csrc/api/include -ltorch_cuda -lc10 -ltorch_cpu test.cpp -o test

But when I run the program, it outputs the following error:

$ ./test
./test: error while loading shared libraries: libtorch_cuda.so: ELF load command address/offset not page-aligned

I tried with ld -z common-page-size=4096 as well but it compiles but says it can't find the file.

Offline

#18 2023-12-21 12:49:51

seth
Member
Registered: 2012-09-03
Posts: 51,578

Offline

#19 2023-12-22 02:25:30

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

$ getconf PAGE_SIZE
4096
$ uname -a
Linux server 6.6.5-arch1-1-custom #1 SMP PREEMPT_DYNAMIC Sun, 10 Dec 2023 04:13:45 +0000 x86_64 GNU/Linux
$ lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         46 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  48
  On-line CPU(s) list:   0-47
Vendor ID:               GenuineIntel
  Model name:            Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
    CPU family:          6
    Model:               62
    Thread(s) per core:  2
    Core(s) per socket:  12
    Socket(s):           2
    Stepping:            4
    CPU(s) scaling MHz:  38%
    CPU max MHz:         3500.0000
    CPU min MHz:         1200.0000
    BogoMIPS:            5402.96
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nons
                         top_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault pti ssbd ibr
                         s ibpb stibp tpr_shadow flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts vnmi md_clear flush_l1d
Virtualization features:
  Virtualization:        VT-x
Caches (sum of all):
  L1d:                   768 KiB (24 instances)
  L1i:                   768 KiB (24 instances)
  L2:                    6 MiB (24 instances)
  L3:                    60 MiB (2 instances)
NUMA:
  NUMA node(s):          2
  NUMA node0 CPU(s):     0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46
  NUMA node1 CPU(s):     1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47
Vulnerabilities:
  Gather data sampling:  Not affected
  Itlb multihit:         KVM: Mitigation: VMX disabled
  L1tf:                  Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
  Mds:                   Mitigation; Clear CPU buffers; SMT vulnerable
  Meltdown:              Mitigation; PTI
  Mmio stale data:       Unknown: No mitigations
  Retbleed:              Not affected
  Spec rstack overflow:  Not affected
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling, PBRSB-eIBRS Not affected
  Srbds:                 Not affected
  Tsx async abort:       Not affected
$ lspci | grep "3D"
03:00.0 3D controller: NVIDIA Corporation GK110GL [Tesla K20c] (rev a1)
42:00.0 3D controller: NVIDIA Corporation GK110GL [Tesla K20c] (rev a1)

Offline

#20 2023-12-22 09:34:51

seth
Member
Registered: 2012-09-03
Posts: 51,578

Re: cuda and cuda11.1 are in conflict

ldd ./test
file /path/to/the/resolved/libtorch_cuda.so

Offline

#21 2023-12-22 10:13:13

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

$ ldd ./test
./test: error while loading shared libraries: libtorch_cuda.so: ELF load command address/offset not page-aligned
$ file /usr/lib/libtorch_cuda.so
/usr/lib/libtorch_cuda.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=423de516ebc0715ab41407dc6ba333f41ca73195, stripped

Offline

#22 2023-12-22 14:29:38

seth
Member
Registered: 2012-09-03
Posts: 51,578

Re: cuda and cuda11.1 are in conflict

strace -o /tmp/test.strace ./test
cat /tmp/test.strace | curl -F 'file=@-' 0x0.st

The "problem" here is that the python-pytorch-cuda package has

    usr/lib/libtorch_cuda.so
    usr/lib/python3.10/site-packages/torch/lib/libtorch_cuda.so

and we don't know what file causes you trouble.
Were there any compiler/linker warnings when compiling the test code?

Offline

#23 2023-12-24 00:07:20

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

I installed libtorch-cuda not python-pytorch-cuda.

$ strace -o /tmp/test.strace ./test
./test: error while loading shared libraries: libtorch_cuda.so: ELF load command address/offset not page-aligned

I don't have usr/lib/python3.10/site-packages/torch/lib/libtorch_cuda.so. Only usr/lib/libtorch_cuda.so is installed.

No compiler warning but I think when I compile a cuda program with nvcc I have to add -arch=compute_35 flag otherwise it doesn't work. I wonder if libtorch compilation used nvcc somewhere.

Last edited by vorlket (2023-12-24 00:07:54)

Offline

#24 2023-12-24 00:21:14

seth
Member
Registered: 2012-09-03
Posts: 51,578

Re: cuda and cuda11.1 are in conflict

strace -o /tmp/test.strace ./test

The interesting result of that is /tmp/test.strace

Offline

#25 2023-12-24 05:09:19

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: cuda and cuda11.1 are in conflict

$ cat /tmp/test.strace | curl -F 'file=@-' 0x0.st
http://0x0.st/HgEU.txt
$ strace -o /tmp/test.strace ./test
./test: error while loading shared libraries: libtorch_cuda.so: ELF load command address/offset not page-aligned
[vorlket@server libtorchprac]$ cat /tmp/test.strace
execve("./test", ["./test"], 0x7fff583bc8d0 /* 25 vars */) = 0
brk(NULL)                               = 0x55ae93656000
arch_prctl(0x3001 /* ARCH_??? */, 0x7fff23e96dd0) = -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=113431, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 113431, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f544ef5f000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libtorch_cuda.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@b\366\0\0\0\0\0"..., 832) = 832
newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=1314007552, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f544ef5d000
close(3)                                = 0
writev(2, [{iov_base="./test", iov_len=6}, {iov_base=": ", iov_len=2}, {iov_base="error while loading shared libra"..., iov_len=36}, {iov_base=": ", iov_len=2}, {iov_base="libtorch_cuda.so", iov_len=16}, {iov_base=": ", iov_len=2}, {iov_base="ELF load command address/offset "..., iov_len=48}, {iov_base="", iov_len=0}, {iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 10) = 113
exit_group(127)                         = ?
+++ exited with 127 +++

Offline

Board footer

Powered by FluxBB