CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] third party installation problem

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By alexeym
  • 1 Post By alexeym

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2015, 05:48
Default third party installation problem
  #1
Member
 
a
Join Date: Nov 2013
Posts: 34
Rep Power: 12
minaret is on a distinguished road
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
minaret is offline   Reply With Quote

Old   March 29, 2015, 05:54
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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 likes this.

Last edited by alexeym; March 29, 2015 at 07:22.
alexeym is offline   Reply With Quote

Old   March 29, 2015, 07:05
Default
  #3
Member
 
a
Join Date: Nov 2013
Posts: 34
Rep Power: 12
minaret is on a distinguished road
Quote:
Originally Posted by alexeym View Post
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
minaret is offline   Reply With Quote

Old   March 29, 2015, 07:31
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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.
minaret likes this.
alexeym is offline   Reply With Quote

Old   March 29, 2015, 07:51
Default
  #5
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Also see http://openfoamwiki.net/index.php/In...#openSUSE_12.3 (works for 13.1), it seems you need to install even more packages.
alexeym is offline   Reply With Quote

Old   March 29, 2015, 08:29
Default
  #6
Member
 
a
Join Date: Nov 2013
Posts: 34
Rep Power: 12
minaret is on a distinguished road
Quote:
Originally Posted by alexeym View Post
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
minaret is offline   Reply With Quote

Reply

Tags
qwebpage, thirdparty


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] [OpenFOAM plus] [v1612+] swak4Foam installation problem in Windows (Allwmake) LThomes OpenFOAM Community Contributions 7 October 6, 2020 13:36
[foam-extend.org] foam-extend-4.0 openSUSE Leap 42.1 Installation Problem icab OpenFOAM Installation 5 April 8, 2017 07:09
Problem with installation florvit ANSYS 0 December 8, 2016 09:10
[OpenFOAM.com] Installation Problem Manyway OpenFOAM Installation 2 July 8, 2016 13:47
Installation problem - calling blockMesh - libblockMesh.so aylalisa OpenFOAM Installation 5 November 28, 2012 09:55


All times are GMT -4. The time now is 10:30.