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

[swak4Foam] compilation error swak4foam dev on fe 4.1

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 25, 2018, 18:42
Default compilation error swak4foam dev on fe 4.1
  #1
Member
 
Jeff
Join Date: May 2016
Posts: 44
Rep Power: 9
jf_vt is on a distinguished road
Hi
I understand that fe41 is still on the dev branch so this post is more to provide information rather than get a rapid answer, I will keep an eye on the dev branch for future upgrade.

So:

swak4faom fail to compile using Allwmake script in swak root directory
with the (in)famous "Parser Library did not compile..." error message.

Unfortunately, the log is too cryptic for me to do anything with it so I attach it in case this will be something new.

I also note that the maintenance script install Bison 3.0.4 which is a first to me

JF
Attached Files
File Type: gz logs.tar.gz (4.0 KB, 0 views)
jf_vt is offline   Reply With Quote

Old   July 17, 2018, 07:00
Default compilation error swak4foam dev on fe 4.1
  #2
Member
 
Jeff
Join Date: May 2016
Posts: 44
Rep Power: 9
jf_vt is on a distinguished road
Hello
It seems that swak4foam should compile on fe4.1 ( based on swak4foam tweet feed) but I can' t do it:
My stuff:
-ubuntu 16.04 up to date
-fe4.1 up to date from the git
-swak4foam from mercurial updated to the dev branch as explained on the wikki
-compilation requirement script execute in full without error

-swak4foam compilation terminate with the following first error ( there are more errors afterward):
Code:
In file included from makeSwakDataEntry.C:37:0:
swakDataEntry.H:140:19: error: ‘>>’ should be ‘> >’ within a nested template argument list
     tmp<Field<Type>> value(const scalarField& x) const;
did I miss something?

Thanks
JF
jf_vt is offline   Reply With Quote

Old   July 19, 2018, 10:15
Default
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by jf_vt View Post
Hello
It seems that swak4foam should compile on fe4.1 ( based on swak4foam tweet feed) but I can' t do it:
My stuff:
-ubuntu 16.04 up to date
-fe4.1 up to date from the git
-swak4foam from mercurial updated to the dev branch as explained on the wikki
-compilation requirement script execute in full without error

-swak4foam compilation terminate with the following first error ( there are more errors afterward):
Code:
In file included from makeSwakDataEntry.C:37:0:
swakDataEntry.H:140:19: error: ‘>>’ should be ‘> >’ within a nested template argument list
     tmp<Field<Type>> value(const scalarField& x) const;
did I miss something?

Thanks
JF

No. There were just changes in the development-branch that the C++-11-compatible compiler on v1806 and 6 accepted but the one used by foam-extend didn't. An updated version has been pushed to the development-branch


Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   July 19, 2018, 13:27
Default
  #4
Member
 
Jeff
Join Date: May 2016
Posts: 44
Rep Power: 9
jf_vt is on a distinguished road
Thanks
it works now
JF
jf_vt is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 4.1 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 0 October 13, 2016 07:42
[OpenFOAM.org] OpenFOAM 2.4 ParaView 4.1 compilation problem tubois OpenFOAM Installation 2 October 23, 2015 07:56
Compilation error for OpenFOAM-ext on Ubantu 10.04 32 bit Sargam05 OpenFOAM Installation 13 March 22, 2014 06:21
Compilation Error (V 1.7.1; Icc 12.1.0, OpenMPI 1.4.3) floydfan OpenFOAM Installation 7 December 20, 2011 06:56
Compilation Error.... Arnab Siemens 4 September 12, 2004 16:54


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