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
env: visual studio 2017+win10
I have successfully installed ffmpeg with vspkg
But there are some problems when installing 264decoder,it seems like vcpkg can't find pybind11.
(base) D:\h264decoder-master\h264decoder-master>python setup.py build_ext --cmake-args="-DCMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake"
running build_ext
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19044.
CMake Warning at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:816 (_find_package):
By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "pybind11",
but CMake did not find one.
Could not find a package configuration file provided by "pybind11" with any
of the following names:
pybind11Config.cmake
pybind11-config.cmake
Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
"pybind11_DIR" to a directory containing one of the above files. If
"pybind11" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:29 (find_package)
Fetching pybind11
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19044.
CMake Error at C:/Program Files/CMake/share/cmake-3.23/Modules/ExternalProject.cmake:2540 (message):
error: could not find git for clone of pybind11-populate
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.23/Modules/ExternalProject.cmake:3640 (_ep_add_download_command)
CMakeLists.txt:23 (ExternalProject_Add)
-- Configuring incomplete, errors occurred!
See also "D:/h264decoder-master/h264decoder-master/build/temp.win-amd64-3.9/Release/_deps/pybind11-subbuild/CMakeFiles/CMakeOutput.log".
-- Configuring incomplete, errors occurred!
See also "D:/h264decoder-master/h264decoder-master/build/temp.win-amd64-3.9/Release/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "D:\h264decoder-master\h264decoder-master\setup.py", line 79, in
setup(
File "E:\conda\lib\site-packages\setuptools_init_.py", line 153, in setup
return distutils.core.setup(**attrs)
File "E:\conda\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "E:\conda\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "E:\conda\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\h264decoder-master\h264decoder-master\setup.py", line 46, in run
self.build_extension(ext)
File "D:\h264decoder-master\h264decoder-master\setup.py", line 76, in build_extension
subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env)
File "E:\conda\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'D:\h264decoder-master\h264decoder-master', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\h264decoder-master\h264decoder-master\build\lib.win-amd64-3.9\', '-DPYTHON_EXECUTABLE=E:\conda\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=D:\h264decoder-master\h264decoder-master\build\lib.win-amd64-3.9\', '-A', 'x64', '-DCMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake']' returned non-zero exit status 1.
The text was updated successfully, but these errors were encountered:
env: visual studio 2017+win10
I have successfully installed ffmpeg with vspkg
But there are some problems when installing 264decoder,it seems like vcpkg can't find pybind11.
(base) D:\h264decoder-master\h264decoder-master>python setup.py build_ext --cmake-args="-DCMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake"
running build_ext
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19044.
CMake Warning at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:816 (_find_package):
By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "pybind11",
but CMake did not find one.
Could not find a package configuration file provided by "pybind11" with any
of the following names:
Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
"pybind11_DIR" to a directory containing one of the above files. If
"pybind11" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:29 (find_package)
Fetching pybind11
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19044.
CMake Error at C:/Program Files/CMake/share/cmake-3.23/Modules/ExternalProject.cmake:2540 (message):
error: could not find git for clone of pybind11-populate
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.23/Modules/ExternalProject.cmake:3640 (_ep_add_download_command)
CMakeLists.txt:23 (ExternalProject_Add)
-- Configuring incomplete, errors occurred!
See also "D:/h264decoder-master/h264decoder-master/build/temp.win-amd64-3.9/Release/_deps/pybind11-subbuild/CMakeFiles/CMakeOutput.log".
CMake Error at C:/Program Files/CMake/share/cmake-3.23/Modules/FetchContent.cmake:1076 (message):
CMake step for pybind11 failed: 1
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.23/Modules/FetchContent.cmake:1217:EVAL:2 (__FetchContent_directPopulate)
C:/Program Files/CMake/share/cmake-3.23/Modules/FetchContent.cmake:1217 (cmake_language)
C:/Program Files/CMake/share/cmake-3.23/Modules/FetchContent.cmake:1260 (FetchContent_Populate)
CMakeLists.txt:39 (FetchContent_MakeAvailable)
-- Configuring incomplete, errors occurred!
See also "D:/h264decoder-master/h264decoder-master/build/temp.win-amd64-3.9/Release/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "D:\h264decoder-master\h264decoder-master\setup.py", line 79, in
setup(
File "E:\conda\lib\site-packages\setuptools_init_.py", line 153, in setup
return distutils.core.setup(**attrs)
File "E:\conda\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "E:\conda\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "E:\conda\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\h264decoder-master\h264decoder-master\setup.py", line 46, in run
self.build_extension(ext)
File "D:\h264decoder-master\h264decoder-master\setup.py", line 76, in build_extension
subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env)
File "E:\conda\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'D:\h264decoder-master\h264decoder-master', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\h264decoder-master\h264decoder-master\build\lib.win-amd64-3.9\', '-DPYTHON_EXECUTABLE=E:\conda\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=D:\h264decoder-master\h264decoder-master\build\lib.win-amd64-3.9\', '-A', 'x64', '-DCMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake']' returned non-zero exit status 1.
The text was updated successfully, but these errors were encountered: