ZeinabM |
August 3, 2022 04:31 |
if I edited some file in the openfoam files should I rerun Allwmake again?
Hello all,
I was working on developing an SRF solver for compressible flows. So, now I am editing some files in
Code:
OpenFOAM/OpenFOAM-v2012/src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/SRFModel.H
. The thing is that all the functions I added or edited are not recognized by when I am running the new SRF solver.
So below you can find an "undefined reference to a function":
Code:
/usr/bin/ld: Make/linux64Gcc63DPInt32Opt/SRFrhoSimpleFoam.o: in function `main':
/home/zeinab278/OpenFOAM/zeinab278-v2012/applications/SRFrhoSimpleFoam/UrelEqn.H:12: undefined reference to `Foam::SRF::SRFModel::SuComp(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const'
collect2: error: ld returned 1 exit status
make: *** [/opt/OpenFOAM/OpenFOAM-v2012/wmake/makefiles/general:150: /home/zeinab278/OpenFOAM/zeinab278-v2012/platforms/linux64Gcc63DPInt32Opt/bin/SRFrhoSimpleFoam] Error 1
I noticed this behavior with all the functions I add or edited. This made me think that it's not seen by wmake. Anyone can guess the problem?
|