no rules for target *Foam.dep which needed...
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.:( |
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 Code:
somethingElseFoam.C |
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. |
All times are GMT -4. The time now is 03:27. |