Skip to content

How to build the repo? #4

@MikhailBurdukov

Description

@MikhailBurdukov

Hi!
RN there are no how to build docs. I tried to build the repo the same way as main repo: https://github.com/ytsaurus/ytsaurus

cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../ytsaurus-cpp-sdk/clang.toolchain -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=../ytsaurus-cpp-sdk/cmake/conan_provider.cmake ../ytsaurus-cpp-sdk

But got such error:

  Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
  CMakeLists.txt:4 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at CMakeLists.txt:4 (project):
  The CMAKE_C_COMPILER:

    /usr/bin/clang-16;

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!

zlib/1.3.1: ERROR: 
Package '0d992ed9f90f1c38fd1c3eac3fccc60c755490e2' build failed
zlib/1.3.1: WARN: Build folder /home/mburdukov/.conan2/p/b/zlib284f668334a77/b/build/Release
ERROR: zlib/1.3.1: Error in build() method, line 85
        cmake.configure()
        ConanException: Error 1 while executing
CMake Error at cmake/conan_provider.cmake:508 (message):
  Conan install failed='1'
Call Stack (most recent call first):
  cmake/conan_provider.cmake:616 (conan_install)
  cmake/archive.cmake:1 (find_package)
  CMakeLists.txt:40 (include)

Are there any ways how to fix this? Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions