|
[Sponsors] |
September 23, 2023, 10:40 |
Compilation error
|
#1 |
Senior Member
Guilherme
Join Date: Apr 2017
Posts: 245
Rep Power: 10 |
I'm trying to compile the solver on my OpenFOAM 9. However, I'm not succeeding. Unfortunately I have a little difficulty with this part. Can someone help me?
Code:
~/OpenFOAM/assis-9/solvers/LaunderSharmaKEYap-master$ wmake libso wmake libso . wmakeLnIncludeAll: running wmakeLnInclude on dependent libraries: wmakeLnInclude error: base directory /opt/openfoam9/src/TurbulenceModels/turbulenceModels/ does not exist wmakeLnInclude error: base directory /opt/openfoam9/src/TurbulenceModels/incompressible/ does not exist wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file maketurbulentTransportModels.C could not open file turbulentTransportModels.H for source file maketurbulentTransportModels.C due to No such file or directory could not open file RASModel.H for source file maketurbulentTransportModels.C due to No such file or directory could not open file eddyViscosity.H for source file maketurbulentTransportModels.C due to No such file or directory could not open file fvOptions.H for source file maketurbulentTransportModels.C due to No such file or directory g++ -std=c++14 -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 -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam9/src/TurbulenceModels/turbulenceModels/lnInclude -I/opt/openfoam9/src/TurbulenceModels/incompressible/lnInclude -I/opt/openfoam9/src/transportModels -I/opt/openfoam9/src/finiteVolume/lnInclude -I/opt/openfoam9/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam9/src/OpenFOAM/lnInclude -I/opt/openfoam9/src/OSspecific/POSIX/lnInclude -fPIC -c maketurbulentTransportModels.C -o Make/linux64GccDPInt32Opt/maketurbulentTransportModels.o maketurbulentTransportModels.C:26:10: fatal error: turbulentTransportModels.H: Arquivo ou diretório inexistente 26 | #include "turbulentTransportModels.H" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [/opt/openfoam9/wmake/rules/General/transform:26: Make/linux64GccDPInt32Opt/maketurbulentTransportModels.o] Erro 1 |
|
September 24, 2023, 00:38 |
|
#2 | ||
Member
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 57
Rep Power: 10 |
Quote:
could you please check and see if these two directories exist or not ? Quote:
if not, then fix the address. the compiler is looking for these two directories since you told him/her to look for sth called turbulenceModels in it and there is no such folder. Hope that helps, Bests, |
|||
Tags |
openfoam9 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
Pressure outlet boundary condition | rolando | OpenFOAM Running, Solving & CFD | 62 | September 18, 2017 07:45 |
DPM udf error | haghshenasfard | FLUENT | 0 | April 13, 2016 07:35 |
[OpenFOAM] Native ParaView Reader Bugs | tj22 | ParaView | 270 | January 4, 2016 12:39 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 18:38 |