Building VirtualT on Linux: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== 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?). | 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: | |||
<code><pre> | |||
cvs -z3 -d:pserver:anonymous@virtualt.cvs.sourceforge.net:/cvsroot/virtualt co -P VirtualT | |||
</pre></code> | |||
== 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: | |||
<code><pre> | <code><pre> | ||
./configure --enable-localjpeg --enable-localzlib --enable-localpng | |||
make | |||
</pre></code> | </pre></code> | ||
== Building VirtualT == | |||
cd into VirtualT, | |||
<code><pre> | <code><pre> | ||
export FLTKDIR=/where/is/fltk-x.y.z | export FLTKDIR=/where/is/fltk-x.y.z | ||
make | |||
</pre></code> | </pre></code> | ||
then make should work. | 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: | |||
<code><pre> | |||
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 | |||
} | |||
</pre></code> |
Revision as of 21:32, 26 January 2008
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
}