在 Open Foam 上工作,创建了我的模型和子模型,库已成功编译,但是当我尝试使用相同的库链接器编译求解器时出现此错误
/home/bilal/OpenFOAM/bilal-2.1.0/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate_splash_new.so: undefined reference to `Foam::KinematicCloud<Foam::Cloud<Foam::KinematicParcel<Foam::particle> > >::splashDirection(Foam::Vector<double> const&, Foam::Vector<double> const&, Foam::Vector<double> const&) const'
collect2: ld returned 1 exit status
make: *** [/home/bilal/OpenFOAM/bilal-2.1.0/platforms/linux64GccDPOpt/bin/reactingParcelFilmFoam_neu_splash] Error 1
有谁知道这个错误是什么?我在 Ubuntu 12.04 LTS 上使用 GCC