Build instructions

[ Unix & Linux | Windows ]

This page describes shortly how to build the Mesh Viewer from source on Unix and Windows systems. It is assumed that all required libraries are already installed.

Unix & Linux
  1. Unpack the source code
  2. Change to the source directory and depending on the Mesh Viewer version you want to build execute "make":

In case the compiler or linker could not find certain include files or libraries, you may need to edit the first lines of the Makefile. "INCPATH" and "LIBPATH" specify where the compiler and linker search for include and library files, respectively.

Windows

This is a description on how to build Mesh Viewer with Microsoft Visual C++ 2003, LibJPEG 6 and LibQT 3.

  1. Unpack the source code
  2. Create a new "Windows" project
  3. Add the Mesh Viewer source code (cpp) files to the project. Do not add the files in the glut directory and the files "qt/texture_image*". The latter files are only useful for the texture map calculation feature.
  4. Set the following C/C++ compiler options:
  5. Set the following linker options:
Back to main page