-
Notifications
You must be signed in to change notification settings - Fork 8
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 on arch linux #1
Comments
It seems that leif is not built, try doing make rebuild install and then lyssa |
Yes, now it did compile, but crashing at the start: ~/lyssa on git main underwent 22s781ms> lyssa [1] 2784 segmentation fault (core dumped) lyssa Stack trace of thread 2784: |
i added the .leif folder to the install make script so if you clone again and folder the installation instructions, everything should work fine. |
No luck,
|
did you reclone the repo? and if yes, did you do make install? if you did both, manually copy (lyssa dir)/vendor/leif/.leif into ~ (home dir) |
Yes, I reclone-d again this repo and did mare rebuild. I've tried with make install, and still the same isseu.
and user have all permission to that file. Trying to trace all system calls when starting the app, and noticed this:
not sure what \3 means here, maybe that's the problem? |
i already built lyssa on multiple arch systems and never got this kind of issue. you could try to fopen() the font file in another c file and test if it works there. but one issue that i know is that leif cannot start because of a outdated graphics driver. you could try updating your driver and see if it works. also you can try to compile a c program that starts a glfw window, updates it etc. (https://www.glfw.org/documentation.html) and after glfwMakeContextCurrent, call lf_init_glfw(width, height, glfw_win); and check the output. |
getting the same error on my arch laptop, any update on this? |
I'm not too familiar with c, but with the help of ChatGPT I came up with the following application:
I compiled it and I got success running it:
|
I tried to run this application and it run successfully:
Compiled it:
I'm using hyprland, not sure if that matters. |
I also had the issue about the font loading for a long time but since the merge of this patch in the leif library, I don't encounter it anymore, you should try rebuilding it with the most up to date version of leif. |
Yes, that works now. Thank you @xXDrkLeoXx ! |
Tried to compile on arch, but got an error:
The text was updated successfully, but these errors were encountered: