clockworklabs / clockworklabs/SpacetimeDB
Prost dependency fails compilation due to missing cmake
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 25.2k
- Forks
- 1.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 46
Description
I'm trying to follow along with the tutorials, but I my attempts to build the Rust client fails on the following:
Compiling prost-build v0.10.4
error: failed to run custom build command for `prost-build v0.10.4`
Caused by:
process didn't exit successfully: `D:\Projects\embark\utils\spacetime-test\client\target\debug\build\prost-build-f2951dc11fe0647b\build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=C:\Users\Peter\.cargo\registry\src\index.crates.io-6f17d22bba15001f\prost-build-0.10.4\third-party\protobuf\cmake
CMAKE_TOOLCHAIN_FILE_x86_64-pc-windows-msvc = None
CMAKE_TOOLCHAIN_FILE_x86_64_pc_windows_msvc = None
HOST_CMAKE_TOOLCHAIN_FILE = None
CMAKE_TOOLCHAIN_FILE = None
CMAKE_GENERATOR_x86_64-pc-windows-msvc = None
CMAKE_GENERATOR_x86_64_pc_windows_msvc = None
HOST_CMAKE_GENERATOR = None
CMAKE_GENERATOR = None
CMAKE_PREFIX_PATH_x86_64-pc-windows-msvc = None
CMAKE_PREFIX_PATH_x86_64_pc_windows_msvc = None
HOST_CMAKE_PREFIX_PATH = None
CMAKE_PREFIX_PATH = None
CMAKE_x86_64-pc-windows-msvc = None
CMAKE_x86_64_pc_windows_msvc = None
HOST_CMAKE = None
CMAKE = None
running: "cmake" "C:\\Users\\Peter\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\prost-build-0.10.4\\third-party\\protobuf\\cmake" "-G" "Visual Studio 16 2019" "-Thost=x64" "-Ax64" "-Dprotobuf_BUILD_TESTS=OFF" "-DCMAKE_INSTALL_PREFIX=D:\\Projects\\embark\\utils\\spacetime-test\\client\\target\\d
ebug\\build\\prost-build-f18a056a2ebc3a3f\\out" "-DCMAKE_C_FLAGS= -nologo -MD -Brepro" "-DCMAKE_C_FLAGS_DEBUG= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS_DEBUG= -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS= -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS_DEBUG= -nologo -MD -Brepro" "-DCMAKE_BUILD_TYPE=Debug"
--- stderr
thread 'main' panicked at C:\Users\Peter\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cmake-0.1.50\src\lib.rs:1098:5:
failed to execute command: program not found
is `cmake` not installed?
build script failed, must exit now
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Would really prefer to not have to install cmake just to evaluate the product. As of v11 prost is able to avoid the dependency on cmake...
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the tutorial Rust client build on Windows and inspect how the project brings in prost-build. The issue is done when the client can be built without requiring a separate CMake installation, while preserving the existing tutorial build; verify this with the reported build command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, rust
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100