[ros-dev] SmartPDF (aka SumatraPDF) in rosapps, linking problems

Klemens Friedl frik85 at gmail.com
Sat Sep 29 11:21:51 CEST 2007


SumatraPDF is a lightweight Win32 pdf viewer app
http://blog.kowalczyk.info/software/sumatrapdf/
http://code.google.com/p/sumatrapdf/

The name "sumatra" sounds weird (for an app), so I renamed the
directory and the output exe file to "SmartPDF" (based on suggestions
from #reactos).

SumatraPDF comes with VS 2k5 project files.
I have fixed various compile issues so that libjpeg, poppler,
fitz/mupdf and sumatra app itself compile without errors in mingw
(RosBE 0.3.7.2 Win32).
All code changes can be found by grep/search for "@note:", I added a
comment to each changed code line.

The remaining problem is the linking issue. Currently it does NOT link
correctly.

Timo Kreuzer mentioned on 2007-09-27 in #reactos something that may be
related to the issue:
"it [sumatrapdf] imports a function from winspool.drv by number, when
you add that number to winspool.def, it starts"


Please have a look at it, fixes are appreciated :)


Klemens


More information about the Ros-dev mailing list