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

[OpenFOAM.org] version 2.1.1: problem in making Paraview on LInux 14.04

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2018, 14:34
Default version 2.1.1: problem in making Paraview on LInux 14.04
  #1
New Member
 
Alireza
Join Date: Nov 2018
Posts: 8
Rep Power: 8
alireza.sh is on a distinguished road
Dear users
I used the:
Code:
./makeParaView
to install ThirdParty-2.1.1 on UBUNTU14.04

I receive the error in the middle of installation:



---
Code:
[ 80%] Built target vtkSMExtractDocumentation
[ 81%] Built target QtTesting
[ 81%] Built target TestingDemo
[ 83%] Built target pqWidgets
[ 83%] Building CXX object Qt/Core/CMakeFiles/pqCore.dir/pqAnimationScene.cxx.o
In file included from /home/alireza/OpenFOAM/ThirdParty-2.1.1/ParaView-3.12.0/Qt/Core/pqAnimationScene.cxx:57:0:
/home/alireza/OpenFOAM/ThirdParty-2.1.1/ParaView-3.12.0/Qt/Core/pqServerManagerSelectionModel.h:75:30:  error: calls to overloaded operators cannot appear in a  constant-expression
make[2]: *** [Qt/Core/CMakeFiles/pqCore.dir/pqAnimationScene.cxx.o] Error 1
make[1]: *** [Qt/Core/CMakeFiles/pqCore.dir/all] Error 2
make: *** [all] Error 2
    ---
    Installation complete for paraview-3.12.0
    Set environment variables:

        export ParaView_DIR=/home/alireza/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc47/paraview-3.12.0
        export PATH=$ParaView_DIR/bin:$PATH
        export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-3.12
How can I solve this problem??
Thanks alot
Attached Files
File Type: gz log.makePV.tar.gz (69.5 KB, 1 views)
alireza.sh is offline   Reply With Quote

Old   December 4, 2018, 18:09
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: Sorry for the late reply and got not getting back to you sooner on the other thread about installing on Ubuntu 18.04... I haven't had time to look into this properly

As for the problem you've reported here, I believe that the problem is that the following commands need to be executed:
Code:
cd $WM_THIRD_PARTY_DIR
sed -i -e 's/\(export CXX.*$\)/\1\n[ -n "$WM_CC" ] \&\& export CC="$WM_CC"/' makeParaView
Then you can try again to build ParaView, following the instructions that you've used...

Which reminds me: Which instructions are you following here?
__________________
wyldckat is offline   Reply With Quote

Reply


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
[PyFoam] Problems with installing PyFoam Christoph_84 OpenFOAM Community Contributions 34 October 26, 2021 12:25
[Other] Openfoam for windows 16.02 [CFD support] -problem with paraview ditmeyer OpenFOAM Installation 3 May 15, 2017 13:04
Problems building Paraview 3.12 on Gentoo Linux pajot OpenFOAM Installation 11 April 11, 2013 09:09
LINUX newbie with paraView installation problem kenya0514 OpenFOAM Installation 4 January 16, 2013 18:51
[OpenFOAM] Problem with paraFoam on a linux-64 bit bunni ParaView 4 April 14, 2010 21:55


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