编译求解器遇到问题undefined reference to Foam::isoAdvection::typeName
- 
							
							
							
							
这是编译截图 
  dell@dell-optiplex-7070:~/OpenFOAM/dell-v2012/run/myinterIsoFoam/myoverInterDyMFoam/myoverInterIsoDyMFoam1$ 
 wmake | tee log.wmake2Making dependency list for source file myoverInterIsoDyMFoam1.C g++ -std=c++11 -m64 -pthread -DOPENFOAM=2012 -DWM_DP 
 -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -I../myoverVoF -I../myoverinterFoam -I../myoverInterIsoFoam -I
 省略
 -lm -o /home/dell/OpenFOAM/dell-v2012/platforms/linux64GccDPInt32Opt/bin/myoverInterIsoDyMFoam1--------------------------------------------------problrm---------------------------------------------这是具体的报错信息 /usr/bin/ld: Make/linux64GccDPInt32Opt/myoverInterIsoDyMFoam1.o: in 
 functionFoam::isoAdvection::type() const': myoverInterIsoDyMFoam1.C:(.text._ZNK4Foam12isoAdvection4typeEv[_ZNK4Foam12isoAdvection4typeEv]+0x7): undefined reference toFoam::isoAdvection::typeName' /usr/bin/ld:
 Make/linux64GccDPInt32Opt/myoverInterIsoDyMFoam1.o: in function
 main': myoverInterIsoDyMFoam1.C:(.text.startup+0x238d): undefined reference toFoam::isoAdvection::isoAdvection(Foam::GeometricField<double,
 Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double,
 Foam::fvsPatchField, Foam::surfaceMesh> const&,
 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField,
 Foam::volMesh> const&)'
 ---------------------------------------------omitted--------------------
 /usr/bin/ld: myoverInterIsoDyMFoam1.C:(.text.ZN4Foam12isoAdvection6advectINS_9zeroFieldES2_EEvRKT_RKT0[ZN4Foam12isoAdvection6advectINS_9zeroFieldES2_EEvRKT_RKT0]+0x671): undefined reference to `Foam::isoAdvection::debug'
 collect2: error: ld returned 1 exit status
 make: *** [/home/dell/OpenFOAM/OpenFOAM-v2012/wmake/makefiles/general:150:/home/dell/OpenFOAM/dell-v2012/platforms/linux64GccDPInt32Opt/bin/myoverInterIsoDyMFoam1] 错误 1
 想利用头文件#include “isoAdvection.H”替换MULES,并耦合到重叠网格中间区,扩展openfoam的求解器 
 isoAdvection的实现文件和MULES位置类似,源代码位于~/src/transportModels/geometricVoF/
  请问这个报错可能是那个方向的问题?感谢! 
 
			
