CFD Online Logo CFD Online URL
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

LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2020, 10:26
Default Is this a bug in wmake?
New Member
Join Date: Jan 2019
Posts: 4
Rep Power: 4
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

#include "other.C"


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

options: empty file


EXE = wtest
kryptomatrix is offline   Reply With Quote

Old   November 20, 2020, 22:11
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, 08:05
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,872
Rep Power: 30
hjasak will become famous soon enough
Not a bug. Do

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


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

All times are GMT -4. The time now is 02:45.