You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
c:\Self\ffmpeg-test>cmake --preset x64-static-debug
Preset CMake variables:
CMAKE_BUILD_TYPE="Debug"
CMAKE_SYSTEM_VERSION="10.0.22621.0"
CMAKE_TOOLCHAIN_FILE="c:\Self\vcpkg/scripts/buildsystems/vcpkg.cmake"
IS_DEBUG_BUILD="ON"
IS_DYNAMIC_BUILD="OFF"
OUTPUT_PATH="C:/Self/ffmpeg-test/output/x64-static-debug"
VCPKG_TARGET_TRIPLET="v142-x64-static-mt"
-- The C compiler identification is MSVC 19.29.30158.0
-- The CXX compiler identification is MSVC 19.29.30158.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- VCPKG_TARGET_TRIPLET: v142-x64-static-mt
-- VCPKG_DLL_DIR:
-- IS_DEBUG_BUILD: ON
-- IS_DYNAMIC_BUILD: OFF
-- CMAKE_CONFIGURATION_TYPES: Debug
-- OUTPUT_PATH: C:/Self/ffmpeg-test/output/x64-static-debug
CMake Error at C:/Self/vcpkg/installed/v142-x64-static-mt/share/ffmpeg/FindFFMPEG.cmake:73 (find_library):
Could not find FFMPEG_DEPENDENCY_usp10_RELEASE using the following names:
usp10
Call Stack (most recent call first):
C:/Self/vcpkg/installed/v142-x64-static-mt/share/ffmpeg/FindFFMPEG.cmake:147 (append_dependencies)
C:/Self/vcpkg/installed/v142-x64-static-mt/share/ffmpeg/vcpkg-cmake-wrapper.cmake:27 (_find_package)
C:/Self/vcpkg/scripts/buildsystems/vcpkg.cmake:813 (include)
CMakeLists.txt:54 (find_package)
-- Configuring incomplete, errors occurred!
The attachment is my modification. After the modification, it returned to normal.
Describe the bug
Failed to use ffmpeg by call
find_package(FFMPEG REQUIRED)
in CMakeLists.txtEnvironment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Success to run
cmake --build
Failure logs
The attachment is my modification. After the modification, it returned to normal.
fix-use-ffmpeg-failed.patch
The text was updated successfully, but these errors were encountered: