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

Is this a bug in wmake?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2020, 11:26
Default Is this a bug in wmake?
  #1
New Member
 
Join Date: Jan 2019
Posts: 1
Rep Power: 0
kryptomatrix is on a distinguished road
If I compile the wmake application below, I get the warning/error:


could not open file other.C for source file wtest.C due to No such file or directory


Another problem is that if I change other.C and run wmake again, it does not get recompiled unless I run wclean.





File structure:



├── other.C
├── outer.C
└── wtest
├── Make
│ ├── files
│ └── options
└── wtest.C


File contents



other.C: empty file


outer.C:
#include "other.C"


wtest.C:

#include "../outer.C"
int main(){}


options: empty file



files:

wtest.C
EXE = wtest
kryptomatrix is offline   Reply With Quote

Old   November 20, 2020, 23:11
Default
  #2
New Member
 
Tu Can
Join Date: Jul 2017
Location: China
Posts: 15
Rep Power: 5
bestucan is on a distinguished road
those are not bugs.
both of the 'bugs' could be changed by modify 'Make/files' and 'Make/options'


'wmake' is a script to call 'make'. You could find the way by figure out how 'makefile' works.
bestucan is offline   Reply With Quote

Old   November 21, 2020, 09:05
Default
  #3
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,867
Rep Power: 29
hjasak will become famous soon enough
Not a bug. Do

#include “outer.C”
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Reply

Tags
wmake problems

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[OpenFOAM.org] Not found many .so files when installing OpenFOAM 6 lengjun OpenFOAM Installation 1 November 8, 2020 02:25
OpenFoam 1.6-ext - error ./Allwmake in /src preibie OpenFOAM Installation 14 June 14, 2011 06:57
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 09:48
Problems Installing OF 1.6 32 bit bucksfan OpenFOAM Installation 19 August 4, 2009 02:36
[OpenFOAM] ParaFoam error message joey ParaView 1 October 2, 2006 14:28


All times are GMT -4. The time now is 10:27.