Wx-View Download and Installation



1. If you want to download the source and compile it yourself, download the file wx-view_src.tgz; if you want to download and install from the executable, download the file wx-view.tgz.


2. In either case, extract the files (the files will be untarred to a directory called wx-view under the directory where you saved the downloaded file).


3. Skip this step if you downloaded the executable (file wx-view.tgz).

To compile the source code, it is necessary that wxWindows (wxGTK) version 2.2 or above is installed on your system (please refer to www.wxwindows.org for download and installation instructions).

To compile, type make (or make static, if you want to statically link the wxGTK library -- provided that you installed wxGTK with this option).


4. Login as root (if you are not already superuser), and execute the following commands:

# mkdir /usr/local/wx-view
# mkdir /usr/local/wx-view/cache
# cp wx-view *.bmp /usr/local/wx-view
# WXVIEW_DIR=/usr/local/wx-view
# PATH=$PATH:$WXVIEW_DIR
# export PATH WXVIEW_DIR



5. It is advised that you add the definition of WXVIEW_DIR to one of your initialization scripts, as well as adding it to your PATH environment variable (e.g., in the file .bash_profile). This can be done by adding the following lines to your .bash_profile:
WXVIEW_DIR=/usr/local/wx-view
PATH=$PATH:$WXVIEW_DIR
export WXVIEW_DIR PATH


(you can follow steps 4 and 5 to the letter, or you can use any alternative mechanism of your choice if you are familiar with Linux/Unix settings, scripts, etc.)

Minimum requirements:

  • Screen configuration: 640 x 480, 256 colors (800 x 600 true    color or more highly recommended).
  • Linux with kernel 2.2 or above, and GTK+ 1.2.6 or above.

  •  
    Back