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

[swak4Foam] Problem compiling simpleFunctionObjects library

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By gschaider

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2014, 12:23
Default Problem compiling simpleFunctionObjects library
  #1
Member
 
Luca
Join Date: Mar 2011
Location: Italy
Posts: 62
Rep Power: 15
marluc is on a distinguished road
Dear All,

I have downloaded the simpleFunctionObjects according to the link provided here:
http://openfoamwiki.net/index.php/Co...unctionObjects

I have it in my home directory and following the README file I used the following command to compile it:
Code:
wmake libso
but unfortunately I get the following error:
Code:
linux64GccDPOpt/options:6: linux64GccDPOpt/../../../rules/versionOptions: No such file or directory
make: *** No rule to make target `linux64GccDPOpt/../../../rules/versionOptions'.  Stop.
wmake error: file 'Make/linux64GccDPOpt/objectFiles' could not be created in /home/luca/OpenFOAM/luca-2.3.0/applications/utilities/simpleFunctionObjects
I am running OF 2.3 on Ubuntu 12.04 LTS.

Can somebody help me?

Thank you in advance,
Luca
marluc is offline   Reply With Quote

Old   June 3, 2014, 17:43
Default
  #2
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 marluc View Post
Dear All,

I have downloaded the simpleFunctionObjects according to the link provided here:
http://openfoamwiki.net/index.php/Co...unctionObjects

I have it in my home directory and following the README file I used the following command to compile it:
Code:
wmake libso
but unfortunately I get the following error:
Code:
linux64GccDPOpt/options:6: linux64GccDPOpt/../../../rules/versionOptions: No such file or directory
make: *** No rule to make target `linux64GccDPOpt/../../../rules/versionOptions'.  Stop.
wmake error: file 'Make/linux64GccDPOpt/objectFiles' could not be created in /home/luca/OpenFOAM/luca-2.3.0/applications/utilities/simpleFunctionObjects
I am running OF 2.3 on Ubuntu 12.04 LTS.

Can somebody help me?

Thank you in advance,
Luca
On top of the page it say "Note: This library will be integrated into swak4Foam starting with OF 2.0". For a long time I tried to maintain it in a way that it is a part of swak4foam (as some functionality of swak needs this library) but can be used independently of it. That independent version is the one you're referring to. I had to give this up because it would have meant some awkward technical workarounds in swak4Foam (it is still possible to make an independent simpleFunctionObjects but I don't have time to maintain this). The problem you're having is exactly one such place: different OF-versions have different interfaces. To support them all there has to be a way to distinguish between them. The missing file does that. But it does not reside in simpleFunctionObjects but one above: in swak. Either copy it from the swak-sorces or install swak as a whole. So the link you're referring to does not work. I will remove it as it seems to be misleading.

TL;DR: install swak. Sorry
marluc likes this.
__________________
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   June 3, 2014, 18:23
Default
  #3
Member
 
Luca
Join Date: Mar 2011
Location: Italy
Posts: 62
Rep Power: 15
marluc is on a distinguished road
Dear Bernhard,

thank you very much for your reply.
I will follow your hint and install swak. Hope it works.

Thank you and regards,
Luca
marluc is offline   Reply With Quote

Reply

Tags
of 2.3, simplefunctionobjects


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
Problem with Compiling UDFs in Ansys Fluent 13 (lnx64) Ali.beh Fluent UDF and Scheme Programming 3 August 27, 2018 05:22
problem during compiling UDF ned.musab Fluent UDF and Scheme Programming 1 October 11, 2017 11:48
Compiling an external Fortran library of thermodynamics and using inside reactingFoam Mehdi3031 OpenFOAM Programming & Development 4 March 18, 2016 19:10
UDF Compilation Error - Loading Library - COMMON Problem! Help! robtheslob Fluent UDF and Scheme Programming 8 July 24, 2015 01:53
Problem with compiling the WAVE.C (UDF) raghu mohan Fluent UDF and Scheme Programming 4 November 25, 2011 15:09


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