Hello, I am a newbie programmer and I want to build SumatraPDF. So I cloned the latest master
branch into my computer. But when I ran doit.bat -build-pre-rel
, according to here, I was greeted with this error:
C:\Users\User\sumatrapdf-master>doit.bat -build-pre-rel
C:\Users\User\sumatrapdf-master\do>go run . -build-pre-rel
panic: invalid startDir: 'C:\Users\User\sumatrapdf-master\do', dir: 'C:\'
goroutine 1 [running]:
github.com/kjk/common/u.PanicIf(0xd8, {0xc000172d80, 0x3, 0x3})
C:/Users/User/go/pkg/mod/github.com/kjk/common@v0.0.0-20211012235022-071ab9df1850/u/base.go:26 +0x59
main.cdUpDir({0x84f7c1, 0xa})
C:/Users/User/sumatrapdf-master/do/util.go:274 +0x47
main.main()
C:/Users/User/sumatrapdf-master/do/main.go:147 +0x6a
exit status 2
How do I fix this and build successfully?