Skip to content
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

CMake configure error on install with libavif with FetchContent on main (for SDL3) #440

Closed
sam20908 opened this issue Mar 31, 2024 · 1 comment · Fixed by #441
Closed

Comments

@sam20908
Copy link

sam20908 commented Mar 31, 2024

OS: Windows 11

Relevent CMake log:

1> [CMake] -- Dynamic libtiff: $<TARGET_FILE_NAME:tiff>
1> [CMake] -- SDL3_image: Using vendored libwebp
1> [CMake] -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) 
1> [CMake] -- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) 
1> [CMake] -- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) 
1> [CMake] -- Could NOT find tiff (missing: tiff_DIR)
1> [CMake] -- Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR) 
1> [CMake] -- Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR) 
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_SSE41
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_SSE41 - Success
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_SSE2
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_SSE2 - Success
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_MIPS32
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_MIPS32 - Failed
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_MIPS32
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_MIPS32 - Failed
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2 - Failed
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2 - Failed
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_NEON
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_NEON - Failed
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_NEON
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_NEON - Failed
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_MSA
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_MSA - Failed
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_MSA
1> [CMake] -- Performing Test WEBP_HAVE_FLAG_MSA - Failed
1> [CMake] -- Could NOT find GLUT (missing: GLUT_glut_LIBRARY) 
1> [CMake] -- Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR) 
1> [CMake] -- Dynamic libwebpdemux: $<TARGET_FILE_NAME:webpdemux>
1> [CMake] -- Dynamic libwebp: $<TARGET_FILE_NAME:webp>
1> [CMake] -- SDL3_image backends:
1> [CMake] -- - enabled:  stb avif bmp gif jpg lbm pcx png pnm qoi svg tga tif webp xcf xpm xv
1> [CMake] -- - disabled: imageio wic jxl
1> [CMake] -- Configuring done (20.1s)
1> [CMake] CMake Error: install(EXPORT "libavif-config" ...) includes target "avif" which requires target "dav1d" that is not in any export set.
1> [CMake] CMake Error: install(EXPORT "libavif-config" ...) includes target "avif" which requires target "aom" that is not in any export set.
@madebr
Copy link
Contributor

madebr commented Mar 31, 2024

Can you try #441?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants