Building VirtualT on Linux

From Bitchin100 DocGarden
Revision as of 22:32, 26 January 2008 by 64.81.88.222 (talk)
Jump to navigationJump to search

Download Latest VirtualT Source

Because of the variety of Linux distros we need volunteer support to maintain good "packages" for each one. That's the best route... then no documentation is needed for install. Short of that, everyone just has to build VirtualT themselves. Of course the benefit of building it yourself is that you always have the latest and greatest features (and bugs... but that's what makes life so exciting, right?).

Open a command prompt and type:

 
cvs -z3 -d:pserver:anonymous@virtualt.cvs.sourceforge.net:/cvsroot/virtualt co -P VirtualT

Download, Build FLTK dependency

VirtualT depends on the FLTK library. FLTK is hosted at http://www.fltk.org/software.php . Download a version of fltk. These instructions were developed with fltk-1.1.7 . Decompress the package.

Change directory into fltk-x.y.z

Configure and make fltk:

./configure --enable-localjpeg --enable-localzlib --enable-localpng
make

Building VirtualT

cd into VirtualT,

export FLTKDIR=/where/is/fltk-x.y.z
make

then make should work.

Note: I have a problem getting the Help dialog to compile. I'm not sure what the problem is, but I just hacked around it by disabling it. Use your favorite text editor to edit src/display.cpp and comment out the following block of code:

void cb_help (Fl_Widget* w, void*)
{
#if 0
       Fl_Help_Dialog *HelpWin;

       HelpWin = new Fl_Help_Dialog();
       HelpWin->resize(HelpWin->x(), HelpWin->y(), 760, 550);
       HelpWin->load("doc/help.html");
       HelpWin->show();

#endif
}