|June 30, 2010, 12:24||
Join Date: Mar 2009
Posts: 159Rep Power: 10
I am trying to install simpleViewer to preview the blockMesh geometry. That would help me understand the geometries in the tutorials.
I installed the fox toolkit, and during the simpleViewere installation, I get the following error from an OF1.6 file:
... In file included from /home/sm/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/Time.H:49, from /home/sm/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude/fvCFD.H:6, from FXGLCurvedLine.H:38, from FXGLCurvedLine.C:45: /home/sm/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/Switch.H: At global scope: /home/sm/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/Switch.H:79: error: expected identifier before numeric constant /home/sm/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/Switch.H:79: error: expected `}' before numeric constant /home/sm/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/Switch.H:79: error: expected unqualified-id before numeric constant /home/sm/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/Switch.H:92: error: ‘INVALID’ was not declared in this scope /home/sm/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/Switch.H:98: error: ‘switchType’ does not name a type ... etc.
> gcc --version
gcc (OpenFOAM) 4.3.3
I suspect I am missing (messing) something, but what?
|November 25, 2010, 08:11||
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 446Rep Power: 13
i am facing the exact same problem here. did you found a solution?
|fox, simpleviewer, switch.h|
|Thread||Thread Starter||Forum||Replies||Last Post|
|How to write k and epsilon before the abnormal end||xiuying||OpenFOAM Running, Solving & CFD||8||August 27, 2013 15:33|
|Convergence moving mesh||lr103476||OpenFOAM Running, Solving & CFD||30||November 19, 2007 15:09|
|Transient simulation not converging||skabilan||OpenFOAM Running, Solving & CFD||12||September 17, 2007 17:48|
|IcoFoam parallel woes||msrinath80||OpenFOAM Running, Solving & CFD||9||July 22, 2007 02:58|
|Could anybody help me see this error and give help||liugx212||OpenFOAM Running, Solving & CFD||3||January 4, 2006 19:07|