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

A guide for building Windows executable #189

Closed
kennybush opened this issue May 1, 2020 · 1 comment
Closed

A guide for building Windows executable #189

kennybush opened this issue May 1, 2020 · 1 comment

Comments

@kennybush
Copy link

I was trying to build Windows executable but fail with errors. Fortunately after some research I was success. Here are some experience.

  1. build MXE tool fail with cmd "make pthreads ffmpeg wxwidgets -j8 JOBS=8"
  • Use the Ubuntu environment, update all the components and try again ( I can build success in WSL Ubuntu 18.04 lts, and fail in CentOS 7.10)
  • Not need to patch "mxe.diff", it may not work with lastest MXE ;)
  • A stable network. During building you need to confirm google.com can be accessing.
  1. build Spek fail with error "possibly undefined macro: AM_OPTIONS_WXCONFIG"
  • Edit "autogen.sh" in project root dir, add " -I ../mxe/usr/i686-w64-mingw32.static/share/aclocal/" after "autoreconf -fiv" in line 9

_20200501230505

@alexkay
Copy link
Owner

alexkay commented Feb 5, 2023

These should be fixed on master.

@alexkay alexkay closed this as completed Feb 5, 2023
sylikc added a commit to sylikc/spek that referenced this issue Feb 6, 2023
* MXE build working, can't use a pre-compiled package as Spek needs to patch ffmpeg
* it takes over ~2 hours to build, so added cache action size = ~2GB... GitHub has a 10GB limit per repo
* Depedencies for MXE are the same to build Spek
* Still had to use fix, paths are tweaked from alexkay#189
* Upload the build artifact for the second stage to use.  This includes the windows binary, wxs, and tests
sylikc added a commit to sylikc/spek that referenced this issue Feb 6, 2023
* MXE build working, can't use a pre-compiled package as Spek needs to patch ffmpeg
* it takes over ~2 hours to build, so added cache action size = ~2GB... GitHub has a 10GB limit per repo
* Depedencies for MXE are the same to build Spek
* Still had to use fix, paths are tweaked from alexkay#189
* Upload the build artifact for the second stage to use.  This includes the windows binary, wxs, and tests
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