-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 a list of Linux dependencies #256
Comments
Hey @RazrFalcon, thanks for all your work on I explained my reasoning on why a dependency list is not present yet in #210. But I don't have a strong opinion here, I believe we could try to maintain an |
Running
Now you'd have to run a script to check which packages on your distro have these libraries. On Solus they would be:
That list could be narrowed down a bit (for distros in general) as some of these libs are likely already installed, some may not even be available (systemd, maybe other package provides We could have |
The problem is that I've spent like 10 min searching through issues to figure it out. Which is not very user-friendly. |
@manokara The library doesn't actually use
Basically, |
MAKEFLAGS error--- stderr |
|
Just wanted to add a +1 for this idea--my demo builds were working until I found the answer for installing Freetype2 using |
Let me answer this with nix-shell: with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "iced-env";
buildInputs = [
xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr libGL freetype pkgconfig freetype.dev expat
];
LD_LIBRARY_PATH = builtins.foldl'
(a: b: "${a}:${b}/lib") "${vulkan-loader}/lib" buildInputs;
} |
Thanks @suhr that did the trick, though I also needed the |
Hello, I was trying to build iced for quite more time than I'd expect on my Ubuntu 22.10, the issue was finally resolved when I headed to https://github.com/servo/font-kit and on the bottom of it's README.md there was a note: DependenciesUbuntu Linux
|
Hi, similarly on Fedora, I ended up installing 3 packages to be able to build and run the tour:
|
A list of dependencies would be very helpful for downstream users of this project. If this effort is undertaken, drawing a line between build-time and runtime dependencies would be nice. Downstream project could leverage this to quickly figure out:
|
Hi, on Fedora, I ended up installing these listed packages
plus |
For example, on Gentoo we have to install
media-libs/vulkan-loader
, otherwise it will not work.The text was updated successfully, but these errors were encountered: