[Paraview] ParaViewWeb Building problem

Kelly T. Kirk (CISD/CIV) kirk at arl.army.mil
Thu Apr 28 11:12:04 EDT 2011


When building PWServer using PavaView master git release.

include/paraview-3.11/vtkInitializationHelper.h has a new int type argument.

Which PavaView git release should I uses to build ParaViewWeb with?


[ 57%] Building CXX object 
ParaViewAdapter/CMakeFiles/PWServer.dir/main.cxx.o
cd /home/kirk/cse_web/build/EP/Build/PWServer-git/ParaViewAdapter && 
/usr/bin/c++    -Wno-deprecated -g 
-I/home/kirk/PVWeb/pv-3.11/include/paraview-3.11 
-I/home/kirk/PVWeb/include/activemq-cpp-3.1.3 
-I/usr/cta/CSE/Release/python-2.6.4/include/python2.6 
-I/home/kirk/cse_web/build/EP/Source/PWSource-git/ParaViewAdapter 
-I/home/kirk/cse_web/build/EP/Build/PWServer-git/ParaViewAdapter   -o  
CMakeFiles/PWServer.dir/main.cxx.o -c 
/home/kirk/cse_web/build/EP/Source/PWSource-git/ParaViewAdapter/main.cxx
/home/kirk/cse_web/build/EP/Source/PWSource-git/ParaViewAdapter/main.cxx: 
In function 'int main(int, char**)':
/home/kirk/cse_web/build/EP/Source/PWSource-git/ParaViewAdapter/main.cxx:40: 
error: invalid conversion from 'int' to 'const char*'
/home/kirk/cse_web/build/EP/Source/PWSource-git/ParaViewAdapter/main.cxx:40: 
error:   initializing argument 1 of 'static void 
vtkInitializationHelper::Initialize(const char*, int, 
vtkPVOptions*)                                      '
/home/kirk/cse_web/build/EP/Source/PWSource-git/ParaViewAdapter/main.cxx:40: 
error: invalid conversion from 'char**' to 'int'
/home/kirk/cse_web/build/EP/Source/PWSource-git/ParaViewAdapter/main.cxx:40: 
error:   initializing argument 2 of 'static void 
vtkInitializationHelper::Initialize(const char*, int, 
vtkPVOptions*)                                      '
make[2]: *** [ParaViewAdapter/CMakeFiles/PWServer.dir/main.cxx.o] Error 1
make[2]: Leaving directory `/home/kirk/cse_web/build/EP/Build/PWServer-git'
make[1]: *** [ParaViewAdapter/CMakeFiles/PWServer.dir/all] Error 2
make[1]: Leaving directory `/home/kirk/cse_web/build/EP/Build/PWServer-git'
make: *** [all] Error 2
Exit 2

--
Mr. Kelly T. Kirk (ARL-CISD)
U.S. Army Research Laboratory
Attn: RDRL-CIH-C
APG, MD 21005-5067
kelly.t.kirk at us.army.mil


More information about the ParaView mailing list