Hi, I am trying to compile
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?
I've managed to fix it, someho
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
|All times are GMT -4. The time now is 06:41.|