|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17 ![]() |
Hi,
I am trying to compile the development version of OF, however I keep getting this error when compiling coupledPolyPatch.C (This causes *many* problems later as finiteVolume is not built) SOURCE=meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -DWM_PROJECT_VERSION='"'1.4.1'"' -I/home/anders/OpenFOAM/OpenFOAM-1.4.1/src/zlib-1.2.1 -IlnInclude -I. -I/home/anders/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxDPOpt/coupledPolyPatch.o lnInclude/newPointPatchField.C:36: error: expected ',' or '...' before '&' token lnInclude/newPointPatchField.C:38: error: ISO C++ forbids declaration of 'pointPatch' with no type lnInclude/newPointPatchField.C:38: error: invalid use of undefined type 'struct Foam::pointPatchField<type>' Any ideas where I might be going wrong? Cheers, Andrew
__________________
Dr Andrew King Fluid Dynamics Research Group Curtin University |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17 ![]() |
I've managed to fix it, somehow i merged the -dev version with the 1.4.1 release version (which includes a name change from PointPatchFields to pointPatchFields) doubly declaring some classes.
It seems to be compiling fine now. Also, sorry for posting this in OpenFOAM-bugs, i missed the Installation topic under OpenFOAM Cheers Andrew
__________________
Dr Andrew King Fluid Dynamics Research Group Curtin University |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compiling error | quansp | OpenFOAM Installation | 1 | April 20, 2009 07:37 |
Errors when Compiling UDF: error C2040/error C2099 | Julian K. | FLUENT | 1 | December 21, 2008 00:23 |
compiling udf error help | venkatesh4386@gmail.com | FLUENT | 1 | November 7, 2008 02:20 |
Errors with surfactantFoam While Compiling OpenFOAM141dev from extends | chegdan | OpenFOAM Installation | 1 | July 3, 2008 21:10 |
OpenFOAM141dev linking error on IBM AIX 52 | matthias | OpenFOAM Installation | 24 | April 28, 2008 15:49 |