blueCFD / lagrangianExtraFunctionObjects

Function object library re-adapted from OpenFOAM 5, to write to disk in the old positions file format.
GNU General Public License v3.0
19 stars 3 forks source link

cannot complie #6

Closed yuhongxiang0523 closed 3 years ago

yuhongxiang0523 commented 4 years ago
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100 -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/finiteVolume/lnInclude -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/transportModels -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/meshTools/lnInclude -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/lagrangian/basic/lnInclude -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/lagrangian/intermediateNew/lnInclude -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/lagrangian/DSMC/lnInclude -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/lagrangian/spray/lnInclude -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/regionModels/regionModel/lnInclude -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/regionModels/surfaceFilmModels/lnInclude -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/thermophysicalModels/specie/lnInclude -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/transportModels/compressible/lnInclude -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/thermophysicalModels/basic/lnInclude -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/thermophysicalModels/thermophysicalProperties/lnInclude -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/thermophysicalModels/reactionThermo/lnInclude -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/thermophysicalModels/SLGThermo/lnInclude -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/thermophysicalModels/chemistryModel/lnInclude  -IlnInclude -I. -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/OpenFOAM/lnInclude -I/home/hoyu/OpenFOAM/OpenFOAM-5.x/src/OSspecific/POSIX/lnInclude   -fPIC -c writeCloudOldStyle/writeCloudOldStyle.C -o Make/linux64GccDPInt32Opt/writeCloudOldStyle/writeCloudOldStyle.o
writeCloudOldStyle/writeCloudOldStyle.C:35:10: fatal error: basicKinematicCollidingCloud.H: No such file or directory
 #include "basicKinematicCollidingCloud.H"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/home/hoyu/OpenFOAM/OpenFOAM-5.x/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt32Opt/writeCloudOldStyle/writeCloudOldStyle.o' failed
make: *** [Make/linux64GccDPInt32Opt/writeCloudOldStyle/writeCloudOldStyle.o] Error 1
``
yuhongxiang0523 commented 4 years ago

Why does it say I don't have a basicKinematicCollidingCloud.H?

wyldckat commented 3 years ago

Sorry for the late reply, but only today I was able to look into this...

Apparently you've modified the Make/options file and changed this line:

    -I$(LIB_SRC)/lagrangian/intermediate/lnInclude \

to this:

    -I$(LIB_SRC)/lagrangian/intermediateNew/lnInclude \

where the last folder does not have the aforementioned file.

I'm closing this report, given that it's not an issue with this function object.