CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Compiling error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 28, 2018, 02:06
Default Compiling error
  #1
New Member
 
Join Date: Apr 2018
Posts: 3
Rep Power: 8
md_ariz is on a distinguished road
Hi all,

I am new in openFoam development work, while compiling source code, i am getting following error. Any help would be appreciated.

Thanks in advance

------------------------------------------------------------
$ wmake
Making dependency list for source file comfortFoam.C
In file included from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/faceZoneMesh.H:33:0,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/polyMesh.H:56,
from /opt/OpenFOAM/OpenFOAM-dev/src/finiteVolume/fvMesh/fvMesh.H:50,
from /opt/OpenFOAM/OpenFOAM-dev/src/finiteVolume/lnInclude/fvCFD.H:7,
from comfortFoam.C:50:
/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/faceZone.H:46:32: fatal error: primitiveFacePatch.H: N o such file or directory
compilation terminated.
x86_64-w64-mingw32-g++ -m64 -std=c++11 -Dcygwin64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -DMSWIN -DLITTLE_ENDIAN -DMSWIN -DLITTLE_ENDIAN -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-p arameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-dev/src /TurbulenceModels/turbulenceModels/lnInclude -I/opt/OpenFOAM/OpenFOAM-dev/src/TurbulenceModels/incompres sible/lnInclude -I/opt/OpenFOAM/OpenFOAM-dev/src/TurbulenceModels/compressible/lnInclude -I/opt/OpenFOAM /OpenFOAM-dev/src/thermophysicalModels/basic/lnInclude -I/opt/OpenFOAM/OpenFOAM-dev/src/transportModels -I/opt/OpenFOAM/OpenFOAM-dev/src/transportModels/incompressible/singlePhaseTransportModel -I/opt/OpenFOA M/OpenFOAM-dev/src/transportModels/compressible/lnInclude -I/opt/OpenFOAM/OpenFOAM-dev/src/finiteVolume/ lnInclude -I/opt/OpenFOAM/OpenFOAM-dev/src/thermophysicalModels/radiation/lnInclude -I/opt/OpenFOAM/Open FOAM-dev/src/meshTools/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/ opt/OpenFOAM/OpenFOAM-dev/src/OSspecific/MSWindows/lnInclude -c comfortFoam.C -o /opt/OpenFOAM/OpenFOA M-dev/platforms/cygwin64mingw-w64DPInt32Opt/applications/solvers/comfortFoam/comfortFoam.o
In file included from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/faceZoneMesh.H:33:0,
from /opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/polyMesh.H:56,
from /opt/OpenFOAM/OpenFOAM-dev/src/finiteVolume/fvMesh/fvMesh.H:50,
from /opt/OpenFOAM/OpenFOAM-dev/src/finiteVolume/lnInclude/fvCFD.H:7,
from comfortFoam.C:50:
/opt/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/faceZone.H:46:32: fatal error: primitiveFacePatch.H: N o such file or directory
compilation terminated.
make: *** [/opt/OpenFOAM/OpenFOAM-dev/wmake/rules/General/transform:26: /opt/OpenFOAM/OpenFOAM-dev/platf orms/cygwin64mingw-w64DPInt32Opt/applications/solvers/comfortFoam/comfortFoam.o] Error 1
------------------------------------------------------------------------------------
md_ariz is offline   Reply With Quote

Old   November 30, 2018, 07:29
Default
  #2
Senior Member
 
Join Date: Sep 2015
Location: Singapore
Posts: 102
Rep Power: 10
usv001 is on a distinguished road
Hi,

As the error says, you're missing the file (actually, like to the file) 'primitiveFacePatch.H' at src/OpenFOAM/lnInclude. Please check if it is present at the location. If not, you may try running 'wmake dep' to build the lnInclude directory again from src/OpenFOAM directory.

USV
usv001 is offline   Reply With Quote

Old   November 30, 2018, 07:37
Default
  #3
New Member
 
Join Date: Sep 2013
Posts: 18
Rep Power: 12
ali11 is on a distinguished road
Hi,

Thanks for reply!

Initially, i am using openFoam version 2.3 and encountered aforesaid error. Now i have used version 5, its working fine.

Regards
M. Ariz
ali11 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
long error when using make-install SU2_AD. tomp1993 SU2 Installation 3 March 17, 2018 06:25
Mesquite - Adaptive mesh refinement / coarsening? philippose OpenFOAM Running, Solving & CFD 94 January 27, 2016 09:40
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x Saxwax OpenFOAM Installation 25 November 29, 2013 05:34
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 05:07
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 17:38


All times are GMT -4. The time now is 05:12.