-
Notifications
You must be signed in to change notification settings - Fork 73
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
Static linking of libui #22
Comments
I looked into it briefly in the |
Looks like someone already forked iui and added static build capabilities: https://github.com/th0rex/libui-rs |
@masche842 |
@NoraCodes Any preferences for the configuration? (Or do you even want dynamic linking?) I'd go with two features ( |
@torkleyy I was hoping to be able to easily test this on a Mac and a Windows machine but haven't been able to set things up as much as I would like. Your approach sounds like a good one, though. |
I'm not sure if it works on Windows or macOS, but I made leo60228@e2d8dcf before I saw this issue and it works fine for me. |
@NoraCodes sorry, just saw this. i will test on macOS and Windows if you write the patch :) |
@leo60228 I don't know if that's helpful but I tested your fork on Windows 10 and got this error:
|
See #70. Switching to meson effectively solves the static linkage issues. |
Also see #86 which solves the same issue without relying on an external build tool. |
I looked around but I did not see any option to build a static version of libui and link it directly in our binary. I would prefer this to shipping
libui.dll
with my exectuable.Have you looked into this before?
The text was updated successfully, but these errors were encountered: