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

newbie question - simple pTraits

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2011, 09:48
Default newbie question - simple pTraits
  #1
ans
New Member
 
Alan N. Sayre
Join Date: May 2009
Posts: 3
Rep Power: 17
ans is on a distinguished road
Under cygwin when I try to compile pTraits with g++ 4.3.4 I get the following error:

$ g++ -o test pTraitsTest.C -DWM_DP
pTraits.H: In instantiation of `Foam:Traits<double>':
pTraitsTest.C:38: instantiated from here
pTraits.H:52: error: base type `double' fails to be a struct or class type
pTraitsTest.C: In function `int main()':
pTraitsTest.C:38: error: `typeName' is not a member of `Foam:Traits<double>'

Is it possible to compile pTraits in this manner?
ans is offline   Reply With Quote

Old   April 24, 2011, 11:20
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
Already answered here: http://www.cfd-online.com/Forums/ope...tml#post304866
__________________
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
Simple Question Regarding Symmetry Planes Atella CFX 3 April 11, 2010 07:44
Simple Question Regarding Symmetry Planes Atella Main CFD Forum 0 April 9, 2010 11:58
Question of Anil Date's SIMPLE method universez Main CFD Forum 0 November 18, 2009 21:12
1D thermal stress problem simple barrodbeam newsboost OpenFOAM Running, Solving & CFD 3 January 2, 2009 16:12
A Simple Question Thomas P. Abraham Main CFD Forum 3 September 6, 1999 19:19


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