Version 6 (modified by rbri, 11 years ago) (diff)


How to build.

Comment by Bart

Make sure that the following 2 elements are in your INCLUDE environment:

  • . ( yes just the dot )
  • som\include form the toolkit ( e.g. e:\os2tk45\som\include )
  • libjpeg

End comment by Bart

First, you need Borland's make for OS/2 for makefile processing. (I'll update makefiles to work with OpenWatcom make later). You may download Borland make and implib here -

For build Lucide you need OpenWatcom 1.5. To build djvu library you need GCC 3.3.5 CSD 1.

1 - build the poppler library: execute make with makefiles in directories:

  • \poppler\freetype2\src
  • \poppler\fc-emulate-os2\fontconfig\src
  • \poppler\mypoppler\fofi
  • \poppler\mypoppler\goo
  • \poppler\mypoppler\poppler
  • \poppler\mypoppler\splash

Then execute \poppler\mklib.cmd, \poppler\poppler.lib will be created.

2 - build the djvu library: execute make in libdjvu directory

3 - build the jpeg library: execute 'wmake -f makefile.wat' in libjpeg directory

4 - build the plugins: execute make with makefiles in directories:

  • \Lucide\SOURCE\plugins\ludoc (should be build first)
  • \Lucide\SOURCE\plugins\lupoppler
  • \Lucide\SOURCE\plugins\ludjvu
  • \Lucide\SOURCE\plugins\lujpeg (useless plugin, just for fun)

5 - build the Lucide GUI: execute make in \Lucide\SOURCE\gui directory.