View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000670 | ThirdParty | Bug | public | 2012-10-26 17:43 | 2012-10-27 09:58 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | block | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | Linux | OS | RHEL | OS Version | 6 |
Summary | 0000670: Syntax error causes compilation to fail | ||||
Description | With GCC 4.7.1 (required to take advantage of the latest AMD processor features), a syntax error is detected, and compilation errors several times with the same message, eventually falling over with this error: In file included from /home/jrj1d11/OpenFOAM/ThirdParty-2.1.1/ParaView-3.12.0/Qt/Core/pqAnimationScene.cxx:57:0: /home/jrj1d11/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 An Enum is a constant expression, so the error message would appear to be correct. | ||||
Steps To Reproduce | * Take one stock RHEL 6 build. * Install GCC 4.7.1 and OpenMPI 1.6.2 (both the latest stable versions of each respective project). * Follow instructions on http://www.openfoam.org/download/source.php for building OpenFOAM and ThirdParty. ** Note that OpenFOAM builds without problems. ** Attempt to build ThirdParty as the instructions describe. *** Note the error message, mentioned in the description. | ||||
Additional Information | In addition to the steps on the installation page, symlinks or similar will need to be provided to workaround the fact that cmake 2.8 is called cmake28 and qmake is qmake-qt4 on RHEL 6. Otherwise the build will fail. | ||||
Tags | No tags attached. | ||||
|
You do realize that this is an issue with ParaView? You should report the issue here: http://paraview.org/Bug |
|
I think this has already been reported on ParaView's bug tracker... and 3.12.0 is rather old by now :) Anyway, the fix is already known for some time now. You can find the fix for it, for example, here: http://openfoamwiki.net/index.php/Installation/Linux/OpenFOAM-2.1.1/Fedora#Fedora_17 - step #6. Basically, the hack is this - simply run: sed -i -e 's/ClearAndSelect = Clear | Select/ClearAndSelect = static_cast<int>(Clear) | static_cast<int>(Select)/' \ ParaView-3.12.0/Qt/Core/pqServerManagerSelectionModel.h |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-10-26 17:43 |
|
New Issue | |
2012-10-26 19:37 |
|
Note Added: 0001745 | |
2012-10-26 22:36 | wyldckat | Note Added: 0001747 | |
2012-10-26 22:36 | wyldckat | Note Edited: 0001747 | |
2012-10-27 09:58 | henry | Status | new => resolved |
2012-10-27 09:58 | henry | Resolution | open => no change required |
2012-10-27 09:58 | henry | Assigned To | => henry |