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

switch.H errors

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2010, 12:24
Default switch.H errors
  #1
Senior Member
 
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17
mirko is on a distinguished road
Hello,

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:

Code:
...
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.
I have installed OF binary distribution (i.e. did not build OF myself), and the gcc in my path is OF's:

> gcc --version
gcc (OpenFOAM) 4.3.3


I suspect I am missing (messing) something, but what?

Thanks,

Mirko
mirko is offline   Reply With Quote

Old   November 25, 2010, 07:11
Default
  #2
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20
mvoss is on a distinguished road
hi,

i am facing the exact same problem here. did you found a solution?

neewbie
mvoss is offline   Reply With Quote

Old   November 30, 2010, 09:58
Default
  #3
Senior Member
 
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17
mirko is on a distinguished road
Unfortunately no :-(
mirko is offline   Reply With Quote

Reply

Tags
fox, simpleviewer, switch.h


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
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 14 December 16, 2019 23:12
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 14:09
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 18:07


All times are GMT -4. The time now is 14:23.