|
[Sponsors] |
November 20, 2020, 11:26 |
Is this a bug in wmake?
|
#1 |
New Member
Join Date: Jan 2019
Posts: 4
Rep Power: 7 |
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 |
|
November 20, 2020, 23:11 |
|
#2 |
New Member
Tu Can
Join Date: Jul 2017
Location: China
Posts: 16
Rep Power: 9 |
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. |
|
November 21, 2020, 09:05 |
|
#3 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Not a bug. Do
#include “outer.C”
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
Tags |
wmake problems |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Not found many .so files when installing OpenFOAM 6 | lengjun | OpenFOAM Installation | 2 | December 12, 2022 23:08 |
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 |