|
[Sponsors] |
no rules for target *Foam.dep which needed... |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 7, 2011, 10:00 |
no rules for target *Foam.dep which needed...
|
#1 |
New Member
|
when i compiled a new slover which was just copied by an existed solver and only modified about the equation,it came an error that was "make error ,no rules to target *Foam.dep which is needed by ..."
but when i wclean an existed slover and wmake again ,it is OK. i used OpenFoam in redhat 5. |
|
May 8, 2011, 12:33 |
|
#2 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Did you change both the C file and the names in Make/files to the same names? So, to change icoFoam to somethingElseFoam, change icoFoam.C to somethingElseFoam.C and change Make/files from
Code:
icoFoam.C EXE = $(FOAM_APPBIN)/icoFoam Code:
somethingElseFoam.C EXE = $(FOAM_USER_APPBIN)/somethingElseFoam
__________________
Regards, Gijs |
|
May 12, 2011, 21:54 |
|
#3 |
New Member
|
Dear Gijs!
Thank you very much for you reply! I just have done it with your notes.The problem i hvae is that i forgot to wclean the existed slover before i copied the existed slover.when i do wclean first,it works very well. |
|
Tags |
redhat slover dep |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mesh generation software is needed | H.Dou | Main CFD Forum | 12 | May 4, 2011 16:20 |
Windows XP Batch file help needed | DL123 | Main CFD Forum | 2 | July 3, 2009 09:53 |
Gerris software installation | mer | Main CFD Forum | 2 | November 12, 2005 09:50 |
Are these rules by Patankar true? | zonexo | Main CFD Forum | 3 | November 11, 2005 05:01 |
a dissertation in ETD needed very much | LiQiang | Main CFD Forum | 0 | March 11, 2005 04:09 |