Changes between Version 6 and Version 7 of BuildingInstructions
- Timestamp:
- Jan 2, 2010, 8:27:57 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingInstructions
v6 v7 1 How to build. 1 == How to build == 2 2 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 3 First, 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). 8 4 9 '' End comment by Bart '' 5 For build Lucide you need !OpenWatcom 1.8. 6 To build djvu library/plugin you need GCC 3.3.5 CSD 3. 10 7 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 === 9 adjust the paths in file 10 * \env.cmd 11 Then execute '{{{env.cmd}}}' 12 12 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 === 14 execute {{{'make'}}} in directories 17 15 18 16 * \poppler\freetype2\src … … 23 21 * \poppler\mypoppler\splash 24 22 25 Then execute \poppler\mklib.cmd, \poppler\poppler.lib will be created.23 Then execute '{{{\poppler\mklib.cmd}}}', \poppler\poppler.lib will be created. 26 24 27 2 - build the djvu library: execute make in libdjvu directory 25 === 3. build the djvu library === 26 execute '{{{make}}}' in directory 27 * \libdjvu 28 28 29 3 - build the jpeg library: execute 'wmake -f makefile.wat' in libjpeg directory 29 === 4. build the jpeg library === 30 execute '{{{wmake -f makefile.wat}}}' in directory 31 * \libjpeg 30 32 31 4 - build the plugins: execute make with makefiles in directories: 33 === 5. build the plugins === 34 execute '{{{make}}}' in directories: 32 35 * \Lucide\SOURCE\plugins\ludoc (should be build first) 33 36 * \Lucide\SOURCE\plugins\lupoppler 34 * \Lucide\SOURCE\plugins\ludjvu35 37 * \Lucide\SOURCE\plugins\lujpeg (useless plugin, just for fun) 36 38 37 5 - build the Lucide GUI: execute make in \Lucide\SOURCE\gui directory. 39 === 6. build the djvu plugin === 40 execute '{{{make -f makefile.gcc}}}' in directory 41 * \Lucide\SOURCE\plugins\ludjvu 42 43 === 7. build the Lucide GUI === 44 execute '{{{make}}}' in directory 45 * \Lucide\SOURCE\gui 46 47 48 If everything was successful the executable and all plugins are available in directory 49 * \Lucide\BIN