VisualStudio is unable to compile mathplot
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 68/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- cpp
- 領域
- build-system
調査の方向性
mplot/VisualOwnable.cppm の 1067 行付近、fout が宣言されている savegltf(const std::string&) の中から始めます。MSVC は std::basic_ofstream が未定義であると報告しているため、<fstream> がインクルードされているか(直接、または Windows のコンパイルが継承しないモジュール単位経由か)を確認してください。同じファイル内の他の保存/エクスポート関数がストリーム型を取得している方法と比較し、anneal_asa.vcxproj に対する GitHub Actions の Windows ランナーのビルドログを確認して再現してください。完了の条件は、Windows 2022 および 2025 のランナーがサンプルを問題なくビルドし、Linux/macOS のビルドがグリーンのまま維持されることです。
索引モデルが issue の本文から書いたものです。
説明
VisualStudio (both the "Windows 2022" github runner version and the "Windows 2025" github runner version) chokes on some code that I believe to be valid C++.
The file is VisualOwnable.cppm and the error message is:
D:\a\mathplot\mathplot\mplot\VisualOwnable.cppm(1067,27): error C2079: 'fout' uses undefined class 'std::basic_ofstream<char,std::char_traits<char>>' [D:\a\mathplot\mathplot\build\examples\anneal_asa.vcxproj]
(compiling source file '../../examples/anneal_asa.cpp')
D:\a\mathplot\mathplot\mplot\VisualOwnable.cppm(1067,27):
the template instantiation context (the oldest one first) is
D:\a\mathplot\mathplot\examples\anneal_asa.cpp(101,21):
see reference to class template instantiation 'mplot::Visual<262145>' being compiled
D:\a\mathplot\mathplot\mplot\Visual.cppm(59,34):
see reference to class template instantiation 'mplot::VisualOwnable<262145>' being compiled
D:\a\mathplot\mathplot\mplot\VisualOwnable.cppm(1065,22):
while compiling class template member function 'void mplot::VisualOwnable<262145>::savegltf(const std::string &)'
I've yet to try to make a report on this to Microsoft.
- 主要言語
- C++
- スター
- 66
- フォーク
- 13
- 平均マージ
- 12時間 42分
- マージ済み PR(30日)
- 9
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sebsjames/mathplot のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
sebsjames/mathplot#148 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
メンテナーはふだん 1 日以内に返信
sebsjames/mathplot の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
espressif/esp-matter#1913 ·
-
bug priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
chipsalliance/verible#2644 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
grafana/pyroscope-dotnet#470 ·
メンテナーはふだん 1 日以内に返信
-
documentation P5 XS
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
open-astro/AlpacaBridge#1848 ·
メンテナーはふだん 1 日以内に返信