-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Fix compilation on Linux #3454
Fix compilation on Linux #3454
Conversation
Wouldn't this inadvertently break ARM64 macOS compilation? The commit hash the PR uses is really old. (It's from the If something broke in one of the newer commits, I recommend pinpointing the issue and then submitting a fix on FunkinCrew's lime fork directly! |
I personally use Debian 12 and had no issues building to Linux with that branch (except for a missing lime.ndll error that was easily solved by Also according to openfl/lime@d5b3294 the newer HxCpp is required for Mac ARM64 compilation (this seems to be only for NDlls tho?) |
Oops... I thought changing the version wouldn't bring other issues... |
It was complaining about missing Freetype librairies on my laptop running Arch Linux because the structure got changed in the newest versions I think (I had all my packages up-to-date). |
Checked the current version of hxcpp and turns out it's newer that the one that was used before ( |
Perhaps that can be solved by following |
I've found a way to build a Lime NDLL. cd .haxelib/lime/git
git submodule init
git submodule sync
git submodule update
lime rebuild cpp -64 -release -nocffi -clean
lime rebuild cpp -64 -release -nocffi -clean -debug |
Some fixes for compilation on Linux.