真的是困难一个接着一个来。出现上述问题,检查了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感觉没问题。实在不知道出在哪里了。困难重重啊!