A copy of this wiki page is kept at: Notes.wiki at the repo paraview3141
http://sourceforge.net/projects/freetype/files/freetype2/2.4.8/freetype-2.4.8.tar.gz/download
CMAKE_INSTALL_PREFIX
the path where it should be installed; ParaView_INSTALL_DEVELOPMENT
to ON
. ParaView_MPI_SUPERBUILD
to OFF
for using the System's MPI. You'll have to do these steps once per architecture (x86 and x86_64):
CMAKE_INSTALL_PREFIX
. c:\ParaViewBuilds\32bit\ParaView-3.14.1-win32-dev
- this is because Open-MPI will be automatically installed at c:\ParaViewBuilds\32bit\OpenMPI-install
C:\ParaView-xxx-SuperBuild\
QT_QMAKE_EXECUTABLE
to the full path to where qmake.exe
from Qt 4.6.3 is. ParaView_INSTALL_DEVELOPMENT
. To build them all, open the file ParaViewSuperBuild.sln
with MSVC 2008 Express.
Release
version, instead of the Debug version. Solution -> Build Solution
. ParaView-xxx-SuperBuild\Silo\SiloWindows\MSVC8\SiloWindows.sln
... paraview-3.14.1-superbuild\include\H5public.h(133) : error C2632: 'int' followed by 'int' is illegal
. ParaView-xxx-SuperBuild\ParaView-build\VTK\Utilities\vtknetcdf
and edit the file ncconfig.h
. Comment it out:
//#define ssize_t int
Save and close.
ParaView-xxx-SuperBuild\
. When all built:
Open the solution file ParaView-xxx-SuperBuild\ParaView-build\ParaView.sln
.
Release
build instead of the Debug
one. INSTALL
and select Project only -> Build only INSTALL
. INSTALL
and select Properties
; Configuration Properties -> Build Events -> Post-Build Event
; Command
edit box, change the part-DBUILD_TYPE=$(OutDir) -P cmake_install.cmake
-DBUILD_TYPE=$(OutDir) -DCOMPONENT=Development -P cmake_install.cmake
INSTALL
and select Project only -> Build only INSTALL
. Creating the self-extractables:
7z a -sfx -t7z -mx=9 -ms=on -mmt=on OpenMPI-1.4.4-win32-r1.exe OpenMPI-1.4.4-win32
7z a -sfx -t7z -mx=9 -ms=on -mmt=on ParaView-3.14.1-win32-dev-r1.exe ParaView-3.14.1-win32-dev
7z a -sfx -t7z -mx=9 -ms=on -mmt=on OpenMPI-1.4.4-win64-r1.exe OpenMPI-1.4.4-win64
7z a -sfx -t7z -mx=9 -ms=on -mmt=on ParaView-3.14.1-win64-dev-r1.exe ParaView-3.14.1-win64-dev
Currently they are self-extractable, not installers themselves. Either run where they are and place the resulting folder where you want... Or run each self-extractable like this:
OpenMPI-1.4.4-win32-r1.exe -o"C:\ParaViewDevs\"
ParaView-3.14.1-win32-dev-r1.exe -o"C:\ParaViewDevs\"
OpenMPI-1.4.4-win64-r1.exe -o"C:\ParaViewDevs\"
ParaView-3.14.1-win64-dev-r1.exe -o"C:\ParaViewDevs\"
Add additional options for:
PACKAGE
in ParaView. PACKAGE
and INSTALL
entries in superbuild. ExternalProject_Add_Step(Silo CopySiloLib
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${Silo_source}/${silo_bin_dir}/silohdf5.lib ${Silo_install}/lib/silohdf5.lib
DEPENDEES install
)
Option for VCBuild, so it can upgrade Silo more easily when using the Express editions. But vcbuild only comes with the PlatformSDK.