|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
我在网上下载了OpenFOAM的EHDFoam模块,在按照说明,最后编译wmake libso的时候出现了如下错误:
---------------------
SOURCE=EHDTwoPhaseMixture/EHDtwoPhaseMixture.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I.. -I/opt/openfoam211/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/EHDtwoPhaseMixture.o
In file included from EHDTwoPhaseMixture/EHDtwoPhaseMixture.C:27:0:
EHDTwoPhaseMixture/EHDtwoPhaseMixture.H:190:39: 错误: 为‘virtual const volScalarField& Foam::EHDtwoPhaseMixture::nu() const’指定了冲突的返回类型
../incompressible/transportModel/transportModel.H:84:37: 错误: 覆盖了‘virtual Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::transportModel::nu() const’
make: *** [Make/linux64GccDPOpt/EHDtwoPhaseMixture.o] 错误 1
--------------------------------------------------------------
我的系统环境为:
ubuntu 12.04,采用amd64位系统
OpenFOAM 版本 2.1.1
系统已经update至最新。
请问各位高人这个问题如何解决呢?谢谢 |
|