CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

OpenFoam-1.6.x installation problem

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 20, 2010, 07:55
Default OpenFoam-1.6.x installation problem
New Member
Join Date: Jul 2010
Posts: 2
Rep Power: 0
vsnprasad27 is on a distinguished road
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,
vsnprasad27 is offline   Reply With Quote

Old   August 21, 2010, 04:35
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,123
Blog Entries: 39
Rep Power: 110
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
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
The default settings should work with Ubuntu 8.10.

Best regards,
wyldckat is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 1.7.0 installation problem stevek OpenFOAM 14 December 1, 2010 16:30
Installation paraFoam - still problem nhl OpenFOAM Installation 7 June 22, 2010 09:22
Error occurs when compiling OpenFoam 1.6.x with Icc fs82 OpenFOAM Bugs 5 January 20, 2010 04:08
Problem in installation of OpenFOAM sachin OpenFOAM Installation 7 January 22, 2008 02:40
Installation problem with GCC Norma McKee (Mckee) OpenFOAM Installation 10 March 4, 2007 08:09

All times are GMT -4. The time now is 08:35.