Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Builds Fails #28

Open
NitroPlum opened this issue Jan 14, 2025 · 2 comments
Open

Windows Builds Fails #28

NitroPlum opened this issue Jan 14, 2025 · 2 comments

Comments

@NitroPlum
Copy link

NitroPlum commented Jan 14, 2025

Windows builds are currently failing with the following error and others are experiencing the same issue.

C1083: Cannot open include file: 'gameinput.h': No such file or directory [C:\setupsdl\fe2a0d1be2e2193d8e92209667b965ea85c87f05629f72d43437d7f66d0c6fa0\build\SDL3-shared.vcxproj]
      0 Warning(s)
      1 Error(s)
  Time Elapsed 00:00:40.86
node:internal/errors:984
  const err = new Error(message);
              ^
Error: Command failed: "cmake" "--build" "C:/setupsdl/fe2a0d1be2e2193d8e92209667b965ea85c87f05629f72d43437d7f66d0c6fa0/build" "--config" "Debug" "--verbose"
    at genericNodeError (node:internal/errors:984:15)
    at wrappedFn (node:internal/errors:538:14)
    at checkExecSyncError (node:child_process:891:11)
    at Object.execSync (node:child_process:963:15)
    at __webpack_modules__.7666.Executor.run (D:\a\_actions\libsdl-org\setup-sdl\main\packed\index.js:245:23)
    at D:\a\_actions\libsdl-org\setup-sdl\main\packed\index.js:304:47
    at step (D:\a\_actions\libsdl-org\setup-sdl\main\packed\index.js:73:23)
    at Object.next (D:\a\_actions\libsdl-org\setup-sdl\main\packed\index.js:54:53)
    at D:\a\_actions\libsdl-org\setup-sdl\main\packed\index.js:48:71
    at new Promise (<anonymous>) {
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 5932,
  stdout: null,
  stderr: null
}
Node.js v20.18.0
@madebr
Copy link
Collaborator

madebr commented Jan 14, 2025

We have a ticket upstream about this:
actions/runner-images#10980

Previous setup-sdl issue: #27
How we fixed it in a SDL3 project: icculus/DirkSimple#32

I'm leaving this ticket open for visibility

@madebr
Copy link
Collaborator

madebr commented Jan 29, 2025

The resolution seems to be: "use windows-2025"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants