support for windows 7
Author: flawristCreated May 16, 2024Updated Aug 27, 2026
Labelsinvestigate
Windows 7 x64, pdfcpu 0.7+
$ pdfcpu.exe
Exception 0xc0000005 0x8 0x0 0x0
PC=0x0
runtime.asmstdcall(0x22fcf8)
/usr/local/go/src/runtime/sys_windows_amd64.s:75 +0x7a fp=0x22fc80 sp=0x22fc60 pc=0x46db1a
rax 0x0
rbx 0xe7fff8
rcx 0xf06088
rdx 0x20
rdi 0x7fffffdd000
rsi 0x22fe78
rbp 0x22fdc0
rsp 0x22fc58
r8 0x0
r9 0x22fee8
r10 0x288a2e8
r11 0xc000004000
r12 0x22fec8
r13 0x0
r14 0xe7f280
r15 0x3
rip 0x0
rflags 0x10293
cs 0x33
fs 0x53
gs 0x2bThe reason for this behavior lies in the fact that the developers of Go language betrayed Windows 7 users by removing the compilation option for this OS. So the latest working version of your program here is 0.6. Please, add a separate build that uses an earlier version of the compiler, as @schollz did with his Croc.
Source: pdfcpu/pdfcpu