NilFoundation / proof-market-toolchain

A toolchain for interaction with the Proof Market protocol.
https://docs.nil.foundation/proof-market
MIT License
23 stars 5 forks source link

./build.sh in Docker errors #41

Open manylov opened 1 year ago

manylov commented 1 year ago

Running sh ./build.sh in docker cause the following errors:

CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at CMakeLists.txt:26 (include):
  include could not find requested file:

    CMConfig

CMake Error at CMakeLists.txt:27 (include):
  include could not find requested file:

    CMDeploy

CMake Error at CMakeLists.txt:28 (include):
  include could not find requested file:

    CMSetupVersion

CMake Error at CMakeLists.txt:30 (cm_workspace):
  Unknown CMake command "cm_workspace".

hgedia commented 1 year ago

@manylov this error occours when we have not pulled all the submodules recursively. Can you please execute

git clone --recurse-submodules git@github.com:NilFoundation/proof-market-toolchain.git

to clone the repository and try to build it again.