Building VirtualT on Linux: Difference between revisions

From Bitchin100 DocGarden
Jump to navigationJump to search
No edit summary
Line 22: Line 22:
<code><pre>cvs -z3 -d:pserver:anonymous@virtualt.cvs.sourceforge.net:/cvsroot/virtualt co -P VirtualT
<code><pre>cvs -z3 -d:pserver:anonymous@virtualt.cvs.sourceforge.net:/cvsroot/virtualt co -P VirtualT
</pre></code>
</pre></code>
== Download Packages FLTK Depends On ==
sudo apt-get build-dep libfltk1.1


== Download, Build FLTK dependency ==
== Download, Build FLTK dependency ==

Revision as of 20:48, 22 March 2009

What is this "Linux" You Speak Of?

These instructions have been tested on

  • Ubuntu
  • Slackware

Please add to the list if you have tested on another distribution.

This Sounds Hard... Why All The Steps?

Because of the rich variety of Linux distros that grace our planet 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, Linux users simply have to build VirtualT themselves. Of course the benefit of building it yourself is that you always have the latest and greatest features, and of course bugs... but that's what makes life exciting, right?).

A side benefit is that it increases the amount of people on the latest and greatest. That means more testers of new features. If you have a version that works well for you, keep that in mind before you

cvs update

to get latest and greatest.

Download Latest VirtualT Source FOR THE FIRST TIME

Open a command prompt and type:

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

Download Packages FLTK Depends On

sudo apt-get build-dep libfltk1.1

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

Updating to Latest VirtualT

cvs update

Building VirtualT

cd into VirtualT,

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

then make should work.

You should end up with a file titled 'virtualt' in your build directory. You can launch it by typing

./virtualt