CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] third party installation problem (https://www.cfd-online.com/Forums/openfoam-installation/150765-third-party-installation-problem.html)

minaret March 29, 2015 05:48

third party installation problem
 
hello
the linux distribution is opensuse 13.1
Openfoam is installed and run properly.
but when I try to run the command: ./makeParaView4 this error appears after a while:

Code:

gmake[4]: Leaving directory `/home/dc/OpenFOAM/ThirdParty-2.3.1/build/linux64Gcc/ParaView-4.1.0/CoProcessing/Adaptors/NPICAdaptor'
gmake[3]: Leaving directory `/home/dc/OpenFOAM/ThirdParty-2.3.1/build/linux64Gcc/ParaView-4.1.0/CoProcessing/Adaptors/NPICAdaptor'
[ 77%] Built target NPICAdaptor
[ 77%] Built target VTKData
[ 77%] Built target vtkEncodeString-launcher
[ 77%] Built target QVTKWidgetPlugin
[ 77%] Built target vtkParseJava
[ 77%] Built target vtkWrapHierarchy
[ 77%] Built target vtkWrapJava
[ 77%] Built target vtkWrapPython
[ 77%] Built target vtkWrapPythonInit
[ 77%] Built target vtkWrapTcl
[ 77%] Built target vtkWrapTclInit
[ 77%] Built target protobuf-lite
[ 78%] Built target QtTesting
[ 78%] Built target TestingDemo
[ 78%] Building CXX object Qt/Widgets/CMakeFiles/pqWidgets.dir/pqHelpWindow.cxx.o
/home/dc/OpenFOAM/ThirdParty-2.3.1/ParaView-4.1.0/Qt/Widgets/pqHelpWindow.cxx:56:21: fatal error: QWebPage: No such file or directory
 # include <QWebPage>
                    ^
compilation terminated.
make[2]: *** [Qt/Widgets/CMakeFiles/pqWidgets.dir/pqHelpWindow.cxx.o] Error 1
make[1]: *** [Qt/Widgets/CMakeFiles/pqWidgets.dir/all] Error 2
make: *** [all] Error 2
    ---
    Installation complete for paraview-4.1.0
    Set environment variables:

        export ParaView_DIR=/home/dc/OpenFOAM/ThirdParty-2.3.1/platforms/linux64Gcc/ParaView-4.1.0
        export PATH=$ParaView_DIR/bin:$PATH
        export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-4.1
    ---

Done
dc@linux-m93z:~/OpenFOAM/ThirdParty-2.3.1> paraFoam

FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers
./Allwclean
./Allwmake

dc@linux-m93z:~/OpenFOAM/ThirdParty-2.3.1> cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers
dc@linux-m93z:~/OpenFOAM/OpenFOAM-2.3.1/applications/utilities/postProcessing/graphics/PV4Readers> ./Allwclean
+ wclean libso vtkPV4Readers
wclean vtkPV4Readers
+ PV4blockMeshReader/Allwclean
+ rm -f '/home/dc/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libPV4blockMeshReader*'
+ rm -rf PV4blockMeshReader/Make
+ wclean libso vtkPV4blockMesh
wclean vtkPV4blockMesh
+ PV4FoamReader/Allwclean
+ rm -f '/home/dc/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libPV4FoamReader*'
+ rm -rf PV4FoamReader/Make
+ wclean libso vtkPV4Foam
wclean vtkPV4Foam
dc@linux-m93z:~/OpenFOAM/OpenFOAM-2.3.1/applications/utilities/postProcessing/graphics/PV4Readers> ./Allwmake
ERROR: ParaView not found in /home/dc/OpenFOAM/ThirdParty-2.3.1/platforms/linux64Gcc/ParaView-4.1.0
dc@linux-m93z:~/OpenFOAM/OpenFOAM-2.3.1/applications/utilities/postProcessing/graphics/PV4Readers> ./makeParaView -mesa-lib /usr/lib/i386-linux-gnu/libOSMesa.so -mesa-include /usr/include/GL -no-qt > make.log 2>&1
dc@linux-m93z:~/OpenFOAM/OpenFOAM-2.3.1/applications/utilities/postProcessing/graphics/PV4Readers> cd $WM_THIRD_PARTY_DIR
dc@linux-m93z:~/OpenFOAM/ThirdParty-2.3.1> ./makeParaView -mesa-lib /usr/lib/i386-linux-gnu/libOSMesa.so -mesa-include /usr/include/GL -no-qt > make.log 2>&1
dc@linux-m93z:~/OpenFOAM/ThirdParty-2.3.1>

what should I do?
thanks

alexeym March 29, 2015 05:54

Hi,

You should install package containing QWebPage header. I was not able to figure out what distribution you are using, here is the solution: https://www.google.com/search?q=QWebPage+package

minaret March 29, 2015 07:05

Quote:

Originally Posted by alexeym (Post 538806)
Hi,

You should install package containing QWbPage header. I was not able to figure out what distribution you are using, here is the solution: https://www.google.com/search?q=QWebPage+package

thank you for the reply.

I did this:
Code:

zypper install libqwebview.so
and then again:
Code:

cd $WM_THIRD_PARTY_DIR
./makeParaView4

but a new error appeared:

Code:

[ 76%] Building CXX object Wrapping/ClientServer/CMakeFiles/vtkPVClientServerCoreRenderingCS.dir/vtkOutlineRepresentationClientServer.cxx.o
[ 76%] Building CXX object Wrapping/ClientServer/CMakeFiles/vtkPVClientServerCoreRenderingCS.dir/vtkPVBarChartViewClientServer.cxx.o
[ 76%] Building CXX object Wrapping/ClientServer/CMakeFiles/vtkPVClientServerCoreRenderingCS.dir/vtkPVCacheKeeperClientServer.cxx.o
make[2]: *** No rule to make target `/home/dc/OpenFOAM/ThirdParty-2.3.1/ParaView-4.1.0/VTK/Common/ExecutionModel/s.vtkCompositeDataPipeline.h', needed by `/home/dc/OpenFOAM/ThirdParty-2.3.1/ParaView-4.1.0/VTK/Common/ExecutionModel/vtkCompositeDataPipeline.h'.  Stop.
make[1]: *** [Wrapping/ClientServer/CMakeFiles/vtkPVClientServerCoreRenderingCS.dir/all] Error 2
make: *** [all] Error 2
    ---
    Installation complete for paraview-4.1.0
    Set environment variables:

        export ParaView_DIR=/home/dc/OpenFOAM/ThirdParty-2.3.1/platforms/linux64Gcc/ParaView-4.1.0
        export PATH=$ParaView_DIR/bin:$PATH
        export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-4.1
    ---

Done
dc@linux-m93z:~/OpenFOAM/ThirdParty-2.3.1>

I mentioned that my distribution is opensuse13.1

alexeym March 29, 2015 07:31

Hi,

Somehow missed the name of distribution, sorry. I believe, you need to install libQtWebKit-devel package for QWebPage header. Do not know if zypper was able to resolve the package from library name.

alexeym March 29, 2015 07:51

Also see http://openfoamwiki.net/index.php/In...#openSUSE_12.3 (works for 13.1), it seems you need to install even more packages.

minaret March 29, 2015 08:29

Quote:

Originally Posted by alexeym (Post 538814)
Hi,

Somehow missed the name of distribution, sorry. I believe, you need to install libQtWebKit-devel package for QWebPage header. Do not know if zypper was able to resolve the package from library name.

thank you, thank you.
libQtWebKit solved the problem. zypper was able to resolve the package. it works well for the cavity tutorial. it seems no need to install another package.

best regards,
ali


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