Installing OF 1.6 on Mac OS X
Hi!
I managed to compile OF 1.6 on my MacBook. The necessary patches and some (very short) instructions can be found at: http://openfoamwiki.net/index.php/Ho...enFOAM_v16_Mac IMHO the instructions are sufficient for somebody who has already compiled OF (preferably on a Mac) but for someone who has never compiled OF they may be hard to understand. I therefor encourage everyone who finds an error (typo or otherwise) on that page or who finds the instructions on the page too short to extend the page. Maybe it will grow into something that is usable for everyone ;) Bernhard |
cool, will give it a try
Thanks PO |
Quote:
|
Hi !
The compiling was successful under 32 bit. I'm planning to try 64 bit later today. I might try ParaView later but I'm planning to stick to Takuya's reader. For sure I will contribute to the wiki page ! Thanks PO |
Quote:
So I'm afraid Takuya's reader won't work in 64bit, too. Quote:
|
Did you recompile QT with Cocoa 64 bit ? That's the key !
|
Hi Bernhard,
for darwinIntel64, I think the patches will need very minor modifications for the "if defined darwinPpc || defined darwinIntel" statements. Regards, PO |
Quote:
|
Quote:
But WHAT I noticed during checking is that for 64 bit in wmake/Makefile the extension for shared libs is NOT set to dylib. But this should be only of cosmetic importance |
Patches for OpenFOAM 1.6 on OSX
Hi all
I found this instructions [1] however I'm unable to download the patches linked there (I just get some html files), does anybody here have this patches? Would be great if you could post them again. [1] http://openfoamwiki.net/index.php/Ho...enFOAM_v16_Mac |
Use Firefox instead of Safari to download the files
Cheers PO |
Quote:
|
I tried to compile OF as described in the wiki. I could apply the patches by using patch -p1 < patchfile. However it still didn't compile. I posted the build log [1] could anybody have a look at it? Also it complained that it could not find malloc.h which is in /usr/include/sys. As a workaround i created a symlink in /usr/include for malloc.h.
[1] http://emerging-patterns.com/tmp/compile.log |
Bernhard,
I have applied minor modifs to your patches regarding the darwinIntel64 arch / should I send it you via email for your review ? We could add those files on the Wiki Andrew - those modifs should help you Thanks PO |
Quote:
could not open file PrimitivePatch.H for source file db/regIOobject/regIOobject.C leads me to the question: you're compiling OF on a case-sensitive-filesystem, are you? Got to $FOAM_SRC/OpenFOAM/lnInclude and chack if there is a primitivePatch.H AND a PrimitivePatch.H. If not got back to the start (create a disk-image or a partition with a case-sensitve file-system and do the compilation there) Bernhard |
Quote:
Quote:
|
just sent an email / yes, no malloc problem
|
@gschaider: I was asking myself that too and checked it:
macbook:~ nils$ cd /Users/nils/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/ macbook:lnInclude nils$ ls [pP]rimitivePatch.H PrimitivePatch.H primitivePatch.H Otherwise I would already get trouble when trying to expand the archive, right? I also noticed the "could not open file" errors, but don't have an idea why they appear.. @podallaire What else problems does your new patch fix? |
... just minor details which replicate the behavior of the patch for 32 bit (darwinIntel) for the 64 bit (darwinIntel64)
|
Quote:
Quote:
Quote:
find $FOAM_SRC -name missingFile.C whether these files are there. Maybe something happened during untarring |
All times are GMT -4. The time now is 23:00. |