cpp-best-practices / cpp-best-practices/cmake_template

From-scratch clone/build fails on `src/ftxui_sample/CMakeFiles/intro.dir/main.cpp.obj`

Open
#139 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
CMake
Stars
1.8k
Forks
204
PR merge metrics
No merged PRs in 30d

Description

*Note: I also encountered [this issue](https://github.com/cpp-best-practices/cmake_template/issues/138), but it already has an issue which includes a fix, so I've elided it here.*

Running on Windows 10.

# Configure/generate the `clang Debug` CMake preset.
- Using Ninja as the generator; not explicitly listed in `README_building.md`, but `README_dependencies.md` specifically shows it in the example command, so I assume it's supposed to work.
- Several warnings:

Image

- I've changed no configuration options.
- I installed `vcvarsall.bat` with `setup-cpp`. It's not on PATH, possibly that's a problem?
- No idea what the `test/constexpr_tests.cpp` thing is about.

# Run `cmake --build ./out\build\windows-clang-debug`.
- *Not* `cmake --build ./build`, which is what `README_building.md` currently says; that seems to be out of date with the CMake presets.
- Warning in `fmt\base.h` and `src\format.cc`.

Image

- Failure on `src/ftxui_sample/CMakeFiles/intro.dir/main.cpp.obj`. No meaningful output given?

Image

- Further warnings in `spdlog`. These don't look too bad.

Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.