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

newbie question - simple pTraits

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

LinkBack Thread Tools Display Modes
Old   April 24, 2011, 08:48
Default newbie question - simple pTraits
New Member
Alan N. Sayre
Join Date: May 2009
Posts: 3
Rep Power: 8
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, 10:20
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,670
Blog Entries: 34
Rep Power: 87
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Already answered here: newbie question - simple pTraits
wyldckat is online now   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
Simple Question Regarding Symmetry Planes Atella CFX 3 April 11, 2010 06:44
Simple Question Regarding Symmetry Planes Atella Main CFD Forum 0 April 9, 2010 10: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 18:19

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