CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Building paraview (https://www.cfd-online.com/Forums/openfoam-installation/57224-building-paraview.html)

neilm February 23, 2009 12:46

centOS 5.0 at step 7 of in
 
centOS 5.0

at step 7 of installation:
removed platforms

added addCMakeVariable "VTK_USE_RPATH:BOOL=OFF" to buildParaViewFunctions

buildParaView3.3-cvs
....

CMake Error: Error in cmake code at
/home/user1/OpenFOAM/ThirdParty/ParaView3.3-cvs/DartConfig.cmake:1:
INCLUDE Could not find include file: /home/user1/OpenFOAM/ThirdParty/ParaView3.3-cvs/CTestConfig.cmake
...
-- Found Qt-Version 4.3.5
-- Found Qt-Version 4.3.5
-- Application: default ParaView Client enabled
-- Application: Custom Server enabled
-- Application: DobranoViz enabled
-- Plugin: Prism enabled
-- Found Qt-Version 4.3.5
CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
QT_X11_ICE_LIBRARY (ADVANCED)
QT_X11_SM_LIBRARY (ADVANCED)
QT_X11_Xext_LIBRARY (ADVANCED)
QT_XCURSOR_LIBRARY (ADVANCED)
QT_XINERAMA_LIBRARY (ADVANCED)
QT_XI_LIBRARY (ADVANCED)
QT_XRANDR_LIBRARY (ADVANCED)
QT_XRENDER_LIBRARY (ADVANCED)

where do I set these and what do I set them to?

rishi123 February 23, 2009 22:39

Hi Neil, You can set your var
 
Hi Neil,
You can set your variables using ccmake. The below link would help you with the variables to be set. In this site check out "Configure Paraview with cmake" and mind it you need to have cmake installed in your system for it to work. Also this ccmake should be run only in the particular paraview3.3-cvs folder.

http://paraview.org/Wiki/ParaView:Build_And_Install

Try this out and let me know if there is any problem. Fine.
Bye
Rishi

neilm February 24, 2009 10:05

problem solved by installing:
 
problem solved by installing:
libXi-devel
libXcursor-devel
libXrender-devel
libXrandr-devel
libICE-devel
libXinerama-devel
libSM-devel
libXext-devel

neilm February 24, 2009 10:09

problem solved by installing:
 
problem solved by installing:
libXi-devel
libXcursor-devel
libXrender-devel
libXrandr-devel
libICE-devel
libXinerama-devel
libSM-devel
libXext-devel

neilm February 24, 2009 10:13

problem solved by installing:
 
problem solved by installing:
libXi-devel
libXcursor-devel
libXrender-devel
libXrandr-devel
libICE-devel
libXinerama-devel
libSM-devel
libXext-devel

neilm February 24, 2009 10:30

problem solved by installing:
 
problem solved by installing:
libXi-devel
libXcursor-devel
libXrender-devel
libXrandr-devel
libICE-devel
libXinerama-devel
libSM-devel
libXext-devel

neilm February 24, 2009 10:51

new error: Building CXX o
 
new error:

[ 52%] [ 52%] Building CXX object Utilities/VTKClientServer/Graphics/CMakeFiles/vtkGraphicsCS.dir/vtkWindowedSincP olyDataFilterClientServer.o
Building CXX object Utilities/VTKClientServer/Graphics/CMakeFiles/vtkGraphicsCS.dir/vtkGraphicsCSIni t.o
Linking CXX shared library ../../../bin/libvtkGraphicsCS.so
[ 52%] Built target vtkGraphicsCS
make: *** [all] Error 2
done

matteoL May 6, 2009 12:21

hey neil, have you managed to solve that error? i have the same one...
thanks,
matteo

nirmalrishi October 12, 2009 13:03

builParaView3.3-cvs got following error
 
Hi,

When I tried to run buildParaView3.3-cvs after rmoving platforms directory, i got the following messages.

[ 52%] [ 52%] Building CXX object Utilities/VTKClientServer/Graphics/CMakeFiles/vtkGraphicsCS.dir/vtkWindowedSincPolyDataFilterClientServer.o
Building CXX object Utilities/VTKClientServer/Graphics/CMakeFiles/vtkGraphicsCS.dir/vtkGraphicsCSInit.o
Linking CXX shared library ../../../bin/libvtkGraphicsCS.so
[ 52%] Built target vtkGraphicsCS
make: *** [all] Error 2
done



please let me know, how can i avoid this and complete the installation?


All times are GMT -4. The time now is 05:58.