Hi everyone,
I faced a problem with the installation of OpenFOAM adapter. Any help or suggestions would be greatly appreciated!!
While compiling the OpenFOAM-4.0 adapter on PreCICE-2.4.0, I got the following error:
/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/PackedListI.H: In member function ‘void Foam::PackedList<nBits>::const_iterator::operator=(const Foam::PackedList<nBits>::iteratorBase&)’:
**/mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/PackedListI.H:550:13: error: return-statement with a value, in function returning ‘void’ [-fpermissive]**
return *this;
^~~~
In file included from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/token.H:46,
from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/UListIO.C:28,
from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/UList.C:233,
from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/UList.H:484,
from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/List.H:43,
from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/labelList.H:48,
from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/UPstream.H:42,
from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/Pstream.H:42,
from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude/parRun.H:35,
from /mnt/lustre/indy2lfs/work/ec055/ec055/yhuang94/OpenFOAM/OpenFOAM-4.x/src/finiteVolume/lnInclude/fvCFD.H:4,
from Interface.H:6,
from Interface.C:1:
- GCC (8.2.0)
- cmake (3.17.3)
- mpt (2.25)
- Cirrus
Does anyone have ideas about it? Many thanks in advance!!
wmake.log (13.3 KB)