编译自定义求解器时找不到库
-
编译加上温度场的自定义求解器时报出下述错误: -lm -o /home/dyfluid/OpenFOAM/dyfluid-v2312/platforms/linux64GccDPInt32Opt/bin/interTempFoam
/usr/bin/ld: 找不到 -ltransportModels: 没有那个文件或目录
/usr/bin/ld: 找不到 -lthermophysicalModels: 没有那个文件或目录
options文件:EXE_INC = \ -I$(LIB_SRC)/phaseSystemModels/twoPhaseInter/incompressibleInterPhaseTransportModel/lnInclude \ -I$(LIB_SRC)/phaseSystemModels/twoPhaseInter/VoFphaseIncompressibleTurbulenceModels/lnInclude \ -I$(WM_PROJECT_USER_DIR)/src/transportModels \ -I$(WM_PROJECT_USER_DIR)/src/tarnsportModels/twoPhaseMixture/lnInclude \ -I$(WM_PROJECT_USER_DIR)/src/transportModels/incompressible/lnInclude \ -I$(WM_PROJECT_USER_DIR)/src/transportModels/interfaceProperties/lnInclude \ -I$(WM_PROJECT_USER_DIR)/src/transportModels/twoPhaseMixture/lnInclude \ -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \ -I$(LIB_SRC)/TurbulenceModels/incompressible/lnInclude \ -I$(LIB_SRC)/TurbulenceModels/phaseIncompressible/lnInclude \ -I$(WM_PROJECT_USER_DIR)/src/transportModels/myTempImmiscibleIncompressibleTwoPhaseMixture/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/surfMesh/lnInclude \ -I$(LIB_SRC)/dynamicFvMesh/lnInclude \ -I$(LIB_SRC)/dynamicMesh/lnInclude \ -I$(LIB_SRC)/overset/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude EXE_LIBS = \ -L$(FOAM_USER_LIBBIN) \ -lmyTempImmiscibleIncompressibleTwoPhaseMixture \ -lturbulenceModels \ -ltransportModels \ -lthermophysicalModels \ -lincompressibleTurbulenceModels \ -lincompressibleTransportModels \``` -lincompressibleInterPhaseTransportModels \ -linterfaceProperties \ -lfiniteVolume \ -ldynamicFvMesh \ -lfvOptions \ -lsurfMesh \ -lmeshTools \ -lsampling \ -lwaveModels \ -loverset \ -ltwoPhaseMixture \ -ltwoPhaseProperties \
请大神们看看哪错了
-
问题已解决