|
[Sponsors] |
[OpenFOAM.org] Error in compiling in debug mode |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 19, 2016, 17:34 |
Error in compiling in debug mode
|
#1 | |
New Member
Mehdi
Join Date: Jul 2014
Location: Iran
Posts: 10
Rep Power: 11 |
Dear foamers
I am trying to compile in debug mode but there is some error while compiling. some of strange output lines are : Quote:
Last edited by paradox; April 19, 2016 at 17:40. Reason: to add outputFile |
||
April 19, 2016, 18:34 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick note: Looks like you omitted vital information.
The error message is pointing out that there is an entry in "src/finiteVolume/Make/files" that doesn't exists, namely: Code:
src/finiteVolume/fields/fvsPatchFields/basic/coupled/coupledFvsPatchFields.C
__________________
|
|
April 19, 2016, 19:19 |
|
#3 |
New Member
Mehdi
Join Date: Jul 2014
Location: Iran
Posts: 10
Rep Power: 11 |
Drear bruno,
Thanks for your quick reply. This file already exist. but I remember one days I was reading and working on these BC files, before. can I replace this directory "fields" by original and compile it again and get fix? |
|
April 20, 2016, 17:29 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick answer:
Quote:
You should also run the following command before you run Allwmake: Code:
wclean libso src/finiteVolume |
||
April 21, 2016, 08:34 |
|
#5 | |
New Member
Mehdi
Join Date: Jul 2014
Location: Iran
Posts: 10
Rep Power: 11 |
That's right.
By replacing original files and rebuilding "fininteVolume" just solve one part of problems. Another problem is occurred. Quote:
regards. mehdi |
||
April 22, 2016, 07:39 |
|
#7 |
New Member
Mehdi
Join Date: Jul 2014
Location: Iran
Posts: 10
Rep Power: 11 |
Thanks a lot.
By removing libfiniteVolume.so, another parts of the problems go away. I had to run the following commands to wclean applications too: Code:
wclean all $FOAM_APP/utilities * wclean all $FOAM_APP/solvers * but I am able to compile and debug solvers by eclipse IDE. Regards, mehdi. |
|
Tags |
openfoam compile debug |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Extracting ParaView Data into Python Arrays | Jeffzda | ParaView | 30 | November 6, 2023 21:00 |
[foam-extend.org] compiling foam-extend-4.0 after switching to debug mode failed | Pfiffikus | OpenFOAM Installation | 2 | February 9, 2018 09:00 |
Recursive output of Foam::word in gdb print command | chengdi | OpenFOAM Programming & Development | 1 | July 19, 2017 20:19 |
[PyFoam] Problems with the new PyFoam release | zfaraday | OpenFOAM Community Contributions | 13 | December 9, 2014 18:58 |
[PyFoam] having problems with pyfoam Installation | vitorspadetoventurin | OpenFOAM Community Contributions | 3 | December 2, 2014 07:18 |