Skip to main content

The steps we followed to create our version of Paraview are:

  1. To build Paraview, you need these other tools:
    1. Qt
      1. You should build Qt using the same compiler you are going to use to build Paraview.
      2. I used Qt 4.7 with Microsoft Visual Studio 2008. You can follow the steps here for installing Qt:
    2. DirectX SDK
      1. You can download this from the Microsoft website
    3. Python
      1. You can download this from the Python website
    4. CMake
      1. This is the software that we use to convert the Paraview source code to the compiler of your choice. You can download CMake from here
  2. Download Paraview source code. It takes some time to download.
  3. Start CMake and specify your source and build directory. Your build directory should be different from your source directory. Check “Group”,”Advanced”.¬† Click “Configure”. Select the generator (The compiler you are going to use. I selected Visual Studio 9 2008). This will take a while.
    1. cmake3
  4. .If there are any errors (usually, there will be),it is likely to be related to Python,DirectX. Even no error shows up, it is still worthy to check the following items.
    2. DirectX -> DirectX_INCLUDE_DIR, type in the include floder path in your DirectX installation. For example, C:/Program Files/Microsoft DirectX SDK-August-2006/Include
    3. DirectX -> DirectX_LIBRARY, the full path of d3d9.lib. ATTENTION! It is not the path of the “lib” folder, it is the .lib file itself.For example C:/Program Files/Microsoft DirectX SDK-August-2006/Lib/x86/d3d9.lib
      1. cmake2
    5. PYTHON_DEBUG_LIBRARY, leave it nofound
      PYTHON_LIBRARY,the full path of the file python27.lib,or different version of this file,ATTENTION again! Not the “lib” folder. For example, C:\Python27\libs\python27.lib
      PYTHON_INCLUDE_DIR, include folder path in the python installation. For example C:\Python27\include
      PYTHON_EXECUTABLE (This may be under “Ungrouped Entries”), full pathname of python.exe, for example,C:\Python27\python.exe

      1. cmake4
  5. Click “Configure” again and CMake will process everything a second time. This time you should not see any items in red.
    1. cmake5
  6. Click ” Generate”. It will take a few minutes to generate the solution. Then go to the build directory specified in CMake, open the solution,usually,ParaView.sln
    1. cmake6
  7. Add the one-line change to configure Paraview for your 3D Stereo with Nvidia’s 3D Vision:
    1. Open vtkPVServerCommon->Source Files->vtkPVOptions.cxx
      1. mvs1
    2. Go to line 80. Replace¬† this->SetStereoType(“Red-Blue”); with this->SetStereoType(“CrystalEyes”);
    3. Build or Rebuild the solution
      1. mvs3
  8. Known problems:
    1. Whitespace and/or “(“,”)” or any other special characters in the path or file name may screw you up!
  9. Follow these instructions to create installers: