Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

SDL2 Windows build fails: move/resize fallback helper is inside the X11 guard

オープン 初心者向け
#110 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

@Linductor-alkaid がすでに取り組んでいます。

2026年10月14日 から。

  • #111 @Linductor-alkaid による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
70/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
cpp
領域
desktop

調査の方向性

問題は core/window/window_backend.cpp にあります。beginWindowMove と beginWindowResize が sendX11MoveResizeForWindow を呼び出していますが、この関数は Windows では未定義です。外側の Linux/X11 ガードの #endif が、ヘルパー関数の定義と偽の場合のフォールバックに対してどこにあるかを確認してください。SDL2 ビルドが Windows/MSVC でコンパイルでき、null のウィンドウを移動・リサイズ API に渡して拒否されることを期待する window_only_probe の回帰テストが通れば完了です。

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

説明

Reproduction and cause

Configure dev 89c2d0f on Windows/MSVC with EUI_WINDOW_BACKEND=sdl2 and either OpenGL or Vulkan. core/window/window_backend.cpp fails at beginWindowMove/beginWindowResize with C3861: sendX11MoveResizeForWindow is undefined.

The helper includes its own X11-only implementation and a false fallback, but its entire definition is also accidentally enclosed by the outer Linux/X11 resource-API guard. Move that outer #endif before the helper so non-X11 callers can use its existing fallback. No new capability, dependencies or platform behavior.

This is a prerequisite for the four-backend local contribution checks while investigating #109. It is kept as its own minimal fix. A window_only_probe regression calls the public move/resize APIs with a null window and checks rejection.

主要言語
C++
スター
2k
フォーク
177
平均マージ
19時間 58分
マージ済み PR(30日)
9

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

sudoevolve/EUI-NEO のほかの issue

sudoevolve/EUI-NEO の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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