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 build support #3770

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Conversation

jeremyd2019
Copy link

@jeremyd2019 jeremyd2019 commented Dec 12, 2020

This pull request gets Fritzing building using mingw-w64, specifically tested under MSYS2.

The first commit fixes gcc errors due to casting pointers to long which is not large enough to hold a pointer on 64-bit windows. The second adapts the qmake files to basically treat mingw more like unix than win32 (because the msys2 build environment is unix-like), and the third adjusts the search for the applicationDirPath to also act like unix, plus adds (bindir)/../share/fritzing as a candidate, as the msys2 mingw 'prefix' is relocatable in terms of Windows paths.

These patches were the result of getting Fritzing packaged in msys2/MINGW-packages#7376.

These caused an error on mingw64.
Mostly want it to act like unix.
This seems to be the best option for finding the prefix.
@Kreijstal
Copy link

thank you so much!!!!

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.

2 participants