-
-
Notifications
You must be signed in to change notification settings - Fork 23
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 build works but dynamic build doesn't #78
Comments
Hey @astrolemonade, From a quick glance it looks similar to the following issue: 🤔 I do not think that it is related to static / dynamic compilation at all, more like that the target( |
I build crystal with the |
Even after adding that directory it still doesn't build successfully. |
Was your vscode instance opened with a shell that has the Crystalline is spawned as a sub process of a vscode helper, and the error you posted comes from crystalline trying to compile from within the editor. |
I did as you said! I wrapped the crystalline binary in a bash script that sets those variables and set it in VS code crystalline binary path. This is what I am executing instead of crystalline.
|
Hey! I have both
crystal
andshards
installed in/usr/bin
. I compiled them from source.I tried to compile crystalline from source to, commit e1dd820.
I managed to build it by using the following instructions:
I set the absolute path in the VS Code extension v0.8.4:
/home/user/Clones/crystalline/bin/crystalline
I receive the following in the PROBLEMS tab and no LSP feature works.
I am using Linux:
If you have any ideas on how to make it work let me know.
Edit 1: I used the barebones crystal executable project for testing.
I never got the dynamic build to ever run on my machine.
Edit 2: I can run the code without problems.
Edit 3: the executable from GitHub releases is statically built and it's built against musl. I am using libc.
The text was updated successfully, but these errors were encountered: