proof-market-toolchain icon indicating copy to clipboard operation
proof-market-toolchain copied to clipboard

./build.sh in Docker errors

Open manylov opened this issue 1 year ago • 1 comments

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".

manylov avatar Mar 27 '23 08:03 manylov

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

git clone --recurse-submodules [email protected]:NilFoundation/proof-market-toolchain.git

to clone the repository and try to build it again.

hgedia avatar Mar 27 '23 14:03 hgedia