mrklein / openfoam-os-x

Patches for OpenFOAM(R) to build it on OS X
93 stars 33 forks source link

OF7 compilation: in UPstream.H:42:10: fatal error: 'labelList.H' file not found #49

Closed saneku closed 4 years ago

saneku commented 4 years ago

Hello! I was trying to compile OFv7 (OpenFOAM(R) git version & Homebrew) using the provided instructions and I stuck on Allwmake command with the following error: OpenFOAM/OpenFOAM-7/src/OpenFOAM/lnInclude/UPstream.H:42:10: fatal error: 'labelList.H' file not found I understand that the link on labelList.H does not exist in the lnInclude directory. What is the right way to add it? Could you please advise? Thanks!

mrklein commented 4 years ago

Hi!

I have tried to reproduce the error and, unfortunately, did not succeed.

The error looks like an attempt to build OpenFOAM on case-insensitive file system. Or maybe sources were first cloned to case-insensitive filesystem and then moved to disk image.

Could you list the steps you have performed to get the error?

saneku commented 4 years ago

Hello! I repeated the procedure again and it worked. Probably, the error was in "./Allwmake > log.Allwmake 2>&1" which I canceled after a few seconds. And it caused not all header files to be linked in lnInclude directory. Thanks very much!