-
Notifications
You must be signed in to change notification settings - Fork 204
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
Not able to build static build on amazon linux 2023 #2158
Comments
Hi @dhruv-nudge, Your cmake command line looks correct. I just repeated your steps in a version of Debian Linux. I can't reproduce the cmake errors. I tested the tip of the main branch of libavif. What version of libavif are you using? What is the output of Note: Unrelated to your cmake problem: I recommend running the |
hey I am using 1.0.3 like in README cmake version 3.22.2 when runngin
and I get this when I run
do we need to install more libraries before following all the steps? |
I tried with version 1.0.4 of libavif as well in ubuntu 22, but still getting errors
|
Thanks for the libavif versions. With version 1.0.x, you need to use the old-style options to enable libaom, libyuv, etc. The README file you read is apparently from the tip of the main branch, so it describes the new-style options. This unfortunate discrepancy will be fixed when we create the 1.1.0 release. When using version 1.0.x, change
to
Note that the old-stype options will continue to be supported for a while. As for the error (or rather, warning) messages when you ran Finally, this error message from
can be fixed by removing the |
@wantehchang thanks a lot, it worked! |
I also wanted to just confirm are those optional libraries important to convert all kinds of images to |
Hi @dhruv-nudge I can only answer the question for libyuv: libavif doesn't use the optional feature of libyuv that requires libjpeg. The question is harder to answer for libsharpyuv. libsharpyuv is a component of libwebp. I believe we are running the cmake command to configure the enture libwebp, and then only build the libsharpyuv component. Intuitively I would expect that those optional features that require additional libraries to be installed on the system are outside libsharpyuv, but I didn't spend the time verifying that. |
Also, the |
Yes, that is true. The support libraries (jpeg, tiff, png, gif) are only used by the examples like cwebp and dwebp. |
I followed all the required steps and was able to build on my mac, but when I tried on amazon linux 2, I was not able to.
I am getting this error
i have already ran these commands in
ext
dirThe text was updated successfully, but these errors were encountered: