OpenFoam-1.6.x installation problem
I tried to install OpenFoam-1.6.x in Ubuntu 8.10. It shows the following error message.
Please, help some one, what might be the wrong during the time of installations?
Here, I am posting error message.
/home/veg/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude/regExp.H: In function ‘Foam::labelList Foam::findStrings(const std::string&, const Foam::UList<T>&, bool) [with StringType = Foam::word]’:
meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C:424: instantiated from here
/home/veg/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude/regExp.H:69: error: ‘Foam::regExp::regExp(const Foam::regExp&)’ is private
lnInclude/stringListOps.H:108: error: within this context
make: *** [Make/linux64GccDPOpt/polyBoundaryMesh.o] Error 1
The problem you are having is probably because you are trying to use Ubuntu's 8.10 gcc, which is too old to work with OpenFOAM 1.6.x. You should use the gcc version 4.3.3 that comes in the ThirdParty package.
If you want a more automated means to install OpenFOAM 1.6.x, I suggest using the install script from http://code.google.com/p/openfoam-ubuntu/
The default settings should work with Ubuntu 8.10.
|All times are GMT -4. The time now is 08:39.|