CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OpenFoam-1.6.x installation problem (https://www.cfd-online.com/Forums/openfoam-installation/79340-openfoam-1-6-x-installation-problem.html)

vsnprasad27 August 20, 2010 07:55

OpenFoam-1.6.x installation problem
 
Hi All,

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



Thank you,

wyldckat August 21, 2010 04:35

Greetings Prasad,

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.

Best regards,
Bruno


All times are GMT -4. The time now is 11:28.