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

zlib and libstd dependencies for mingw build? #189

Closed
aciereszko opened this issue Apr 25, 2024 · 9 comments
Closed

zlib and libstd dependencies for mingw build? #189

aciereszko opened this issue Apr 25, 2024 · 9 comments

Comments

@aciereszko
Copy link

I was wondering, when I try to run my program with opengl32.dll and libgallium_wgl.dll I get a runtime error about missing zlib1.dll and libstd.dll

I am trying to upgrade from a pre 21 release, where this problem was not happening.

Is the intent that the users supply their own?

@aciereszko
Copy link
Author

MSVC build is fine

@pal1000
Copy link
Owner

pal1000 commented Apr 25, 2024

I don't know what's wrong with MinGW build really. I use both --prefer-static to tell Meson build to prefer static libraries and -static link argument to force use of static libraries for indirect or untracked dependencies but something is still wrong.
Can you determine the exact last working version / first broken?

@aciereszko
Copy link
Author

On it!

@aciereszko
Copy link
Author

Looks like 23.1.2 mingw and everything before is fine, and 23.1.3 and all newer versions on my machine complain about missing libstd.dll and zlib1.dll

@pal1000
Copy link
Owner

pal1000 commented Apr 28, 2024

I assumed 24bcb1f was the culprit but that's not the case.
The problem is either with Mesa or MSYS2 because mesa-dist-win only has build environment updates in between.

@pal1000
Copy link
Owner

pal1000 commented Apr 28, 2024

Also your issue report is a duplicate of #156.

@aciereszko
Copy link
Author

I see thanks.

Any reason why one would prefer binaries compiles with MSVC vs MinGW?

@pal1000
Copy link
Owner

pal1000 commented Apr 30, 2024

MSVC binaries are more stable while MinGW were a bit faster when they were working but could crash when MSVC binaries are not.

@aciereszko
Copy link
Author

Ok, thanks

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

No branches or pull requests

2 participants