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

mesquiteMotionSolver compilation error (1.6-extend)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 14, 2011, 13:57
Default mesquiteMotionSolver compilation error (1.6-extend)
  #1
New Member
 
Anirban Jana
Join Date: Apr 2010
Location: Pittsburgh, PA, USA
Posts: 19
Rep Power: 16
jans is on a distinguished road
Hi,
I am getting errors in compiling OpenFoam 1.6-ext using gcc 4.5.2. Some seem to be related to gcc (I dont know if these matter) but a couple of errors are related to MsqIRel.hpp. I have copied some hpp files from mesquite src (v2.1.4 as I didn't find v2.1.2 src code) to Thirdparty mesquite include dir foll the advice in this thread:
http://www.cfd-online.com/Forums/openfoam-installation/82456-error-compiling-openfoam-1-6-ext.html

The errors are listed below. Please advice:

wmake libso mesquiteMotionSolver
...

/usr/local/packages/gcc/gcc-4.5.2/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/x86_64-unknown-linux-gnu/bits/c++locale.h:52:23: error: âuselocaleâ was not declared in this scope

/usr/local/packages/gcc/gcc-4.5.2/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/x86_64-unknown-linux-gnu/bits/c++locale.h:52:45: error: invalid type in declaration before â;â token
/usr/local/packages/gcc/gcc-4.5.2/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/x86_64-unknown-linux-gnu/bits/c++locale.h:72:53: error: â__gnu_cxx::__uselocaleâ cannot be used as a function
/usr/local/packages/gcc/gcc-4.5.2/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/x86_64-unknown-linux-gnu/bits/c++locale.h:97:33: error: â__gnu_cxx::__uselocaleâ cannot be used as a function
...
/usr/local/packages/OpenFOAM/1.6-ext/OpenFOAM-1.6-ext/ThirdParty/packages/mesquite-2.1.2/platforms/linux64GccDPOpt/include/MsqIRel.hpp:51:12: error: âiRel_PairHandleâ has not been declared
/usr/local/packages/OpenFOAM/1.6-ext/OpenFOAM-1.6-ext/ThirdParty/packages/mesquite-2.1.2/platforms/linux64GccDPOpt/include/MsqIRel.hpp:96:3: error: âiRel_PairHandleâ does not name a type
...

/usr/include/bits/stdio.h:118:52: error: â__getdelimâ was not declared in this scope
jans is offline   Reply With Quote

Reply

Tags
msqirel.hpp compile error, openfoam 1.6-ext


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
Extend Project Release 1.6-ext hjasak OpenFOAM Announcements from Other Sources 33 July 14, 2011 19:54
errors during compilation and installation of OpenFOAM-1.7.x on Ubuntu 10.04 ftec OpenFOAM Installation 7 February 23, 2011 07:07
Compilation error with uparm.f Raghu Siemens 2 May 30, 2007 03:09
How to extend the time for particles track? Mary FLUENT 0 February 8, 2006 01:05
Compilation Error.... Arnab Siemens 4 September 12, 2004 16:54


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