编译waves2Foam中的postProcessWaves2Foam时出现错误
-
postProcessWaves2Foam.C:(.text.startup+0xba5):对‘Foam::postProcessingWaves::New(Foam::Time const&, Foam::dictionary const&, Foam::word const&)’未定义的引用
真的是困难一个接着一个来。出现上述问题,检查了makefiles/options:
EXE_INC = \ -I$(LIB_SRC)/OpenFOAM/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(WAVES_SRC)/waves2Foam/src/lnInclude \ -I$(WAVES_SRC)/waves2FoamProcessing/lnInclude \ -I$(WAVES_GSL_INCLUDE) \ -DOFVERSION=$(WM_PROJECT_VERSION_NUMBER) \ -DEXTBRANCH=$(EXTBRANCH) EXE_LIBS = \ -lOpenFOAM \ -lfiniteVolume \ -L$(WAVES_LIBBIN) \ -lwaves2Foam \ -lwaves2FoamProcessing \ -L$(WAVES_GSL_LIB) \ -lgsl \ -lgslcblas
感觉没问题。实在不知道出在哪里了。困难重重啊!