Skip to content

Update Windows build instructions in README#658

Merged
eyal0 merged 1 commit intopcb2gcode:masterfrom
sybrenstuvel:readme-update-windows-steps
Feb 11, 2023
Merged

Update Windows build instructions in README#658
eyal0 merged 1 commit intopcb2gcode:masterfrom
sybrenstuvel:readme-update-windows-steps

Conversation

@sybrenstuvel
Copy link
Copy Markdown
Contributor

@sybrenstuvel sybrenstuvel commented Feb 11, 2023

This PR updates the README.md file with instructions that actually work on my machine, as listed in #655

The following changes are made:

  • Change "Windows prebuilt binaries are available" to "... may be available". Also I've added a little explanation as to why the Windows builds may be missing. It's intentionally vague so that it doesn't need updating for every release.
  • Use the currently used names for the 32-bit and 64-bit MSYS2 shells.
  • Write the instructions for 64-bit builds, leaving it up to the reader to adjust for 32-bit builds (instead of vice versa).
  • Change the Gerbv instructions to use the current fork on Github, which actually builds on a current install of MSYS2.
  • Remove the --prefix=/mingw<NN> options from the configure invocations, as they don't seem to be necessary. And it'll make for less adjustments when doing a 32-bit build.
  • Add a command to autmatically find and copy the required DLLs.

This fixes #655

This PR updates the `README.md` file with instructions that actually work
on my machine, as listed in pcb2gcode#655

The following changes are made:

- Change "Windows prebuilt binaries **are** available" to "... **may be**
  available". Also I've added a little explanation as to why the Windows
  builds may be missing. It's intentionally vague so that it doesn't need
  updating for every release.
- Use the currently used names for the 32-bit and 64-bit MSYS2 shells.
- Write the instructions for 64-bit builds, leaving it up to the reader to
  adjust for 32-bit builds (instead of vice versa).
- Change the Gerbv instructions to use the current fork on Github, which
  actually builds on a current install of MSYS2.
- Remove the `--prefix=/mingw<NN>` options from the `configure` invocations,
  as they don't seem to be necessary. And it'll make for less adjustments
  when doing a 32-bit build.
- Add a command to autmatically find and copy the required DLLs.
@eyal0
Copy link
Copy Markdown
Contributor

eyal0 commented Feb 11, 2023

Looks great! Would you like to fix the CI now?

🤣

As I recall, the problem with the Windows build is that the compiler kept running our of memory! I think that the problem was the CI servers and infrastructure and not the CI that I wrote.

Total pain in the ass. I'm glad that it's working for you!

@coveralls
Copy link
Copy Markdown
Collaborator

Coverage Status

Coverage: 73.796%. Remained the same when pulling 9f5ac68 on sybrenstuvel:readme-update-windows-steps into e3fcd9d on pcb2gcode:master.

@eyal0 eyal0 merged commit 7dd6252 into pcb2gcode:master Feb 11, 2023
@sybrenstuvel
Copy link
Copy Markdown
Contributor Author

Looks great! Would you like to fix the CI now?

🤣

I might just do that some day. Not today though ;-)

As I recall, the problem with the Windows build is that the compiler kept running our of memory! I think that the problem was the CI servers and infrastructure and not the CI that I wrote.

Total pain in the ass. I'm glad that it's working for you!

That's good to know.

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

Successfully merging this pull request may close these issues.

Windows build for 2.5.0?

3 participants