-
Notifications
You must be signed in to change notification settings - Fork 202
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
v1.1.0 fails with system googletest #2258
Comments
Thx for the report. libavif is packaged with its tests on FreeBSD ? What is the content of the googletest package on FreeBSD? If it is like Ubuntu, it is probably just source based (cf https://packages.ubuntu.com/focal/all/googletest/filelist and https://www.eriksmistad.no/getting-started-with-google-test-on-ubuntu/). |
Jan: With the In https://github.com/AOMediaCodec/libavif/pull/2097/files#diff-4461c617ceae0c7e0206622aacdf555aedd62eb129c2efb74c84fa1567bcbe0d, we changed from |
According to FreeBSD package file list it should be possible to find GoogleTest via CMake (e.g., |
Yes, such CMake/pkg-config name doesn't exist at least on BSDs (DragonFly, FreeBSD, NetBSD, OpenBSD). I haven't checked various Linux distros (via Repology to find recipes) as some generate file list automatically. Finding affected that also hook libavif tests is time-consuming. |
@jbeich , can you please test #2263 to see if it works for you? Thx. |
Changed since 1.1.0 * In avif.h, change "AVIF_API AVIF_NODISCARD" back to "AVIF_NODISCARD AVIF_API" to fix clang-cl and MSVC compilation errors in the shared library build on Windows. * Fix -DAVIF_GTEST=SYSTEM, AOMediaCodec/libavif#2258. * Fix infe_type and codec_config_type wrongly read as byte-aligned fields in the experimental feature AVIF_ENABLE_EXPERIMENTAL_METAV1. * When building aom as a local dependency, runtime CPU detection (`CONFIG_RUNTIME_CPU_DETECT`) is now always `ON`; in 1.1.0 it had been disabled for non-native builds. * Fix CMake config shared library leaks AOMediaCodec/libavif#2264. * Fix clang-cl compilation. * Update gain map metadata to current ISO 21496-1 draft. * cmake: Only search for ASM_NASM language on x86_64 platforms. * Fix "No known features for CXX compiler" CMake error. * Fix aom link flags so that transitive library link flags are included when aom is a static library AOMediaCodec/libavif#2274. * Fix out-of-order 'dimg' grid associations AOMediaCodec/libavif#2311. * Report files with an item used in multiple 'dimg' boxes with AVIF_RESULT_NOT_IMPLEMENTED instead of AVIF_RESULT_INVALID_IMAGE_GRID.
Regressed by #2097. Affects downstream packaging where bundled libraries are discouraged e.g., on FreeBSD.
The text was updated successfully, but these errors were encountered: