1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
xCHM - the CHM viewer for UNIX
(c) 2003 - 2026 Razvan Cojocaru <rzvncj@gmail.com>
* Prerequisites
In order to be able to compile the code you need to have wxWidgets and
CHMLIB installed. You can get wxWidgets from:
http://www.wxwidgets.org
Get the GTK+ version (also known as wxGTK). xCHM currently compiles
with all flavours of wxWidgets, but only works well and looks truly
appealing with wxGTK, so I recommend against bothering to use it with
anything else.
You can get CHMLIB from:
http://www.jedrea.com/chmlib/
After you've installed the above you're ready for the next phase.
* Installing
Type ./configure --help if you're interested in parameters you can pass
to configure for compile switches. Most people will be perfectly happy
doing a:
./configure && make
Once everything is built, type
make install
and the executable should be somewhere in your $PATH (hopefully :)).
Now you can just type
xchm
and start your session.
* Generating documentation
If you'd like to generate developer documentation go to the root
of the distribution and type
doxygen
This of course implies that you have doxygen installed. The documentation
will be generated in the doc directory in HTML and LaTex format. The doc
directory will be created in the process of creating the documentation so
it's ok that it's not present by default in the tarball.
* Happy reading!
|