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

mingw windres #4427

Closed
Akuli opened this issue Aug 13, 2021 · 2 comments
Closed

mingw windres #4427

Akuli opened this issue Aug 13, 2021 · 2 comments

Comments

@Akuli
Copy link

Akuli commented Aug 13, 2021

I have done scoop install gcc (with this fix applied #4235 (comment) ), and running windres on command prompt or powershell gives The term 'windres' is not recognized ... error, even though gcc works.

How am I supposed to install windres? I have tried:

  • scoop install windres
  • scoop search windres
  • scoop search mingw
  • scoop install codeblocks-mingw
  • Googling "scoop" "windres"
@HUMORCE
Copy link
Member

HUMORCE commented Aug 14, 2021

cannot reproduce.

> (Get-Command windres).Path
C:\Users\HUMORCE\scoop\apps\gcc\current\bin\windres.exe
> windres -V
GNU windres (GNU Binutils) 2.35.1
Copyright (C) 2020 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.

MSYS2 is recommended to you.

@Akuli
Copy link
Author

Akuli commented Aug 14, 2021

This problem is mentioned in #4235 (comment) : "scoop does not seem to handle .zst decompression"

windres is a part of binutils, which is zst compressed, and that did not install. As a workaround, I uncompressed it manually to C:\Users\a\Desktop\ and set the URL to file:///c:/users/a/desktop/mingw-w64-x86_64-binutils-2.35.1-3-any.pkg.tar in gcc.json. I also changed the checksum to match that file. I think I still need to do the same to zlib, because running windres fails with a zlib error.

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