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

オープン
#139 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

@leftibot がすでに取り組んでいます。

2026年5月2日 から。

  • #153 @leftibot による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
cmake, cpp
領域
build-system

調査の方向性

まず、Windows 上で cmake --build ./out\build\windows-clang-debug を使って clang Debug プリセットのビルドを再現し、src/ftxui_sample/CMakeFiles/intro.dir/main.cpp.obj に焦点を当てます。README_building.md と README_dependencies.md を読んで、文書化されているパス、ジェネレーター、セットアップ要件を比較します。プリセットのビルドが完了するか、intro ターゲットの失敗の原因が明確に特定できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Note: I also encountered this issue, 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
主要言語
CMake
スター
1.8k
フォーク
205
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cpp-best-practices/cmake_template のほかの issue

cpp-best-practices/cmake_template の issue をすべて見る

似ている issue

Build System の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。