-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add: target Linux ARM64 #53
Comments
Hi there, thx for report this issue. For add arm64 compile target, you can use { "mistricky/codesnap.nvim", version = "^1", build = "make"} But I will consider add it into cross-compile config in the future if it's necessary. The problem about "mac_window_bar" does not work has fix by #54, but I can't reproduce the "code_font_family" not work bug, they works fine on my machine (x86_64 Arch Linux with wayland session). Hack Nerd Font {
code_font_family = "Hack Nerd Font",
save_path = "~/Pictures/foo.png",
bg_theme = "bamboo",
} PingFang {
code_font_family = "PingFang",
save_path = "~/Pictures/foo.png",
bg_theme = "bamboo",
} CaskaydiaCove Nerd Font {
code_font_family = "CaskaydiaCove Nerd Font",
save_path = "~/Pictures/foo.png",
bg_theme = "bamboo",
} |
Thanks for your reply
Now I'm doing some testing and there are some problems on codesnap during install using lazy: {
"mistricky/codesnap.nvim",
build = "make",
version = "^1",
} Using this config I got this error during the install (x86), but after a neovim restart CodeSnap works as intended. Do you have any ideas on this problem?
Thanks all |
Hi @matteocavestri Can you show what output of |
The last issue appears on x86_64
On apple silicon I'll start to use codesnap after cross compile on Linux ARM64 |
Hey @matteocavestri, thx for report this bug, I fix it in latest version, you can install the CodeSnap.nvim to v1.1.5 and try again, If still have this bug, please tell me |
Thanks for your support @mistricky If you want to add ARM64 into cross-compile I,ll wait for an update. If you want I can contribute to the project to make it cross-compile on Linux ARM64. (I'm not so good in rust, but I'm learning it) |
@mistricky I've read #58. export CC=gcc
sudo dnf install libuv libuv-devel # On RHEL based systems
sudo apt-get install libtool libuv1-dev # On Debian based systems |
Hi @matteocavestri, thx for your reply.
Maybe not now, as #58 says I don't wanna add too many cross-compilation target for now.
That's great idea, I'll add it in README later. |
Thanks @mistricky |
Okay Thank u for this issue report again :) |
Document was updated https://github.com/mistricky/codesnap.nvim?tab=readme-ov-file#compile-on-arm |
I'm using Fedora Asahi Remix and I'd like to use CodeSnap on Linux ARM64.
There are other problems, maybe I'm doing something wrong:
code_font_family = "JetBrainsMono Nerd Font"
doesn't work (I have installed it and I use it)mac_window_bar = false
doesn't workThis is my config:
On x86 I only have that problems.
![snap](https://private-user-images.githubusercontent.com/109976450/318206879-2aa446db-e2c2-4a35-bebd-6141c42f43fc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA4MTY3ODcsIm5iZiI6MTcyMDgxNjQ4NywicGF0aCI6Ii8xMDk5NzY0NTAvMzE4MjA2ODc5LTJhYTQ0NmRiLWUyYzItNGEzNS1iZWJkLTYxNDFjNDJmNDNmYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMlQyMDM0NDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03MWFjNTQ1YWYzZTdiOTAyNTQ5OGM1Y2I4MTI1OWJkNTkzMmIxZWUyM2U2NDQyODk2ZjBlNzljZGRmMzU1NDJkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.6vzn-jeQ4tcZ6msiDE1w4k9N983ihYC7Z5agAlZ2Nmo)
Here an example:
Thanks all
The text was updated successfully, but these errors were encountered: