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

Could NOT find libyuv (missing: LIBYUV_LIBRARY LIBYUV_LIBRARIES LIBYUV_INCLUDE_DIR) #15

Open
Heagan opened this issue Oct 25, 2024 · 2 comments

Comments

@Heagan
Copy link

Heagan commented Oct 25, 2024

Hi sorry, please help, I'm trying to build the library following the instructions here

I have installed all requirements as well as perl which is needed to get aom.cmd built and isnt listed

Instructions say run cmake .. -DAVIF_LOCAL_AOM=ON -DAVIF_CODEC_AOM=LOCAL but a message says Setting AVIF_CODEC_AOM and AVIF_LOCAL_AOM is deprecated. Set AVIF_CODEC_AOM to LOCAL instead. so I tried that too but get the same error below

> cmake .. -DAVIF_LOCAL_AOM=ON -DAVIF_CODEC_AOM=LOCAL
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19042.
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
CMake Error at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find libyuv (missing: LIBYUV_LIBRARY LIBYUV_LIBRARIES
  LIBYUV_INCLUDE_DIR)
Call Stack (most recent call first):
  C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  cmake/Modules/Findlibyuv.cmake:52 (find_package_handle_standard_args)
  CMakeLists.txt:221 (find_package)
  CMakeLists.txt:240 (check_avif_option)


-- Configuring incomplete, errors occurred!
See also "C:/python-avif/libavif/cmake/CMakeFiles/CMakeOutput.log".

I ran libyuv.cmd and that ran fine, but I dont know what to do to link CMake with the files

Any help will be appreciated

@Heagan
Copy link
Author

Heagan commented Oct 25, 2024

Trying to build this because pip install avif was failing, another issue was opened about it and that didnt help me sadly

@Heagan
Copy link
Author

Heagan commented Oct 25, 2024

also see the CICD has been failing for months... I hope the project isnt dead

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

No branches or pull requests

1 participant