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

[waves2Foam] Problems compiling with OpenFOAM 2.1.0 on Mac OS X

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 12, 2015, 09:16
Default Problems compiling with OpenFOAM 2.1.0 on Mac OS X
  #1
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 16
yapalparvi is on a distinguished road
Hi,

could anyone please let me know a step by step procedure to compile wave2foam on OF 2.1.0.

Thanks
yapalparvi is offline   Reply With Quote

Old   May 13, 2015, 04:44
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good morning,

@Ramesh: You need to provide useful information in order to receive an answer. Currently, I can only refer to the wiki and answers in the thread.

Kind regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.

Last edited by wyldckat; October 7, 2018 at 13:51. Reason: removed answer to another post that was on the main thread
ngj is offline   Reply With Quote

Old   May 13, 2015, 08:56
Default
  #3
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 16
yapalparvi is on a distinguished road
Hi Niels,

Here is the error I got while compiling waves2foam

I used svn co link from the wiki and installed libgsl and followed instaructions as in wiki page and did ./Allwmake


ld: warning: directory not found for option '-L/usr/lib64'
Undefined symbols for architecture x86_64:
"Foam::interfaceProperties::interfaceProperties(Fo am::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::IOdictionary const&)", referenced from:
_main in porousWaveFoam.o
"Foam::interfaceProperties::calculateK()", referenced from:
_main in porousWaveFoam.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [/Users/ramesh/OpenFOAM/ramesh-2.1.0/platforms/darwinIntel64Gcc46DPOpt/bin/porousWaveFoam] Error 1
ld: warning: directory not found for option '-L/usr/lib64'
Undefined symbols for architecture x86_64:
"Foam::interfaceProperties::interfaceProperties(Fo am::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::IOdictionary const&)", referenced from:
_main in waveFoam.o
"Foam::interfaceProperties::calculateK()", referenced from:
_main in waveFoam.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [/Users/ramesh/OpenFOAM/ramesh-2.1.0/platforms/darwinIntel64Gcc46DPOpt/bin/waveFoam] Error 1

Last edited by wyldckat; October 7, 2018 at 13:51. Reason: removed quote, since the post is now right above it on the new thread
yapalparvi is offline   Reply With Quote

Old   May 13, 2015, 19:13
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hallo Ramesh,

It appears that you are trying to compile on Mac OSX, is that correct? I have no experience on that system, but I suspect that the linking to GSL is the problem.

Kind regards

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj 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
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 08:51
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 15:54
[waves2Foam] Problems compiling with Ubuntu 14.04 and OpenFOAM 3.0.1 kenrichaiz OpenFOAM Community Contributions 4 December 1, 2016 03:05
[OpenFOAM.org] Problems to run OpenFOAM 3.0.1 on Mac OS 10.11.4 remidemol OpenFOAM Installation 2 March 25, 2016 11:29
Is it a good idea to use OpenFoam on a Mac (OS 10.7.5) or on Windows7? bzz77 OpenFOAM Installation 4 November 21, 2012 17:06


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