Skip to content

Cannot install the repository

To set up the repository on my local machine, I have executed these commands:

  1. git clone https://develop.openfoam.com/Community/hydrology.git
  2. cd hydrology
  3. ./Allwmake

and I got this error message saying:

dogukan@dogukan:~/Documents/hydrology$ ./Allwmake
Allwmake libso /home/dogukan/Documents/hydrology
========================================
2022-07-07 20:21:42 +0300
Starting compile of hydrology with openfoam8
  Gcc system compiler
  linux64GccDPInt32Opt, with SYSTEMOPENMPI openmpi-system
  prefix = default (user)

========================================
Compile hydrology libraries

Allwmake libso /home/dogukan/Documents/hydrology/src
wmake libso hydrology
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 -Wno-attributes -O3  -DNoRepository -ftemplate-depth-100 -I/opt/openfoam8/src/finiteVolume/lnInclude -I/opt/openfoam8/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam8/src/OpenFOAM/lnInclude -I/opt/openfoam8/src/OSspecific/POSIX/lnInclude   -fPIC -c derivedFvPatchFields/rainFluxMixedFvPatchScalarField.C -o Make/linux64GccDPInt32Opt/derivedFvPatchFields/rainFluxMixedFvPatchScalarField.o
In file included from derivedFvPatchFields/rainFluxMixedFvPatchScalarField.C:28:
derivedFvPatchFields/rainFluxMixedFvPatchScalarField.H:69:10: fatal error: Enum.H: No such file or directory
   69 | #include "Enum.H"
      |          ^~~~~~~~
compilation terminated.
make: *** [/opt/openfoam8/wmake/rules/General/transform:26: Make/linux64GccDPInt32Opt/derivedFvPatchFields/rainFluxMixedFvPatchScalarField.o] Error 1

It looks like it is searching Enum.H file but there is no such file. I have opened rainFluxMixedFvPatchScalarField.H as well and looked at other include statements. It seems like these header files are included but there are not such files:

#include "mixedFvPatchFields.H"
#include "Enum.H"
#include "Function1.H"
#include "PatchFunction1.H"

OpenFOAM is installed and working correctly. Somehow I could not set up this project. I do not know what I am missing. Could you guys help me out @mark @orgogozo ?

Edited by Doğukan Teber
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information