|
[Sponsors] |
Help: OpenFOAM-1.7 was installed, but compiling paraview-3.8 on Mac failed |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 19, 2010, 23:18 |
Help: OpenFOAM-1.7 was installed, but compiling paraview-3.8 on Mac failed
|
#1 |
New Member
Qingluan Xue
Join Date: Jul 2010
Posts: 2
Rep Power: 0 |
I compiled paraview-3.8.0 using fink project gcc4.4.4 and qt-4.5 on mac-10.6.4. I got the following errors. Thanks!
Linking C shared library ../../../bin/libvtktiff.dylib [ 1%] Built target vtktiff Scanning dependencies of target vtkexpat [ 1%] Building C object VTK/Utilities/vtkexpat/CMakeFiles/vtkexpat.dir/xmlparse.c.o [ 1%] Building C object VTK/Utilities/vtkexpat/CMakeFiles/vtkexpat.dir/xmltok.c.o [ 1%] Building C object VTK/Utilities/vtkexpat/CMakeFiles/vtkexpat.dir/xmlrole.c.o Linking C shared library ../../../bin/libvtkexpat.dylib [ 1%] Built target vtkexpat Scanning dependencies of target vtkfreetype [ 1%] Building C object VTK/Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftbase.c.o In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43, from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:20, from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21, from /Volumes/MyMac/OpenFOAM/ThirdParty-1.7.x/paraview-3.8.0/VTK/Utilities/vtkfreetype/src/base/ftmac.c:100, from /Volumes/MyMac/OpenFOAM/ThirdParty-1.7.x/paraview-3.8.0/VTK/Utilities/vtkfreetype/src/base/ftbase.c:38: /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h:147: error: format string argument not a string type make[2]: *** [VTK/Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/src/base/ftbase.c.o] Error 1 make[1]: *** [VTK/Utilities/vtkfreetype/CMakeFiles/vtkfreetype.dir/all] Error 2 make: *** [all] Error 2 |
|
July 20, 2010, 04:48 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Problem is that when you compile paraview with one compiler (4.2) and OF with another (4.4 for instance) the PV3FoamReader-Plugin won't work (incompatible versions of libstdc++). There are two solutions: - configure paraview with the OF-gcc. Set the makefiles to verbose. Whenever a compilation chokes redo it with the apple-compiler then restart make. With this version the plugin should work in the end (did that with previous versions) - configure paraview with the Apple-gcc. Use the built in OF-reader for postprocessing (but you might as well use the binary distro by KitWare) Currently I use the second approach as the first one is a bit tedious Bernhard |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.7 ParaView 3.8 installation problems | shangzung | OpenFOAM Installation | 1 | July 11, 2010 06:38 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 21:41 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 18:07 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 06:31 |
user defined function | cfduser | CFX | 0 | April 29, 2006 10:58 |