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
PS D:\py\aaproject\diffvg> python setup.py install
running install
d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running bdist_egg
running egg_info
creating diffvg.egg-info
writing diffvg.egg-info\PKG-INFO
writing dependency_links to diffvg.egg-info\dependency_links.txt
writing requirements to diffvg.egg-info\requires.txt
writing top-level names to diffvg.egg-info\top_level.txt
writing manifest file 'diffvg.egg-info\SOURCES.txt'
reading manifest file 'diffvg.egg-info\SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'diffvg.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\color.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\device.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\image.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\optimize_svg.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\parse_svg.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\pixel_filter.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\render_pytorch.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\save_svg.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\shape.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg_init_.py -> build\lib.win-amd64-cpython-311\pydiffvg
running build_ext
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
-- The C compiler identification is MSVC 19.43.34808.0
-- The CXX compiler identification is MSVC 19.43.34808.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/visualStudio/setupfile/VC/Tools/MSVC/14.43.34808/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: D:/visualStudio/setupfile/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python: D:/py/python/libs/python311.lib (found suitable version "3.11.8", minimum required is "3.6") found components: Development Development.Module Development.Embed
CMake Deprecation Warning at pybind11/CMakeLists.txt:8 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
-- pybind11 v2.6.0 dev
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Success
-- Using pybind11: (version "2.6.0" dev)
-- Build with CUDA support
CMake Warning (dev) at CMakeLists.txt:19 (find_package):
Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake
--help-policy CMP0146" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8 (found suitable version "12.8", minimum required is "10")
CMake Warning (dev) at CMakeLists.txt:33 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PythonLibs: D:/py/python/libs/python311.lib (found version "3.11.8")
-- Configuring done (14.3s)
-- Generating done (0.1s)
-- Build files have been written to: D:/py/aaproject/diffvg/build/temp.win-amd64-cpython-311/Release
适用于 .NET Framework MSBuild 版本 17.13.15+18b3035f6
1>Checking Build System
Building NVCC (Device) object CMakeFiles/diffvg.dir/Release/diffvg_generated_diffvg.cpp.obj
diffvg.cpp
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8/include\cuda.h(23382): warning C4819: 璇ユ枃浠跺寘鍚笉鑳藉湪褰撳墠浠g爜椤?936)涓〃绀虹殑瀛楃銆傝灏嗚鏂囦欢淇濆瓨涓?Unicode 鏍煎紡?鑻戜箰鏁咁惂鑽活€? [D:\py\aaproject\diffvg\build\temp.wi
n-amd64-cpython-311\Release\diffvg.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8/include\cuda.h(23937): warning C4819: 璇ユ枃浠跺寘鍚笉鑳藉湪褰撳墠浠g爜椤?936)涓〃绀虹殑瀛楃銆傝灏嗚鏂囦欢淇濆瓨涓?Unicode 鏍煎紡浠?涔愭晠類ц嵒顎? [D:\py\aaproject\diffvg\build\temp.win
-amd64-cpython-311\Release\diffvg.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8/include\cub/warp/specializations/warp_exchange_shfl.cuh(1): warning C4819: 璇ユ枃浠跺寘鍚?鑽掕寜璇橀蓟鎸夘寫鑳?936)涓〃绀虹殑瀛楃銆傝灏嗚鏂囦 欢淇濆瓨涓?Unicode 鏍煎紡浠ラ槻姝㈡暟鎹涪澶? [
D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
CUSTOMBUILD : nvcc warning : Support for offline compilation for architectures prior to '<compute/sm/lto>_75' will be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [
D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8/include\cuda.h(23382): warning C4819: 璇ユ枃浠跺寘鍚笉鑳?璇橀蓟鎸夘寫鑳?936)涓〃绀虹殑瀛楃銆傝灏嗚鏂囦欢淇濆瓨涓?Unicode 鏍煎紡浠ラ槻姝㈡暟鎹涪澶? [D:\py\aaproject\diffvg\build\temp.win
-amd64-cpython-311\Release\diffvg.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8/include\cuda.h(23937): warning C4819: 璇ユ枃浠跺寘?顑嶈崚鑼夎瘶榧绘寜顚戣儘?936)涓〃绀虹殑瀛楃銆傝灏嗚鏂囦欢淇濆瓨涓?Unicode ?琚锋彮鑻戜箰鏁咁惂鑽活€? [D:\py\aaproject\diffvg\build\temp.wi
n-amd64-cpython-311\Release\diffvg.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8/include\cub/warp/specializations/warp_exchange_shfl.cuh(1): warning C4819: 璇ユ枃浠跺寘鍚笉鑳藉湪褰撳墠浠g爜椤?936)涓〃绀虹殑瀛楃銆傝灏嗚鏂 囦欢淇濆瓨涓?Unicode 鏍煎紡浠ラ槻姝㈡暟鎹涪??
[D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
D:\py\aaproject\diffvg\pybind11\include\pybind11\cast.h(446): error : pointer or reference to incomplete type "_frame" is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\dif
fvg.vcxproj]
" " + handle(frame->f_code->co_filename).caststd::string() +
^
D:\py\aaproject\diffvg\pybind11\include\pybind11\cast.h(446): error : type name is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
" " + handle(frame->f_code->co_filename).caststd::string() +
^
D:\py\aaproject\diffvg\pybind11\include\pybind11\cast.h(448): error : pointer or reference to incomplete type "_frame" is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\dif
fvg.vcxproj]
handle(frame->f_code->co_name).caststd::string() + "\n";
^
D:\py\aaproject\diffvg\pybind11\include\pybind11\cast.h(448): error : type name is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
handle(frame->f_code->co_name).caststd::string() + "\n";
^
D:\py\aaproject\diffvg\pybind11\include\pybind11\cast.h(449): error : pointer or reference to incomplete type "_frame" is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\dif
fvg.vcxproj]
frame = frame->f_back;
^
D:/py/aaproject/diffvg/pybind11/include\pybind11/pybind11.h(2105): error : class "_ts" has no member "frame" [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
PyFrameObject *frame = PyThreadState_Get()->frame;
^
D:/py/aaproject/diffvg/pybind11/include\pybind11/pybind11.h(2106): error : pointer or reference to incomplete type "_frame" is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Releas
e\diffvg.vcxproj]
if (frame && (std::string) str(frame->f_code->co_name) == name &&
^
D:/py/aaproject/diffvg/pybind11/include\pybind11/pybind11.h(2107): error : pointer or reference to incomplete type "_frame" is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Releas
e\diffvg.vcxproj]
frame->f_code->co_argcount > 0) {
^
D:/py/aaproject/diffvg/pybind11/include\pybind11/pybind11.h(2110): error : pointer or reference to incomplete type "_frame" is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Releas
e\diffvg.vcxproj]
frame->f_locals, ((((void)0), ((PyTupleObject*)((frame->f_code->co_varnames))))->ob_item[0]));
^
D:/py/aaproject/diffvg/pybind11/include\pybind11/pybind11.h(2110): error : pointer or reference to incomplete type "_frame" is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Releas
e\diffvg.vcxproj]
frame->f_locals, ((((void)0), ((PyTupleObject*)((frame->f_code->co_varnames))))->ob_item[0]));
^
D:\py\aaproject\diffvg\diffvg.cpp(160): error : no instance of overloaded function "atomic_add" matches the argument list [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
argument types are: (, TVector2)
atomic_add(&d_p->center[0], normal * contrib);
^
D:\py\aaproject\diffvg\atomic.h(132): note #3327-D: candidate function template "atomic_add(T0 *, const TMatrix3x3 &)" failed deduction
inline void atomic_add(T0 *target, const TMatrix3x3 &source) {
^
D:\py\aaproject\diffvg\atomic.h(123): note #3327-D: candidate function template "atomic_add(T0 *, const TVector4 &)" failed deduction
inline void atomic_add(T0 *target, const TVector4 &source) {
^
D:\py\aaproject\diffvg\atomic.h(113): note #3327-D: candidate function template "atomic_add(TVector4 &, const TVector4 &)" failed deduction
inline TVector4 atomic_add(TVector4 &target, const TVector4 &source) {
^
D:\py\aaproject\diffvg\atomic.h(105): note #3327-D: candidate function template "atomic_add(T0 *, const TVector3 &)" failed deduction
inline void atomic_add(T0 *target, const TVector3 &source) {
^
D:\py\aaproject\diffvg\atomic.h(96): note #3327-D: candidate function template "atomic_add(TVector3 &, const TVector3 &)" failed deduction
inline TVector3 atomic_add(TVector3 &target, const TVector3 &source) {
^
D:\py\aaproject\diffvg\atomic.h(89): note #3327-D: candidate function template "atomic_add(T0 *, const TVector2 &)" failed deduction
inline void atomic_add(T0 *target, const TVector2 &source) {
^
D:\py\aaproject\diffvg\atomic.h(81): note #3327-D: candidate function template "atomic_add(TVector2 &, const TVector2 &)" failed deduction
inline TVector2 atomic_add(TVector2 &target, const TVector2 &source) {
^
D:\py\aaproject\diffvg\atomic.h(75): note #3327-D: candidate function template "atomic_add(T0 *, T1)" failed deduction
inline T0 atomic_add(T0 *target, T1 source) {
^
D:\py\aaproject\diffvg\atomic.h(64): note #3326-D: function "atomic_add(double &, double)" does not match because argument #2 does not match parameter
static double atomic_add(double &target, double source) {
^
D:\py\aaproject\diffvg\atomic.h(56): note #3326-D: function "atomic_add(float &, float)" does not match because argument #2 does not match parameter
static float atomic_add(float &target, float source) {
^
D:\py\aaproject\diffvg\diffvg.cpp(1692): error : function "Ellipse" is not a type name [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
py::class_(m, "Ellipse")
^
D:\py\aaproject\diffvg\pybind11\include\pybind11\detail/common.h(593): error : too few arguments for class template "pybind11::detail::pack_element" [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-
311\Release\diffvg.vcxproj]
using type = conditional_t<found, typename pack_element<index, Ts...>::type, Default>;
^
detected during:
instantiation of class "pybind11::detail::exactly_one<Predicate, Default, Ts...> [with Predicate=pybind11::class_<>::is_holder, Default=std::unique_ptr<, std::defau
lt_delete<>>, Ts=<>]" at line 599
instantiation of type "pybind11::detail::exactly_one_t<pybind11::class_<>::is_holder, std::unique_ptr<, std::default_delete<>>>" at line 1100 of D:/py/a
aproject/diffvg/pybind11/include\pybind11/pybind11.h
instantiation of class "pybind11::class_<type_, options...> [with type_=, options=<>]" at line 1692 of D:\py\aaproject\diffvg\diffvg.cpp
18 errors detected in the compilation of "D:/py/aaproject/diffvg/diffvg.cpp".
CUSTOMBUILD : nvcc warning : Support for offline compilation for architectures prior to '<compute/sm/lto>_75' will be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [
D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
diffvg.cpp
CMake Error at diffvg_generated_diffvg.cpp.obj.Release.cmake:280 (message):
Error generating file
D:/py/aaproject/diffvg/build/temp.win-amd64-cpython-311/Release/CMakeFiles/diffvg.dir//Release/diffvg_generated_diffvg.cpp.obj
D:\visualStudio\setupfile\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: “D:\py\aaproject\diffvg\diffvg.cpp;D:\py\aaproject\diffvg\scene.cpp;D:\py\aaproject\diffvg\CMakeLis
ts.txt”的自定义生成已退出,代码为 1。 [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
Traceback (most recent call last):
File "D:\py\aaproject\diffvg\setup.py", line 98, in
setup(name = 'diffvg',
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_init_.py", line 87, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 968, in run_commands
self.run_command(cmd)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\install.py", line 74, in run
self.do_egg_install()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\install.py", line 123, in do_egg_install
self.run_command('bdist_egg')
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
cmd_obj.run()
cmd_obj.run()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\bdist_egg.py", line 165, in run
cmd = self.call_command('install_lib', warn_dir=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\bdist_egg.py", line 151, in call_command
self.run_command(cmdname)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\bdist_egg.py", line 165, in run
cmd = self.call_command('install_lib', warn_dir=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\bdist_egg.py", line 151, in call_command
self.run_command(cmdname)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
cmd = self.call_command('install_lib', warn_dir=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\bdist_egg.py", line 151, in call_command
self.run_command(cmdname)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\bdist_egg.py", line 151, in call_command
self.run_command(cmdname)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\install_lib.py", line 11, in run
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\install_lib.py", line 11, in run
cmd_obj.run()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\install_lib.py", line 11, in run
self.build()
self.build()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\command\install_lib.py", line 112, in build
self.run_command('build_ext')
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\command\install_lib.py", line 112, in build
self.run_command('build_ext')
self.run_command('build_ext')
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "D:\py\aaproject\diffvg\setup.py", line 33, in run
super().run()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\build_ext.py", line 84, in run
super().run()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\build_ext.py", line 84, in run
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\build_ext.py", line 84, in run
_build_ext.run(self)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\command\build_ext.py", line 346, in run
self.build_extensions()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\command\build_ext.py", line 466, in build_extensions
self._build_extensions_serial()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\command\build_ext.py", line 492, in _build_extensions_serial
self.build_extension(ext)
File "D:\py\aaproject\diffvg\setup.py", line 68, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd = self.build_temp)
File "D:\py\python\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
The text was updated successfully, but these errors were encountered:
PS D:\py\aaproject\diffvg> python setup.py install
running install
d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running bdist_egg
running egg_info
creating diffvg.egg-info
writing diffvg.egg-info\PKG-INFO
writing dependency_links to diffvg.egg-info\dependency_links.txt
writing requirements to diffvg.egg-info\requires.txt
writing top-level names to diffvg.egg-info\top_level.txt
writing manifest file 'diffvg.egg-info\SOURCES.txt'
reading manifest file 'diffvg.egg-info\SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'diffvg.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\color.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\device.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\image.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\optimize_svg.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\parse_svg.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\pixel_filter.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\render_pytorch.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\save_svg.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg\shape.py -> build\lib.win-amd64-cpython-311\pydiffvg
copying pydiffvg_init_.py -> build\lib.win-amd64-cpython-311\pydiffvg
running build_ext
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
-- The C compiler identification is MSVC 19.43.34808.0
-- The CXX compiler identification is MSVC 19.43.34808.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/visualStudio/setupfile/VC/Tools/MSVC/14.43.34808/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: D:/visualStudio/setupfile/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python: D:/py/python/libs/python311.lib (found suitable version "3.11.8", minimum required is "3.6") found components: Development Development.Module Development.Embed
CMake Deprecation Warning at pybind11/CMakeLists.txt:8 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
-- pybind11 v2.6.0 dev
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Success
-- Using pybind11: (version "2.6.0" dev)
-- Build with CUDA support
CMake Warning (dev) at CMakeLists.txt:19 (find_package):
Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake
--help-policy CMP0146" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8 (found suitable version "12.8", minimum required is "10")
CMake Warning (dev) at CMakeLists.txt:33 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PythonLibs: D:/py/python/libs/python311.lib (found version "3.11.8")
-- Configuring done (14.3s)
-- Generating done (0.1s)
-- Build files have been written to: D:/py/aaproject/diffvg/build/temp.win-amd64-cpython-311/Release
适用于 .NET Framework MSBuild 版本 17.13.15+18b3035f6
1>Checking Build System
Building NVCC (Device) object CMakeFiles/diffvg.dir/Release/diffvg_generated_diffvg.cpp.obj
diffvg.cpp
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8/include\cuda.h(23382): warning C4819: 璇ユ枃浠跺寘鍚笉鑳藉湪褰撳墠浠g爜椤?936)涓〃绀虹殑瀛楃銆傝灏嗚鏂囦欢淇濆瓨涓?Unicode 鏍煎紡?鑻戜箰鏁咁惂鑽活€? [D:\py\aaproject\diffvg\build\temp.wi
n-amd64-cpython-311\Release\diffvg.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8/include\cuda.h(23937): warning C4819: 璇ユ枃浠跺寘鍚笉鑳藉湪褰撳墠浠g爜椤?936)涓〃绀虹殑瀛楃銆傝灏嗚鏂囦欢淇濆瓨涓?Unicode 鏍煎紡浠?涔愭晠類ц嵒顎? [D:\py\aaproject\diffvg\build\temp.win
-amd64-cpython-311\Release\diffvg.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8/include\cub/warp/specializations/warp_exchange_shfl.cuh(1): warning C4819: 璇ユ枃浠跺寘鍚?鑽掕寜璇橀蓟鎸夘寫鑳?936)涓〃绀虹殑瀛楃銆傝灏嗚鏂囦 欢淇濆瓨涓?Unicode 鏍煎紡浠ラ槻姝㈡暟鎹涪澶? [
D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
CUSTOMBUILD : nvcc warning : Support for offline compilation for architectures prior to '<compute/sm/lto>_75' will be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [
D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8/include\cuda.h(23382): warning C4819: 璇ユ枃浠跺寘鍚笉鑳?璇橀蓟鎸夘寫鑳?936)涓〃绀虹殑瀛楃銆傝灏嗚鏂囦欢淇濆瓨涓?Unicode 鏍煎紡浠ラ槻姝㈡暟鎹涪澶? [D:\py\aaproject\diffvg\build\temp.win
-amd64-cpython-311\Release\diffvg.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8/include\cuda.h(23937): warning C4819: 璇ユ枃浠跺寘?顑嶈崚鑼夎瘶榧绘寜顚戣儘?936)涓〃绀虹殑瀛楃銆傝灏嗚鏂囦欢淇濆瓨涓?Unicode ?琚锋彮鑻戜箰鏁咁惂鑽活€? [D:\py\aaproject\diffvg\build\temp.wi
n-amd64-cpython-311\Release\diffvg.vcxproj]
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8/include\cub/warp/specializations/warp_exchange_shfl.cuh(1): warning C4819: 璇ユ枃浠跺寘鍚笉鑳藉湪褰撳墠浠g爜椤?936)涓〃绀虹殑瀛楃銆傝灏嗚鏂 囦欢淇濆瓨涓?Unicode 鏍煎紡浠ラ槻姝㈡暟鎹涪??
[D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
D:\py\aaproject\diffvg\pybind11\include\pybind11\cast.h(446): error : pointer or reference to incomplete type "_frame" is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\dif
fvg.vcxproj]
" " + handle(frame->f_code->co_filename).caststd::string() +
^
D:\py\aaproject\diffvg\pybind11\include\pybind11\cast.h(446): error : type name is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
" " + handle(frame->f_code->co_filename).caststd::string() +
^
D:\py\aaproject\diffvg\pybind11\include\pybind11\cast.h(446): error : expected an expression [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
" " + handle(frame->f_code->co_filename).caststd::string() +
^
D:\py\aaproject\diffvg\pybind11\include\pybind11\cast.h(448): error : pointer or reference to incomplete type "_frame" is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\dif
fvg.vcxproj]
handle(frame->f_code->co_name).caststd::string() + "\n";
^
D:\py\aaproject\diffvg\pybind11\include\pybind11\cast.h(448): error : type name is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
handle(frame->f_code->co_name).caststd::string() + "\n";
^
D:\py\aaproject\diffvg\pybind11\include\pybind11\cast.h(448): error : expected an expression [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
handle(frame->f_code->co_name).caststd::string() + "\n";
^
D:\py\aaproject\diffvg\pybind11\include\pybind11\cast.h(449): error : pointer or reference to incomplete type "_frame" is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\dif
fvg.vcxproj]
frame = frame->f_back;
^
D:/py/aaproject/diffvg/pybind11/include\pybind11/pybind11.h(2105): error : class "_ts" has no member "frame" [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
PyFrameObject *frame = PyThreadState_Get()->frame;
^
D:/py/aaproject/diffvg/pybind11/include\pybind11/pybind11.h(2106): error : pointer or reference to incomplete type "_frame" is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Releas
e\diffvg.vcxproj]
if (frame && (std::string) str(frame->f_code->co_name) == name &&
^
D:/py/aaproject/diffvg/pybind11/include\pybind11/pybind11.h(2107): error : pointer or reference to incomplete type "_frame" is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Releas
e\diffvg.vcxproj]
frame->f_code->co_argcount > 0) {
^
D:/py/aaproject/diffvg/pybind11/include\pybind11/pybind11.h(2110): error : pointer or reference to incomplete type "_frame" is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Releas
e\diffvg.vcxproj]
frame->f_locals, ((((void)0), ((PyTupleObject*)((frame->f_code->co_varnames))))->ob_item[0]));
^
D:/py/aaproject/diffvg/pybind11/include\pybind11/pybind11.h(2110): error : pointer or reference to incomplete type "_frame" is not allowed [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Releas
e\diffvg.vcxproj]
frame->f_locals, ((((void)0), ((PyTupleObject*)((frame->f_code->co_varnames))))->ob_item[0]));
^
D:\py\aaproject\diffvg\diffvg.cpp(158): error : identifier "d_p" is undefined [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
Ellipse d_p = (Ellipse)d_shape.ptr;
^
D:\py\aaproject\diffvg\diffvg.cpp(158): error : expected an expression [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
Ellipse d_p = (Ellipse)d_shape.ptr;
^
D:\py\aaproject\diffvg\diffvg.cpp(158): error : expected a ";" [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
Ellipse d_p = (Ellipse)d_shape.ptr;
^
D:\py\aaproject\diffvg\diffvg.cpp(160): error : no instance of overloaded function "atomic_add" matches the argument list [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
argument types are: (, TVector2)
atomic_add(&d_p->center[0], normal * contrib);
^
D:\py\aaproject\diffvg\atomic.h(132): note #3327-D: candidate function template "atomic_add(T0 *, const TMatrix3x3 &)" failed deduction
inline void atomic_add(T0 *target, const TMatrix3x3 &source) {
^
D:\py\aaproject\diffvg\atomic.h(123): note #3327-D: candidate function template "atomic_add(T0 *, const TVector4 &)" failed deduction
inline void atomic_add(T0 *target, const TVector4 &source) {
^
D:\py\aaproject\diffvg\atomic.h(113): note #3327-D: candidate function template "atomic_add(TVector4 &, const TVector4 &)" failed deduction
inline TVector4 atomic_add(TVector4 &target, const TVector4 &source) {
^
D:\py\aaproject\diffvg\atomic.h(105): note #3327-D: candidate function template "atomic_add(T0 *, const TVector3 &)" failed deduction
inline void atomic_add(T0 *target, const TVector3 &source) {
^
D:\py\aaproject\diffvg\atomic.h(96): note #3327-D: candidate function template "atomic_add(TVector3 &, const TVector3 &)" failed deduction
inline TVector3 atomic_add(TVector3 &target, const TVector3 &source) {
^
D:\py\aaproject\diffvg\atomic.h(89): note #3327-D: candidate function template "atomic_add(T0 *, const TVector2 &)" failed deduction
inline void atomic_add(T0 *target, const TVector2 &source) {
^
D:\py\aaproject\diffvg\atomic.h(81): note #3327-D: candidate function template "atomic_add(TVector2 &, const TVector2 &)" failed deduction
inline TVector2 atomic_add(TVector2 &target, const TVector2 &source) {
^
D:\py\aaproject\diffvg\atomic.h(75): note #3327-D: candidate function template "atomic_add(T0 *, T1)" failed deduction
inline T0 atomic_add(T0 *target, T1 source) {
^
D:\py\aaproject\diffvg\atomic.h(64): note #3326-D: function "atomic_add(double &, double)" does not match because argument #2 does not match parameter
static double atomic_add(double &target, double source) {
^
D:\py\aaproject\diffvg\atomic.h(56): note #3326-D: function "atomic_add(float &, float)" does not match because argument #2 does not match parameter
static float atomic_add(float &target, float source) {
^
D:\py\aaproject\diffvg\diffvg.cpp(1692): error : function "Ellipse" is not a type name [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
py::class_(m, "Ellipse")
^
D:\py\aaproject\diffvg\pybind11\include\pybind11\detail/common.h(593): error : too few arguments for class template "pybind11::detail::pack_element" [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-
311\Release\diffvg.vcxproj]
using type = conditional_t<found, typename pack_element<index, Ts...>::type, Default>;
^
detected during:
instantiation of class "pybind11::detail::exactly_one<Predicate, Default, Ts...> [with Predicate=pybind11::class_<>::is_holder, Default=std::unique_ptr<, std::defau
lt_delete<>>, Ts=<>]" at line 599
instantiation of type "pybind11::detail::exactly_one_t<pybind11::class_<>::is_holder, std::unique_ptr<, std::default_delete<>>>" at line 1100 of D:/py/a
aproject/diffvg/pybind11/include\pybind11/pybind11.h
instantiation of class "pybind11::class_<type_, options...> [with type_=, options=<>]" at line 1692 of D:\py\aaproject\diffvg\diffvg.cpp
18 errors detected in the compilation of "D:/py/aaproject/diffvg/diffvg.cpp".
CUSTOMBUILD : nvcc warning : Support for offline compilation for architectures prior to '<compute/sm/lto>_75' will be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). [
D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
diffvg.cpp
CMake Error at diffvg_generated_diffvg.cpp.obj.Release.cmake:280 (message):
Error generating file
D:/py/aaproject/diffvg/build/temp.win-amd64-cpython-311/Release/CMakeFiles/diffvg.dir//Release/diffvg_generated_diffvg.cpp.obj
D:\visualStudio\setupfile\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: “D:\py\aaproject\diffvg\diffvg.cpp;D:\py\aaproject\diffvg\scene.cpp;D:\py\aaproject\diffvg\CMakeLis
ts.txt”的自定义生成已退出,代码为 1。 [D:\py\aaproject\diffvg\build\temp.win-amd64-cpython-311\Release\diffvg.vcxproj]
Traceback (most recent call last):
File "D:\py\aaproject\diffvg\setup.py", line 98, in
setup(name = 'diffvg',
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_init_.py", line 87, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 968, in run_commands
self.run_command(cmd)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\install.py", line 74, in run
self.do_egg_install()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\install.py", line 123, in do_egg_install
self.run_command('bdist_egg')
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
cmd_obj.run()
cmd_obj.run()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\bdist_egg.py", line 165, in run
cmd = self.call_command('install_lib', warn_dir=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\bdist_egg.py", line 151, in call_command
self.run_command(cmdname)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\bdist_egg.py", line 165, in run
cmd = self.call_command('install_lib', warn_dir=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\bdist_egg.py", line 151, in call_command
self.run_command(cmdname)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
cmd = self.call_command('install_lib', warn_dir=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\bdist_egg.py", line 151, in call_command
self.run_command(cmdname)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\bdist_egg.py", line 151, in call_command
self.run_command(cmdname)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\install_lib.py", line 11, in run
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\install_lib.py", line 11, in run
cmd_obj.run()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\install_lib.py", line 11, in run
self.build()
self.build()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\command\install_lib.py", line 112, in build
self.run_command('build_ext')
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\command\install_lib.py", line 112, in build
self.run_command('build_ext')
self.run_command('build_ext')
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
self.distribution.run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
super().run_command(command)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "D:\py\aaproject\diffvg\setup.py", line 33, in run
super().run()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\build_ext.py", line 84, in run
super().run()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\build_ext.py", line 84, in run
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools\command\build_ext.py", line 84, in run
_build_ext.run(self)
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\command\build_ext.py", line 346, in run
self.build_extensions()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\command\build_ext.py", line 466, in build_extensions
self._build_extensions_serial()
File "d:\py\aaproject\diffvg.venv\Lib\site-packages\setuptools_distutils\command\build_ext.py", line 492, in _build_extensions_serial
self.build_extension(ext)
File "D:\py\aaproject\diffvg\setup.py", line 68, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd = self.build_temp)
File "D:\py\python\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
The text was updated successfully, but these errors were encountered: