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

OF 1.9 (aka OF 2.1) on Mac OS X

Register Blogs Community New Posts Updated Threads Search

Like Tree25Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2012, 07:06
Default
  #181
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Greetings ooznie and welcome to the forum!

I've moved your post to this thread, to keep the questions related to those instructions all in a single thread.

Now, from the output file you provided, it looks like that the main problem is that you mounted the image in read-only mode and therefore does not allow you to write files into it. Unmount the image and mount it again with write permissions.
After mounting it, test if you can write anything into it. If successful, start again from section 2.3.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   December 10, 2012, 11:55
Unhappy installing issues
  #182
New Member
 
Joan Subirats
Join Date: Nov 2012
Posts: 4
Rep Power: 14
joan.subirats is on a distinguished road
Dear Bruno,

I tried to install OF a couple of times in order to make sure I was following the steps word by word, but unfortunately it still does not work.

Mac Os 10.6.8
I just applied the patches:
-OpenFOAM-2.1.x-gcc42.patch
-OpenFOAM-2.1.x-Mac-gcc46.patch

As I understood as per OF version I'm trying to install (2.1.1) I don't need the rest.

Also I have a question concerning the .bashrc file. This not come by default but .profile file. So I need to create it anyway or could I use the .profile file.

I hope this time to get succes.

Thanks in advance.
Attached Files
File Type: zip make1.zip (88.3 KB, 1 views)
File Type: zip make2.zip (38.0 KB, 0 views)
joan.subirats is offline   Reply With Quote

Old   December 11, 2012, 15:06
Default
  #183
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 joan.subirats View Post
Dear Bruno,

I tried to install OF a couple of times in order to make sure I was following the steps word by word, but unfortunately it still does not work.

Mac Os 10.6.8
I just applied the patches:
-OpenFOAM-2.1.x-gcc42.patch
-OpenFOAM-2.1.x-Mac-gcc46.patch

As I understood as per OF version I'm trying to install (2.1.1) I don't need the rest.

Also I have a question concerning the .bashrc file. This not come by default but .profile file. So I need to create it anyway or could I use the .profile file.

I hope this time to get succes.

Thanks in advance.
Have you applied the ThirdParty-patch too? Because it seems that scotch is not correctly compiled and everything goes downhill from there

About bashrc vs profile: use bashrc http://serverfault.com/questions/261...file-vs-bashrc

http://serverfault.com/questions/261...file-vs-bashrc
__________________
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   December 11, 2012, 16:42
Default
  #184
New Member
 
Joan Subirats
Join Date: Nov 2012
Posts: 4
Rep Power: 14
joan.subirats is on a distinguished road
Hi gschaider,

Yes I applied the Thirdparty patch, but having following error:

1 out of 1 hunk FAILED -- saving rejects to file scotch_5.1.11/src/Makefile.inc.rej

As far as I understood this is a minor error that is solved when compiled.

Patches applied on OpenFOAM-2.1.1 and ThirdParty-2.1.1 are:

ThirdParty-2.1.0-Mac.patch
OpenFOAM-2.1.x-Mac-gcc46.patch
OpenFOAM-2.1.x-Mac.patch

I also understood that "OpenFOAM-2.1.x-Mac_20121009.patch" it is recommended for Mac Os X 10.7.

Will see if I get success again.
joan.subirats is offline   Reply With Quote

Old   December 12, 2012, 01:12
Default
  #185
Member
 
Vishal Achasrya
Join Date: Nov 2011
Posts: 38
Rep Power: 15
vishalsacharya is on a distinguished road
Thanks for the effort Bernhard. This is my first time trying this on my mac...

I got the following error though:

Vishals-MacBook-Pro:OpenFOAM-2.1.x vishalacharya$ patch -p1 <OpenFOAM-2.1.x-Mac.patch
patching file applications/solvers/combustion/chemFoam/Make/options
patching file applications/solvers/combustion/fireFoam/Make/options
patching file applications/solvers/compressible/rhoSimplecFoam/Make/options
patching file applications/solvers/incompressible/adjointShapeOptimizationFoam/Make/options
patching file applications/solvers/incompressible/channelFoam/Make/options
patching file applications/solvers/incompressible/pimpleFoam/pimpleDyMFoam/Make/options
patching file applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/Make/options
patching file applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/Make/options
patching file applications/solvers/lagrangian/icoUncoupledKinematicParcelDyMFoam/Make/options
patching file applications/solvers/lagrangian/icoUncoupledKinematicParcelFoam/Make/options
patching file applications/solvers/lagrangian/reactingParcelFilmFoam/Make/options
patching file applications/solvers/multiphase/compressibleInterFoam/Make/options
Hunk #1 succeeded at 7 with fuzz 1 (offset 1 line).
patching file applications/solvers/multiphase/compressibleInterFoam/compressibleInterDyMFoam/Make/options
Hunk #1 succeeded at 11 with fuzz 1 (offset 1 line).
patching file applications/solvers/multiphase/interFoam/LTSInterFoam/Make/options
Hunk #1 succeeded at 8 with fuzz 1 (offset 1 line).
patching file applications/solvers/multiphase/interFoam/MRFInterFoam/Make/options
Hunk #1 succeeded at 8 with fuzz 1 (offset 1 line).
patching file applications/solvers/multiphase/interFoam/Make/options
Hunk #1 succeeded at 8 (offset 1 line).
patching file applications/solvers/multiphase/interFoam/interDyMFoam/Make/options
patching file applications/solvers/multiphase/interFoam/porousInterFoam/Make/options
can't find file to patch at input line 220
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/applications/solvers/multiphase/interMixingFoam/Make/options b/applications/solvers/multiphase/interMixingFoam/Make/options
|--- a/applications/solvers/multiphase/interMixingFoam/Make/options
|+++ b/applications/solvers/multiphase/interMixingFoam/Make/options
--------------------------
File to patch:
vishalsacharya is offline   Reply With Quote

Old   December 12, 2012, 13:32
Default
  #186
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 vishalsacharya View Post
Thanks for the effort Bernhard. This is my first time trying this on my mac...

I got the following error though:

Vishals-MacBook-Pro:OpenFOAM-2.1.x vishalacharya$ patch -p1 <OpenFOAM-2.1.x-Mac.patch
patching file applications/solvers/combustion/chemFoam/Make/options
patching file applications/solvers/combustion/fireFoam/Make/options
patching file applications/solvers/compressible/rhoSimplecFoam/Make/options
patching file applications/solvers/incompressible/adjointShapeOptimizationFoam/Make/options
patching file applications/solvers/incompressible/channelFoam/Make/options
patching file applications/solvers/incompressible/pimpleFoam/pimpleDyMFoam/Make/options
patching file applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/Make/options
patching file applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/Make/options
patching file applications/solvers/lagrangian/icoUncoupledKinematicParcelDyMFoam/Make/options
patching file applications/solvers/lagrangian/icoUncoupledKinematicParcelFoam/Make/options
patching file applications/solvers/lagrangian/reactingParcelFilmFoam/Make/options
patching file applications/solvers/multiphase/compressibleInterFoam/Make/options
Hunk #1 succeeded at 7 with fuzz 1 (offset 1 line).
patching file applications/solvers/multiphase/compressibleInterFoam/compressibleInterDyMFoam/Make/options
Hunk #1 succeeded at 11 with fuzz 1 (offset 1 line).
patching file applications/solvers/multiphase/interFoam/LTSInterFoam/Make/options
Hunk #1 succeeded at 8 with fuzz 1 (offset 1 line).
patching file applications/solvers/multiphase/interFoam/MRFInterFoam/Make/options
Hunk #1 succeeded at 8 with fuzz 1 (offset 1 line).
patching file applications/solvers/multiphase/interFoam/Make/options
Hunk #1 succeeded at 8 (offset 1 line).
patching file applications/solvers/multiphase/interFoam/interDyMFoam/Make/options
patching file applications/solvers/multiphase/interFoam/porousInterFoam/Make/options
can't find file to patch at input line 220
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/applications/solvers/multiphase/interMixingFoam/Make/options b/applications/solvers/multiphase/interMixingFoam/Make/options
|--- a/applications/solvers/multiphase/interMixingFoam/Make/options
|+++ b/applications/solvers/multiphase/interMixingFoam/Make/options
--------------------------
File to patch:
The hunks are OK. They only mean "the original line is in a different place than I expected. But I found it"

The missing file, I don't know: maybe that solver was moved somewhere else in the version of the sources you have. Either look for it in your source tree and enter the correct path or just press enter. You will then be asked whether you want to skip that file and it will go on (or something like that. The messages are plain English so just use your common sense)
__________________
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   December 12, 2012, 13:45
Default
  #187
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
FYI: the "interMixingFoam" folder was indeed moved:
__________________
wyldckat is offline   Reply With Quote

Old   December 12, 2012, 16:22
Default
  #188
Member
 
Vishal Achasrya
Join Date: Nov 2011
Posts: 38
Rep Power: 15
vishalsacharya is on a distinguished road
Bernhard - Actually, it was common sense that i first used and proceeded, but it ended up not working in the end. This is only with 2.1.x. This is despite looking for the actual path and then accounting for it.
I tried with 2.1.1 and it works fine, except for a minor manual inclusion that needs to be in the Options file under Make for "R". I figured out that as well and 2.1.1 is now fully setup and running.
Thanks for the scripts btw, Appreciate your effort.

Bruno - I figured as much, especially when i did a find on it and found it elsewhere. I changed the path to it in the patch too and reapplied it (freshly) and it still did not work properly (during Allwmake). However, this was only with 2.1.x but 2.1.1 was fine.

A general (maybe dumb) question. I tried to setup the alias for of211 and i did this based on the suggestion on wiki and some posts in this chain of threads using hdiutil.... but does this work for sparseimages? or something else has to be done for this? The example shows the commandline for a dmg file. When i use it with a sparseimage, it gives errors and does not work. For now, im just manually sourcing it.
vishalsacharya is offline   Reply With Quote

Old   December 12, 2012, 17:26
Default
  #189
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 vishalsacharya View Post
Bernhard - Actually, it was common sense that i first used and proceeded, but it ended up not working in the end.
Didn't want to imply that you didn't use common sense. It is just that sometimes people try to understand the complete output when it would have been better to read it as a plain English sentence with some obscure name in the middle

Quote:
Originally Posted by vishalsacharya View Post
This is only with 2.1.x. This is despite looking for the actual path and then accounting for it.
I tried with 2.1.1 and it works fine, except for a minor manual inclusion that needs to be in the Options file under Make for "R". I figured out that as well and 2.1.1 is now fully setup and running.
My 2.1.x has interMixingFoam in that place. But that hasn't been updated for some weeks. Maybe it was moved in the meantime.

Quote:
Originally Posted by vishalsacharya View Post
Thanks for the scripts btw, Appreciate your effort.

Bruno - I figured as much, especially when i did a find on it and found it elsewhere. I changed the path to it in the patch too and reapplied it (freshly) and it still did not work properly (during Allwmake). However, this was only with 2.1.x but 2.1.1 was fine.

A general (maybe dumb) question. I tried to setup the alias for of211 and i did this based on the suggestion on wiki and some posts in this chain of threads using hdiutil.... but does this work for sparseimages? or something else has to be done for this? The example shows the commandline for a dmg file. When i use it with a sparseimage, it gives errors and does not work. For now, im just manually sourcing it.
__________________
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   December 14, 2012, 09:34
Default
  #190
New Member
 
Joan Subirats
Join Date: Nov 2012
Posts: 4
Rep Power: 14
joan.subirats is on a distinguished road
Dear All,

After several tries I finally got no errors and I'm at the point '2.6.3 Permanent Installation', where I need some dummy guidelines about mounting the dmg as I tried several options and no one work. Maybe the problem comes from the bashrc file, that as Mac newbee I'm is:

I tried to add the line:

alias of21='hdiutil attach "/Users/Joan/OpenFOAM.dmg" -mountpoint "$HOME/OpenFOAM" > /dev/null ; . $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc'


to my personal bashrc file located at /private folder, but it does not let me save changes made. Then I tried to add the line at the end of bashrc file at '/OpenFOAM-2.1.1/etc/bashrc' but it does not work either. Maybe is the way I mounted the dmg file, don't know.

A last push to get this sorted out.

Thanks,

Joan
joan.subirats is offline   Reply With Quote

Old   December 15, 2012, 13:25
Default
  #191
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
@Joan: Did you try searching with Google? I've searched just now with the following keywords:
Code:
Mac OS X edit .bashrc
The first one I got was this: http://forums.macrumors.com/showthread.php?t=899323
And this one peaked my interest right after: http://superuser.com/questions/24496...rc-not-working

Good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   December 27, 2012, 00:02
Default Success building - but failure building tutorials
  #192
New Member
 
Ontario
Join Date: Dec 2012
Posts: 3
Rep Power: 13
robm is on a distinguished road
Hello

First, a huge thank-you to those who put together these instructions and this thread.

My system is Lion on an MBA see below.


mba:OpenFOAM-2.1.1 robm$ uname -a
Darwin mba 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64

gcc is from MacPorts (version 4.6.3_9)

A couple of things kind of confused me during the build.
1) the patch file for ThirdParty produces an error
# this needs generalizing
scotchMakefile=../../etc/wmakeFiles/scotch/Makefile.inc.i686_pc_linux2.shlib-OpenFOAM-$WM_ARCH_OPTION
+if [ "$WM_ARCH_BASE" == "darwin" ]
+ then
+ scotchMakefile=../../etc/wmakeFiles/scotch/Makefile.inc.i686_mac_darwin.shlib-OpenFOAM
+fi

There was a much earlier post that said to ignore the error and that it would be looked after during the build. I'm not an expert in patch files, but when I looked at the file being patched, it didn't seem to have either of the lines shwon above, neither the (+) or the (-) ?

2) the instructions in openfoamwiki never say to run the Thirdparty patch, just to get it (minor - but for me I missed the step)

3) After building, I went to tutorials and did ./Allrun It went until

Running XiFoam on /Volumes/foamDiskImage/OpenFOAM-2.1.1/tutorials/combustion/XiFoam/les/pitzDaily

This ran for over 4 hours and one of the processes was consuming 100% (one core) so it looks like something is in a hard loop. Not sure what, or if this happens on other platforms or not. I'm just trying to learn FOAM so this is not critical for me.

4) I believe it is only necessary to create a package if your disk is case-insensitive right? I always reformat my disks to be case-sensitive prior to installation for just this reason.

5) I found the naming conventions (OpenFoam , OpenFOAM, OpenFOAM-2.1.1, OpenFOAM-v2.1) to be confusing because they are so similar. I didn't clue in that once you create the package of off /Volumes that the source directories go INSIDE of it, because of the similarity of the names. The resulting package contains all of the source, executables and tutorials rather than installing the executables in the usual places. Perhaps this is a consequence of the expectation of case sensitivity. (eg. OpenFOAM, OpenFoam would be the same on a case insensitive volume)

Hope this helps someone.
Rob
robm is offline   Reply With Quote

Old   December 27, 2012, 00:32
Default To Joan - problem saving bashrc.
  #193
New Member
 
Ontario
Join Date: Dec 2012
Posts: 3
Rep Power: 13
robm is on a distinguished road
@Joan
HTML Code:
I tried to add the line:

alias of21='hdiutil attach "/Users/Joan/OpenFOAM.dmg" -mountpoint "$HOME/OpenFOAM" > /dev/null ; . $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc'


to my personal bashrc file located at /private folder, but it does not let me save changes made. Then I tried to add the line at the end of bashrc file at '/OpenFOAM-2.1.1/etc/bashrc' but it does not work either. Maybe is the way I mounted the dmg file, don't know.
Joan, you shouldn't be trying to save .bashrc in /private. You should save it in your home directory. (see http://www.westwind.com/reference/os-x/invisibles.html)

Assuming you logged in as joan then your .bashrc would be in /Users/joan/.bashrc
robm is offline   Reply With Quote

Old   December 27, 2012, 07:05
Default
  #194
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Greetings Rob and welcome to the forum!

Many thanks for detailing the missing steps! And please feel free to update the wiki page with your findings!

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   January 1, 2013, 12:11
Default Any ideas on the error at the end of the make.log?
  #195
New Member
 
Join Date: Jan 2013
Posts: 12
Rep Power: 13
adventicemj is on a distinguished road
Hi,
I tried to install OF 2.1 on my mac mountain lion, but when I ran Allwmake, I have the following errors at the end of the make.log file. I would very much appreciate any tips.

lnInclude/fvCFD.H:4,
from multiphaseEulerFoam.C:33:
/opt/local/include/gcc46/c++/typeinfo:42:37: error: expected declaration before end of line
make[2]: *** [Make/darwinIntel64Gcc46DPOpt/multiphaseEulerFoam.o] Error 1
make[2]: Target `/Users/mj/OpenFOAM/OpenFOAM-2.1.1/platforms/darwinIntel64Gcc46DPOpt/bin/multiphaseEulerFoam' not remade because of errors.
make[1]: *** [multiphaseEulerFoam] Error 2
make[1]: Target `application' not remade because of errors.
make: *** [multiphase] Error 2
make: Target `application' not remade because of errors.

Thanks in advance.
adventicemj is offline   Reply With Quote

Old   January 1, 2013, 13:08
Default
  #196
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Greetings adventicemj and welcome to the forum!

Quoting from the wiki page: http://openfoamwiki.net/index.php/Ho...osing_problems
Quote:
If you do find errors, the first one is usually the one to blame for all of the other errors.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   January 1, 2013, 18:35
Default
  #197
New Member
 
Join Date: Dec 2012
Location: Washington DC
Posts: 1
Rep Power: 0
vivekd is on a distinguished road
Hi Bruno:

I'm new to this forum. Using the wiki page I was able to successfully install OpenFOAM on my OS 10.7.5 machine. The only problem that I am having is doing the permanent install. In my .bash_profile I added the following line:

alias of21='hdiutil attach "/Users/vivekd/OpenFOAM-v2.1.sparseimage" -mountpoint "$HOME/OpenFOAM" > /dev/null ; . $HOME/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc'

I then sourced the file using:
source .bash_profile.

When I restarted my machine OpenFOAM still did not do an automatic mount. Any suggestions would be greatly appreciated.

Thanks.

--Vivek
vivekd is offline   Reply With Quote

Old   January 2, 2013, 11:37
Default
  #198
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Greetings Vivek and welcome to the forum!
  1. After you rebooted, did you start a new terminal window and run this command :
    Code:
    of21
  2. You might want to look into post #192 for a few more tips: http://www.cfd-online.com/Forums/ope...tml#post399159
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   January 4, 2013, 10:36
Default
  #199
New Member
 
Join Date: Jan 2013
Posts: 12
Rep Power: 13
adventicemj is on a distinguished road
Hi Bruno,
I am sorry but I am a new mac user and I am not a software engineer... I tried again but it still does not work. Could you please give me a hint on the error message? Alternatively, do you think it would be best to set up a virtual box with Ubuntu on it to run OpenFOAM? I have a desktop running Ubuntu and I just bought a macbook air for when I am away.
Kind regards.
adventicemj is offline   Reply With Quote

Old   January 4, 2013, 20:20
Default re: help with error.
  #200
New Member
 
Ontario
Join Date: Dec 2012
Posts: 3
Rep Power: 13
robm is on a distinguished road
Quote:
Originally Posted by adventicemj View Post

lnInclude/fvCFD.H:4,
from multiphaseEulerFoam.C:33:
/opt/local/include/gcc46/c++/typeinfo:42:37: error: expected declaration before end of line

Thanks in advance.

This might be a wild guess, but I looked at my copy of typeinfo -it's a c++ include file. Could your copy of that file be corrupted. My line 42 is also 37 characters long, but doesn't generate an error. I'd look for partial lines, missing semi-colons, or have you ever edited the file with windows editor.

My file looks like this and it is part of the C++ standard library, so it is unlikely that it contains an error. More likely it is corrupted. The line in question is
#pragma GCC visibility push(default)



Quote:
/** @file typeinfo
* This is a Standard C++ Library header.
*/

#ifndef _TYPEINFO
#define _TYPEINFO

#pragma GCC system_header

#include <exception>
#ifdef __GXX_EXPERIMENTAL_CXX0X__
#include <bits/hash_bytes.h>
#endif


#pragma GCC visibility push(default)

extern "C++" {

namespace __cxxabiv1
{
class __class_type_info;
} // namespace __cxxabiv1
Sorry I couldn't be of more help. One other thing you can try it deleting lines that precede the failing line - this kind of looks like the parser is confused.
robm is offline   Reply With Quote

Reply

Tags
compilation error


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
Extend Project 1.6-ext Binary Release for Mac OS X hjasak OpenFOAM Announcements from Other Sources 26 November 5, 2013 17:50
Openfoam mac: Compiling custom libraries atareen64 OpenFOAM 3 April 14, 2011 12:01
OpenFOAM-1.6 on Mac OS X 10.6.1 elvisjohndowson OpenFOAM 6 October 21, 2009 16:45
Mac Simple Install Request or Processing Assistance Help sjohnson OpenFOAM Installation 4 December 12, 2008 08:46
MAC + SOLA for free surface T Main CFD Forum 1 April 11, 2001 14:43


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