-
-
Notifications
You must be signed in to change notification settings - Fork 384
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
Missing sources on Linux (Ubuntu) - maybe instructions could be updated #79
Comments
It's noted in the documentation that Gio requires some external libraries, but I considered that it's not strictly related to this project to mention all the Gio required dependencies. That's why I mentioned that for the external dependencies check out the Gio installation section. |
I was was wondering why x11 sources are needed. Is it possible to make Caire work without Gio? And have maybe a project that wraps Caire with Gui tools? I wanted to use Caire and compare it with Sharp or libvips. Sharp as well as Caire resize images smarter than just libvips. By the way @esimov great work! |
I'm not planning to separate the GUI part from the CLI application. |
@kartikwar I did not try it anymore. I have no use case to use it with GUI. My skills of Golang are still not so well, otherwise I would have tried process images "Caire", but without it's GUI. |
@kartikwar You might want to check out caire/.github/workflows/build.yml Line 41 in 1cd0863
When I tried, there were some missing libs. I remember that I installed a few, but as said I did not dig in deeper. |
Yes I already tried this. But I was still getting the same error. I also tried adding '/usr/share/X11/xkb' to my path, still getting the same issue :-( |
Last time when I installed Caire as a snap I owned a PC with Linux installed and it worked, that's why I managed to put it on snapcrapt. Unfortunately I'm not anymore into the possession of a native Linux based system. I'm running Ubuntu under WSL2 and having a MacOS based laptop, but as you might know, Snap is not working flawlessly on these environments. I've tried to install snap on both systems, but they are not working as you might expect to work on a Linux based system. I would really like to help, but until I'm not installing a Linux VM, with much regret I'm not able to help, but if you manage to solve the problem, I would be really grateful for your contribution. |
I finally got this to work on Ubuntu (18.04+). Anyone looking for instructions might find this useful: |
Wait, where did you tried to install the gio required dependencies? The |
For me, it was not working for some reason. So had to install them separately. Not sure. The users can feel free to skip them |
Describe the bug
If I do
go install github.com/esimov/caire/cmd/caire@latest
I am getting following error:I tried earlier to include in my go file in
import ("github.com/esimov/caire")
And experienced following errors:No such file or directory for:
I could fix missing source files by installing dev version of the libs on Linux/Ubuntu with:
Bug with the Desktop version (please complete the following information):
Ubuntu 22.04.1 LTS
-
Ideally the source files are not needed. I assume that would only be possible if you have precompiled binaries.
The text was updated successfully, but these errors were encountered: