Visual STG Lab

Open Source Editor

Installing VSTGL

After download of the binary for your system you have to do a few things to make VSTGL work. The static versions of VSTGL are very easy to install, but the binary is quite large. The dynamically versions are a bit more complicated to install but the binary is much smaller. If you're just interested in having a quick look at VSTGL you should pick the static version.

Installing the statically linked version
Installing the dynamically linked version
Compiling and installing the source code version

Installing the statically linked version

Step 1:
The downloaded file is the binary compressed with the GNU zip (gzip) program. To unpack the file:

[hans@portable hans]$ gunzip vstgl-<system>-static-0.3.gz

where <system> should be replaced with the type of OS you are using.

Step 2:
Copy vstgl-<system>-static-0.3 to a place in the path, usually /usr/local/bin.

That's all. Just type vstgl-<system>-static-0.3 in your xterm and you're off.

Installing the dynamically linked version

Step 1:
If you don't have the free edition Qt 1.42 library installed on your system get it from If Qt is installed on your system, you can skip this step.

Step 2:
Do steps 1 and 2 from the static section above, replacing vstgl-<system>-static-0.3 with vstgl-<system>-0.3.

Step 3:
Make your system aware of the Qt library by putting this line in your startup script. If bash is used, it is done in .bashrc

export LD_LIBRARY_PATH=/usr/local/qt/lib

assuming Qt is installed in the default location.


Some times Netscape is doing funny stuff when downloading files - like removing the extension of the file. Use the 'file' program to check if the browser unpacked the file or just removed the extension:

[hans@portable hans]$ file vstgl-<system>-static-0.3

If you get something like this: 

vstgl-<system>-static-0.3: gzip compressed data, deflated, original filename, last modified: Thu Apr 15 00:42:43 1999, os: UNIX

the browser just renamed the file, and you should rename it back before using 'gunzip', like this: 

[hans@portable hans]$ mv vstgl-<system>-static-0.3 vstgl-<system>-static-0.3.gz

If the 'file' output looks like this: 

vstgl-<system>-static-0.3: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, stripped

your browser unpacked the file for you, and you can skip the 'gunzip' step. 

Compiling and installing the source code version

The source code is compiled using some scripts, that automates the configuring and compile stages. After downloading the compressed tar archive, uncompress it with:

[hans@portable hans]$ tar xvfz vstgl-src-<version>.tar.gz

cd into the vstgl-src-<version> directory. In most cases you should only need to type the following three commands to compile and install VSTGL:

  • ./configure
  • make
  • make install
The above procedure is also described in the INSTALL file from the souce distribution.
Hosted by
SourceForge Logo