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

compile error in dynamicMesh and thermophysicalModels libraries

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 1, 2013, 12:08
Default compile error in dynamicMesh and thermophysicalModels libraries
  #1
Member
 
Nick Gardiner
Join Date: Apr 2009
Location: Chichester, UK
Posts: 93
Rep Power: 8
NickG is on a distinguished road
Hi

I'm trying to compile OF-2.2.x using gcc 4.7.3 and get the following compile error when it gets to the dynamicMesh library:

Code:
motionSolver/displacement/displacementMotionSolver.C: In constructor ‘Foam::displacementMotionSolver::displacementMotionSolver(const Foam::polyMesh&, const Foam::IOdictionary&, const Foam::word&)’:

motionSolver/displacement/displacementMotionSolver.C:74:5: error: no matching function for call to ‘Foam::motionSolver::motionSolver(const Foam::polyMesh&, const Foam::IOdictionary&, const Foam::word&)’

motionSolver/displacement/displacementMotionSolver.C:74:5: note: candidates are:
In file included from motionSolver/displacement/displacementMotionSolver.H:41:0,
                 from motionSolver/displacement/displacementMotionSolver.C:26:

lnInclude/motionSolver.H:97:9: note: Foam::motionSolver::motionSolver(const Foam::polyMesh&)

lnInclude/motionSolver.H:97:9: note:   candidate expects 1 argument, 3 provided

lnInclude/motionSolver.H:55:7: note: Foam::motionSolver::motionSolver(const Foam::motionSolver&)

lnInclude/motionSolver.H:55:7: note:   candidate expects 1 argument, 3 provided

make: *** [Make/linux64GccDPOpt/displacementMotionSolver.o] Error 1
This stops further libraries from compiling.

I am also getting an error trying to make libso reactionThermo in thermophysicalModels as follows:

