CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

no rules for target *Foam.dep which needed...

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2011, 10:00
Red face no rules for target *Foam.dep which needed...
  #1
New Member
 
J.Y.Cheng
Join Date: Mar 2011
Posts: 15
Rep Power: 15
goodkid is on a distinguished road
Send a message via MSN to goodkid
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.
goodkid is offline   Reply With Quote

Old   May 8, 2011, 12:33
Default
  #2
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
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
to
Code:
somethingElseFoam.C  

EXE = $(FOAM_USER_APPBIN)/somethingElseFoam
and do wclean and wmake.
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   May 12, 2011, 21:54
Default
  #3
New Member
 
J.Y.Cheng
Join Date: Mar 2011
Posts: 15
Rep Power: 15
goodkid is on a distinguished road
Send a message via MSN to goodkid
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.
goodkid is offline   Reply With Quote

Reply

Tags
redhat slover dep


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


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


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