|
[Sponsors] |
September 18, 2012, 07:29 |
Compilation error with OF 2.1.x
|
#1 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
Hello,
I tried to update my OpenFOAM 2.1.x so I typed Code:
git pull Code:
./Allwmake Unfortunately, the compilation produces some error messages and stops. Some errors are about files which aren't found: DataEntryFwd.H MapDimensionedFields.H ParticleTrap.H and some errors are about "undefined reference" Foam:olyMesh::clearAdditionalGeom() Foam:ointMesh::typeName Foam:olyMesh::movePoints() After the unsuccessful compilation some commands, presumably those affected by the compilation errors, are not found anymore. |
|
September 18, 2012, 08:29 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Gerhard,
It's somewhat simple: new files were added to the main OpenFOAM library. The simplest fix is this: Code:
src wclean libso OpenFOAM wmake libso OpenFOAM Best regards, Bruno
__________________
|
|
September 18, 2012, 08:33 |
|
#3 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
Thanks for the reply.
In the mean time I found a bug report about my problem and there the same solution is explained. I should have been googling a little longer before posting my problem here. http://www.openfoam.org/mantisbt/view.php?id=626 EDIT: It is you who (wyldckat) who posted the solution in the bug report. The world is a small one. |
|
September 18, 2012, 09:02 |
|
#4 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
There is still the error about the missing file particleTrap.H
|
|
September 18, 2012, 09:30 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
OK, this time it stopped on this command:
Code:
wmake libso intermediate Code:
src find . -name intermediate Code:
wclean libso wmake libso
__________________
|
|
September 18, 2012, 10:04 |
|
#6 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
I did it the brute force way
Code:
wclean all ./Allwmake |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compilation error for OpenFOAM-ext on Ubantu 10.04 32 bit | Sargam05 | OpenFOAM Installation | 13 | March 22, 2014 06:21 |
Compilation error with OpenFOAM 2.1.x | Martin_ | OpenFOAM Installation | 28 | January 15, 2013 07:58 |
Compilation problems OF 2.1.x | ivan_cozza | OpenFOAM Installation | 8 | March 23, 2012 10:31 |
Compilation Error (V 1.7.1; Icc 12.1.0, OpenMPI 1.4.3) | floydfan | OpenFOAM Installation | 7 | December 20, 2011 06:56 |
Compilation Error.... | Arnab | Siemens | 4 | September 12, 2004 16:54 |