CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

OpenFoam-1.6.x installation problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2010, 08:55
Default OpenFoam-1.6.x installation problem
  #1
New Member
 
Prasad
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, 05:35
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Reply


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 Off
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 10: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 11:58.