The Wayback Machine - https://web.archive.org/web/20201112041254/https://github.com/sumatrapdfreader/sumatrapdf
Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Jan 1, 2020
bin
Oct 29, 2019
Apr 18, 2020
ext
Oct 27, 2020
gfx
Jul 11, 2020
Nov 11, 2020
src
Nov 11, 2020
Oct 27, 2020
Sep 17, 2020
Oct 27, 2020

readme.md

SumatraPDF Reader

SumatraPDF is a multi-format (PDF, EPUB, MOBI, FB2, CHM, XPS, DjVu) reader for Windows under (A)GPLv3 license, with some code under BSD license (see AUTHORS).

More information:

To compile you need Visual Studio 2019 16.6 or later. Free Community edition works.

Open vs2019/SumatraPDF.sln and hit F5 to compile and run.

For best results use the latest release available as that's what I use and test with. If things don't compile, first make sure you're using the latest version of Visual Studio.

Notes on targets:

  • x32_asan target is for enabling address sanitizer, only works in 32-bit Release build and requires installing an optional "C++ AddressSanitizers" component

Asan notes

Docs:

Flags:

Can be set with env variable:

  • ASAN_OPTIONS=halt_on_error=0:allocator_may_return_null=1:verbosity=2:check_malloc_usable_size=false:print_suppressions=true:suppressions="C:\Users\kjk\src\sumatrapdf\asan.supp"

In Visual Studio, this is in Debugging, Environment section.

Note:

You can’t perform that action at this time.