Course FAQ



Q1: OpenGL/GLUT


Q1.1: Instructions on how to run OpenGL programs in Visual C++

  1. Download the zipped file from here  and unzip it in a new folder.
  2. If you are using the CNS lab computers, do the following:
  3. If you are using your personal computer, you may repeat the previous instructions or do the following:

Q1.2: Instructions on how to run OpenGL programs in Linux

  1. GLUT normally comes with Linux. If you do not have it installed you can either compile the source or install the appropriate RPM package.

Q1.3: Problems in linking to glut (Windows/Linux)

  1. Try downloading the latest dll files directly from: http://www.xmission.com/~nate/glut.html
  2. Try downloading and compiling the source code with your compiler. The source code is available here or directly from:  http://www.xmission.com/~nate/glut.html

Q2: SVL/VL


Q2.1: Instructions on how to install SVL for use in Visual C++ programs

  1. Download the zipped file svl-1.4-bin.zip and unzip it.
  2. Copy the files to your local directory where your program resides.
  3. In your program use the command: #include "svl/SVL.h" to include the SVL header file.
  4. In the library panel of the project setting dialog add  svl.lib  to the "Object/library modules" input box.
  5. Note: If you are installing SVL on your personal computer, you may do the following:

Q2.2: Instructions on how to install SVL for use in Linux

  1. Download the RPM file from here or directly from  http://www-2.cs.cmu.edu/~ajw/public/dist/and install it.
  2. The RPM files are rather old and seem not to work properly on a newer system. If you are unable to use the RPM package you need to compile the source. Follow the following steps:

Q2.3: Problems in linking to SVL (Windows)

  1. Download the SVL source file  svl-1.4.zip  from here  or directly from   http://www-2.cs.cmu.edu/~ajw/public/dist/
  2. Unzip the source files
  3. Use the project file provided with the source code in order to compile SVL
  4. Copy the file in the lib directory to the lib directory of Visual c++ and copy the svl directory to the include directory of Visual C++.
  5. In your program use the command: #include "svl/SVL.h" to include the SVL header file.

Q2.4: Problems in linking to SVL (Linux)

  1. Download the SVL source file svl-1.4.tar.gz from here or directly from http://www-2.cs.cmu.edu/~ajw/public/dist/, and follow the steps below.
  2. tar -zvxf svl-1.4.tar.gz
  3. cd svl-1.4
  4. make linux_RH
  5. make config
  6. make install

 


Updated on August 20, 2002