Code:
psiReactionThermo/psiReactionThermos.C:62:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:63:5: error: ‘homogeneousMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:64:5: error: ‘constTransport’ is not a type
psiReactionThermo/psiReactionThermos.C:65:5: error: ‘sensibleEnthalpy’ is not a type
psiReactionThermo/psiReactionThermos.C:66:5: error: ‘hConstThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:67:5: error: ‘perfectGas’ is not a type
psiReactionThermo/psiReactionThermos.C:69:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:75:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:76:5: error: ‘inhomogeneousMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:77:5: error: ‘constTransport’ is not a type
psiReactionThermo/psiReactionThermos.C:78:5: error: ‘sensibleEnthalpy’ is not a type
psiReactionThermo/psiReactionThermos.C:79:5: error: ‘hConstThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:80:5: error: ‘perfectGas’ is not a type
psiReactionThermo/psiReactionThermos.C:82:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:88:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:89:5: error: ‘veryInhomogeneousMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:90:5: error: ‘constTransport’ is not a type
psiReactionThermo/psiReactionThermos.C:91:5: error: ‘sensibleEnthalpy’ is not a type
psiReactionThermo/psiReactionThermos.C:92:5: error: ‘hConstThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:93:5: error: ‘perfectGas’ is not a type
psiReactionThermo/psiReactionThermos.C:95:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:104:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:105:5: error: ‘homogeneousMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:106:5: error: ‘sutherlandTransport’ is not a type
psiReactionThermo/psiReactionThermos.C:107:5: error: ‘sensibleEnthalpy’ is not a type
psiReactionThermo/psiReactionThermos.C:108:5: error: ‘hConstThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:109:5: error: ‘perfectGas’ is not a type
psiReactionThermo/psiReactionThermos.C:111:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:117:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:118:5: error: ‘inhomogeneousMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:119:5: error: ‘sutherlandTransport’ is not a type
psiReactionThermo/psiReactionThermos.C:120:5: error: ‘sensibleEnthalpy’ is not a type
psiReactionThermo/psiReactionThermos.C:121:5: error: ‘hConstThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:122:5: error: ‘perfectGas’ is not a type
psiReactionThermo/psiReactionThermos.C:124:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:130:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:131:5: error: ‘veryInhomogeneousMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:132:5: error: ‘sutherlandTransport’ is not a type
psiReactionThermo/psiReactionThermos.C:133:5: error: ‘sensibleEnthalpy’ is not a type
psiReactionThermo/psiReactionThermos.C:134:5: error: ‘hConstThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:135:5: error: ‘perfectGas’ is not a type
psiReactionThermo/psiReactionThermos.C:137:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:146:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:147:5: error: ‘homogeneousMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:148:5: error: ‘sutherlandTransport’ is not a type
psiReactionThermo/psiReactionThermos.C:149:5: error: ‘sensibleEnthalpy’ is not a type
psiReactionThermo/psiReactionThermos.C:150:5: error: ‘janafThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:151:5: error: ‘perfectGas’ is not a type
psiReactionThermo/psiReactionThermos.C:153:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:159:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:160:5: error: ‘inhomogeneousMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:161:5: error: ‘sutherlandTransport’ is not a type
psiReactionThermo/psiReactionThermos.C:162:5: error: ‘sensibleEnthalpy’ is not a type
psiReactionThermo/psiReactionThermos.C:163:5: error: ‘janafThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:164:5: error: ‘perfectGas’ is not a type
psiReactionThermo/psiReactionThermos.C:166:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:172:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:173:5: error: ‘veryInhomogeneousMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:174:5: error: ‘sutherlandTransport’ is not a type
psiReactionThermo/psiReactionThermos.C:175:5: error: ‘sensibleEnthalpy’ is not a type
psiReactionThermo/psiReactionThermos.C:176:5: error: ‘janafThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:177:5: error: ‘perfectGas’ is not a type
psiReactionThermo/psiReactionThermos.C:179:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:188:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:189:5: error: ‘multiComponentMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:191:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:197:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:198:5: error: ‘multiComponentMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:200:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:209:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:210:5: error: ‘multiComponentMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:212:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:218:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:219:5: error: ‘multiComponentMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:221:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:230:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:231:5: error: ‘reactingMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:233:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:239:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:240:5: error: ‘reactingMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:242:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:248:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:249:5: error: ‘singleStepReactingMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:251:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:260:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:261:5: error: ‘reactingMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:263:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:269:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:270:5: error: ‘reactingMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:272:2: error: expected constructor, destructor, or type conversion before ‘;’ token
psiReactionThermo/psiReactionThermos.C:278:5: error: ‘hePsiThermo’ is not a type
psiReactionThermo/psiReactionThermos.C:279:5: error: ‘singleStepReactingMixture’ is not a type
psiReactionThermo/psiReactionThermos.C:281:2: error: expected constructor, destructor, or type conversion before ‘;’ token
which has further knock on effects in compiling later libraries.

Any suggestions. I've tried recompiling through again a few times as well as a fresh go but no luck
NickG is offline   Reply With Quote

Old   August 25, 2013, 07:29
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,507
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Nick,

I only now managed to get to your thread.
Have you managed to solve this problem? If not, please indicate which instructions you are following and which Linux Distribution you are using, so that I can try and replicate the same issue or indicate a set of instructions that should work.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   August 30, 2013, 07:42
Default
  #3
Member
 
Nick Gardiner
Join Date: Apr 2009
Location: Chichester, UK
Posts: 93
Rep Power: 8
NickG is on a distinguished road
Hi Bruno

I'm using Ubuntu 13.04 and just the ./Allwmake script from the top directory. (I'm not writing this from my own computer so can't check the name) I've got around it by dropping and dragging binaries/libraries from the OF-2.2.1 distribution for Ubuntu but I'd like to be able to compile it from source for myself...

Thanks for your time

Nick
NickG is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DynamicMesh not buils using icc 100 in sgi altix 4000 arkangel OpenFOAM Installation 0 October 24, 2007 09:40


All times are GMT -4. The time now is 03:18.