Closed Zhaoyilunnn closed 3 months ago
Successfully build from source on Windows 11 and simulate
works well. Seems to be issue with CI environment.
Check the dependents of .pyd
0.4.0
Dump of file qfvm.cp311-win_amd64.pyd
File Type: DLL
Image has the following dependencies:
python311.dll
MSVCP140.dll
VCRUNTIME140_1.dll
VCRUNTIME140.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-convert-l1-1-0.dll
api-ms-win-crt-math-l1-1-0.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
KERNEL32.dll
VCOMP140.DLL
Summary
2000 .data
3000 .pdata
D000 .rdata
1000 .reloc
1000 .rsrc
2D000 .text
12000 _RDATA
0.3.6
Dump of file .\qfvm.cp311-win_amd64.pyd
File Type: DLL
Image has the following dependencies:
python311.dll
MSVCP140.dll
VCRUNTIME140_1.dll
VCRUNTIME140.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-convert-l1-1-0.dll
api-ms-win-crt-math-l1-1-0.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
KERNEL32.dll
VCOMP140.DLL
Summary
2000 .data
3000 .pdata
D000 .rdata
1000 .reloc
1000 .rsrc
2D000 .text
12000 _RDATA
find that this issue can be resolved after installing visual studio community 2022
https://github.com/ScQ-Cloud/pyquafu/pull/176
The root cause is the debug flag
System Info
OS: Windows 11 Python: 3.11.9 PyQuafu version: 0.4.0
How to reproduce
run following script fails
报错如下