-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Unable to compile gleam_otp in a Phoenix app #21
Comments
It seems that header files are handled differently with mix than with rebar3. The build stuff is currently being rewritten so this should be fixed soon. |
This also happens for me when running The workaround worked for me when I copied |
As per the instructions in gleam-lang/otp#21.
As per the instructions in gleam-lang/otp#21.
As per the instructions in gleam-lang/otp#21.
As we've remake the Mix plugin I'm going to close this as being outdated. If you have further issues please open a new ticket, thank you |
When incorporating gleam_otp into a Phoenix application, the library fails to compile. This isn't a big deal for me, as I have a workaround for now, and it's for a personal side project that currently only runs on my dev machine.
Compile output
Other Notes
This happens when building with both gleam_compile and mix_gleam
Workaround
I've worked around this by copying
gleam.toml
from my local checkout ofgleam_otp
into thedeps/gleam_otp
folder and runningrebar3 compile
there. Once it's compile once, everything works.The text was updated successfully, but these errors were encountered: