[Paraview] build error with boost and additional questions

Chourasia, Amit amit at sdsc.edu
Fri Mar 23 14:16:03 EDT 2012


Hello,

I have tried building Paraview3.14 with boost_1_49_0 and boost_1_47_0 versions.
I get the following error, is there a fix or workaround besides disabling boost altogether.
Please see ERROR below

Since I am doing this build for general purpose use on one of the big cluster what are canonical 
plugins which should be built? I am using the options as listed at the end of the message

Burlen mentioned sometime back that in the new version of Paraview the client and server will not require same plugins on both ends. Is this now possible?

Please also point me to documentation on how to create a Paraview profile for end users to easily use it remotely with client-server interface

Thanks
--Amit

ERROR
*************************
[ 49%] Building CXX object VTK/Infovis/CMakeFiles/vtkInfovis.dir/vtkBoostBreadthFirstSearchTree.cxx.o
/usr/include/c++/4.1.2/backward/backward_warning.h(32): warning #1224: #warning directive: This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
 #warning This file includes at least one deprecated or antiquated header. \
  ^

/oasis/scratch/amit/temp_project/ParaView-3.14.0-Source/VTK/Common/vtkMath.h(1304): warning #279: controlling expression is constant
   assert("pre: valid_range" && range[0]<=range[1]);
   ^

/oasis/scratch/amit/temp_project/ParaView-3.14.0-Source/VTK/Common/vtkMath.h(1334): warning #279: controlling expression is constant
   assert("post: valid_result" && result>=0.0 && result<=1.0);
   ^

/oasis/scratch/amit/temp_project/ParaView-3.14.0-Source/VTK/Infovis/vtkBoostBreadthFirstSearchTree.cxx(56): error: class "boost::detail::reverse_graph_edge_descriptor<vtkEdgeType>" has no member "underlying_desc"
     return e.underlying_desc.Id;
              ^

compilation aborted for /oasis/scratch/amit/temp_project/ParaView-3.14.0-Source/VTK/Infovis/vtkBoostBreadthFirstSearchTree.cxx (code 2)
make[2]: *** [VTK/Infovis/CMakeFiles/vtkInfovis.dir/vtkBoostBreadthFirstSearchTree.cxx.o] Error 2
make[1]: *** [VTK/Infovis/CMakeFiles/vtkInfovis.dir/all] Error 2
make: *** [all] Error 2


BUILD OPTIONS
********************************
cmake \
 -DCMAKE_BUILD_TYPE=Debug \ 
 -DBUILD_SHARED_LIBS=ON \
 -DBUILD_TESTING=OFF \
 -DPARAVIEW_DISABLE_VTK_TESTING=ON \
 -DPARAVIEW_TESTING_WITH_PYTHON=OFF \
 -DVTK_USE_BOOST=ON \
 -DPARAVIEW_BUILD_QT_GUI=OFF \
 -DPARAVIEW_ENABLE_PYTHON=ON \
 -DPARAVIEW_USE_MPI=ON \
 -DPARAVIEW_BUILD_PLUGIN=EyeDomeLighting \
 -DPARAVIEW_USE_VISITBRIDGE=OFF \
 -DVISIT_BUILD_READER_CGNS=OFF \
 -DVISIT_BUILD_READER_Silo=OFF \
 -DBUILD_DOCUMENTATION=ON \
 -DPARAVIEW_GENERATE_PROXY_DOCUMENTATION=ON \
 -DGENERATE_FILTERS_DOCUMENTATION=ON \
 -DDOCUMENTATION_HTML_HELP=ON \
-DCMAKE_C_COMPILER=icc \
-DCMAKE_CXX_COMPILER=icpc \
-DCMAKE_INSTALL_PREFIX=/oasis/scratch/amit/temp_project/paraview_build \
-DVTK_OPENGL_HAS_OSMESA=ON \
-DVTK_USE_X=OFF \
-DOSMESA_INCLUDE_DIR=/oasis/scratch/amit/temp_project/mesa_build/include \
-DOPENGL_INCLUDE_DIR=/oasis/scratch/amit/temp_project/mesa_build/include \
-DOPENGL_gl_LIBRARY="" \
-DOPENGL_glu_LIBRARY=/oasis/scratch/amit/temp_project/mesa_build/lib/libGLU.so \
-DOSMESA_LIBRARY=/oasis/scratch/amit/temp_project/mesa_build/lib/libOSMesa32.so \
-DMPI_COMPILER=/opt/mvapich2/intel/ib/bin/mpicxx \
-DMPI_LIBRARY=/opt/mvapich2/intel/ib/lib \
-DBOOST_ROOT=/oasis/scratch/amit/temp_project/boost_1_49_0


More information about the ParaView mailing list