Changes between Version 6 and Version 7 of BuildingInstructions


Ignore:
Timestamp:
Jan 2, 2010, 8:27:57 PM (15 years ago)
Author:
rbri
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingInstructions

    v6 v7  
    1 How to build.
     1== How to build ==
    22
    3 '' Comment by Bart ''
    4  Make sure that the following 2 elements are in your INCLUDE environment:
    5  * . ( yes just the dot )
    6  * som\include form the toolkit ( e.g. e:\os2tk45\som\include )
    7  * libjpeg
     3First, you need Borland's make for OS/2 for makefile processing. (updating makefiles to work with !OpenWatcom is on our ToDo list). You may download Borland make and implib here - ftp://weird.da.ru/eros2/borland-tools-os2.zip. Store them in a separate directory (e.g. \tools).
    84
    9 '' End comment by Bart ''
     5For build Lucide you need !OpenWatcom 1.8.
     6To build djvu library/plugin you need GCC 3.3.5 CSD 3.
    107
    11 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 - ftp://weird.da.ru/eros2/borland-tools-os2.zip
     8=== 1. setup your environment ===
     9adjust the paths in file
     10 * \env.cmd
     11Then execute '{{{env.cmd}}}'
    1212
    13 For build Lucide you need !OpenWatcom 1.5.
    14 To build djvu library you need GCC 3.3.5 CSD 1.
    15 
    16 1 - build the poppler library: execute make with makefiles in directories:
     13=== 2. build the poppler library ===
     14execute {{{'make'}}} in directories
    1715
    1816 * \poppler\freetype2\src
     
    2321 * \poppler\mypoppler\splash
    2422
    25 Then execute \poppler\mklib.cmd, \poppler\poppler.lib will be created.
     23Then execute '{{{\poppler\mklib.cmd}}}', \poppler\poppler.lib will be created.
    2624
    27 2 - build the djvu library: execute make in libdjvu directory
     25=== 3. build the djvu library ===
     26execute '{{{make}}}' in directory
     27 * \libdjvu
    2828
    29 3 - build the jpeg library: execute 'wmake -f makefile.wat' in libjpeg directory
     29=== 4. build the jpeg library ===
     30execute '{{{wmake -f makefile.wat}}}' in directory
     31 * \libjpeg
    3032
    31 4 - build the plugins: execute make with makefiles in directories:
     33=== 5. build the plugins ===
     34execute '{{{make}}}' in directories:
    3235 * \Lucide\SOURCE\plugins\ludoc     (should be build first)
    3336 * \Lucide\SOURCE\plugins\lupoppler
    34  * \Lucide\SOURCE\plugins\ludjvu
    3537 * \Lucide\SOURCE\plugins\lujpeg   (useless plugin, just for fun)
    3638
    37 5 - build the Lucide GUI: execute make in \Lucide\SOURCE\gui directory.
     39=== 6. build the djvu plugin ===
     40execute '{{{make -f makefile.gcc}}}' in directory
     41 * \Lucide\SOURCE\plugins\ludjvu
     42
     43=== 7. build the Lucide GUI ===
     44execute '{{{make}}}' in directory
     45 * \Lucide\SOURCE\gui
     46
     47
     48If everything was successful the executable and all plugins are available in directory
     49 * \Lucide\BIN