Build in Visual Studio IDE is broken
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- cmake, cpp
- 領域
- build-system, devtools
調査の方向性
まず Visual Studio IDE のビルドを再現し、動作しているコマンドラインの CMake ビルドと比較します。main.cpp を調べて clang-tidy の include-cleaner 警告を確認し、constexpr テストでの cppcheck の失敗を確認してから、報告されている lefticus::tools::uint_np8_t に関するコンパイラーエラーを調査します。#59 で参照されている Debug の懸念事項を含め、報告された Visual Studio IDE のビルドチェックが正常に完了し、ビルドが成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Building intro.exe using Visual Studio IDE (17.8.5) is broken due to warnings emitted by clang-tidy and cppcheck. There are also compile errors involving lefticus::tools. Building on the command line using CMake seems to work.
- clang-tidy complains about many missing includes (
misc-include-cleaner) inmain.cpp:
- The compiler (both cl and clang-cl) throws an error when attempting to add an int literal to a
lefticus::tools::uint_np8_t:
- cppcheck issues warnings (treated as errors) when checking the constexpr tests:
There are other build issues as well, such as Debug builds being broken due to the use of address sanitizer with the -MDd compiler option (see #59). I realize that perhaps building was intended to be done from the command line with this template (as mentioned before, command line builds seem to work), but when developing on windows being able to make use of Visual Studio for editing and running/debugging my code is important. This template should be made compatible with Visual Studio IDE builds.
- 主要言語
- CMake
- スター
- 1.8k
- フォーク
- 205
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cpp-best-practices/cmake_template のほかの issue
-
Put back `-Wsign-conversion` for gcc in CompilerWarnings.cmake対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
cpp-best-practices/cmake_template#140 · コメント 2 件 ·
-
From-scratch clone/build fails on `src/ftxui_sample/CMakeFiles/intro.dir/main.cpp.obj`対応中かも @leftibot が 195 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
cpp-best-practices/cmake_template#139 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
cpp-best-practices/cmake_template#91 · コメント 2 件 ·
cpp-best-practices/cmake_template の issue をすべて見る
似ている issue
-
Font inlining cache is not created or reused対応中かも @nagahara-naoki が今日担当しました。 オープンarea: @angular/build
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
angular/angular-cli#34719 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
osaurus-ai/osaurus#3422 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
foundation/foundation-emails#2127 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
mw00/project-maya#983 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信