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:
- main website with downloads and documentation
- manual
- all other docs
To compile you need Visual Studio 2017. Free Community edition works. I tend to update to the latest release of Visual Studio. Lately C++ evolves quickly and Visual Studio constantly adds latest capabilities. If things don't compile, first make sure you're using the latest update of Visual Studio.
To get the code:
git clone [email protected]:sumatrapdfreader/sumatrapdf.git
Open vs2017/SumatraPDF.sln
when using Visual Studio 2017
1、if use visual studio 2019 to compile modify v140/v140_xp to v142 in vs2015/*.vcxproj files
2、error C2220: 警告被视为错误 - 没有生成“object”文件 点击项目,右击选择属性->配置属性->c/c++->常规,将“警告视为错误”的选项改为“否”。就可以!