[Paraview] build error with boost and additional questions

Aashish Chaudhary aashish.chaudhary at kitware.com
Fri Mar 23 14:29:14 EDT 2012


There is already a bug report for this:

http://www.vtk.org/Bug/bug_relationship_graph.php?bug_id=12988&graph=dependency

I believe that boost_1_49_0 won't work, Can you try earlier versions?



On Fri, Mar 23, 2012 at 2:16 PM, Chourasia, Amit <amit at sdsc.edu> wrote:

> 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>



-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120323/722159f5/attachment-0001.htm>


More information about the ParaView mailing list