|
[Sponsors] |
March 27, 2019, 09:49 |
Problem compiling new solver with wmake
|
#1 |
New Member
Join Date: Mar 2019
Posts: 7
Rep Power: 7 |
Dear all,
I'm beginning OpenFOAM to solve a advection-diffusion-reaction equation. I started with the scalarTransportFoam solver and wanted to expand it. So I my due diligence and followed the steps in the tutorials to copy and start a new solver. However, when I try to compile it (even without any change in the code) I have the following error message: make: *** no rule to make target « Make/mingw_w64GccDPInt32Opt/my_scalarTransportFoam.C.dep », necessary for « Make/mingw_w64GccDPInt32Opt/my_scalarTransportFoam.o ». stop. (translation from the french error message) I have openfoam installed on windows through blueCFD. Any idea of what's the issue ? Thanks, Flo |
|
March 29, 2019, 14:51 |
|
#2 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
You geht this error when the path to the file .c is not correct
|
|
March 30, 2019, 08:35 |
|
#3 |
Member
Elwardi Fadeli
Join Date: Dec 2016
Location: Boumerdes, Algeria
Posts: 41
Rep Power: 9 |
Just as mAlletto said:
1- The path to the source file (*.C) in Make/files (the first line is incorrect). You probably forgot to Code:
mv scalarTransportFoam.C my_scalarTransportFoam.C Your Make/files should spell out like this: Code:
my_scalarTransportFoam.C EXE = $(FOAM_USER_APPBIN)/my_scalarTransportFoam |
|
April 2, 2019, 11:02 |
|
#4 |
New Member
Join Date: Mar 2019
Posts: 7
Rep Power: 7 |
I got the answer from another forum. The error was that I used lower case .c instead of .C
Thanks for the help, |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Divergence problem | Smaras | FLUENT | 13 | February 21, 2013 06:03 |
Patches for OpenFOAM 1.7 on MacOS X | gschaider | OpenFOAM Installation | 101 | September 21, 2011 06:37 |
Problems about compiling OF1.5.x on Bluegene/P | ywang | OpenFOAM | 1 | August 25, 2011 06:22 |
Problem in Compiling the solver | m.maneshi | OpenFOAM Running, Solving & CFD | 4 | November 3, 2010 03:07 |
[OpenFOAM] ParaFoam error message | joey | ParaView | 1 | October 2, 2006 14:28 |