Skip to content

Ошибка компиляции на Manjaro #1210

Description

@Archyr

git clone https://github.com/lightvector/KataGo.git; cd KataGo/cpp; cmake . -DUSE_BACKEND=TENSORRT; make -j 4 Клонирование в «KataGo»... remote: Enumerating objects: 34832, done. remote: Counting objects: 100% (136/136), done. remote: Compressing objects: 100% (58/58), done. remote: Total 34832 (delta 81), reused 83 (delta 78), pack-reused 34696 (from 3) Получение объектов: 100% (34832/34832), 106.03 MiB | 4.92 MiB/s, готово. Определение изменений: 100% (27725/27725), готово. -- The C compiler identification is GNU 16.1.1 -- The CXX compiler identification is GNU 16.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building 'katago' executable for GTP engine and other tools. -- -DUSE_BACKEND=TENSORRT, using TensorRT backend. -- Including Git revision in the compiled executable, specify -DNO_GIT_REVISION=1 to disable -- Found Git: /usr/bin/git (found version "2.54.0") -- Found CUDAToolkit: /opt/cuda/targets/x86_64-linux/include;/opt/cuda/targets/x86_64-linux/include/cccl (found version "13.3.33") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Detected TensorRT version: 10.16.0 -- Found Protobuf: /usr/lib/libprotobuf.so (found version "7.35.0") -- Found Protobuf version: 7.35.0 -- Found ZLIB: /usr/lib/libz.so (found version "1.3.2") -- Setting up build for GNU, Clang or MinGW. -- CXX flags from build type: -g -O2 -- Enabling GNU-specific build options. -- Configuring done (0.8s) -- Generating done (0.0s) -- Build files have been written to: /home/artemy/KataGo/cpp
============================================================================================================
[100%] Linking CXX executable katago /usr/bin/ld: CMakeFiles/katago.dir/onnx.pb.cc.o: неопределённая ссылка на символ «_ZN4absl12lts_2026052612log_internal17MakeCheckOpStringIbbEEPKcT_T0_S4_» /usr/bin/ld: /usr/lib/libabsl_log_internal_check_op.so.2605.0.0: error adding symbols: в командной строке не указан DSO collect2: error: выполнение ld завершилось с кодом возврата 1 make[2]: *** [CMakeFiles/katago.dir/build.make:1995: katago] Ошибка 1 make[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/katago.dir/all] Ошибка 2 make: *** [Makefile:91: all] Ошибка 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions