|
[Sponsors] |
February 24, 2009, 21:51 |
Compiling Paraview on OSX 1056
|
#1 |
Senior Member
|
I'm trying to compile paraview (3.4.0 or 3.5) on my MacBookPro and MacPro workstation so that I can build it with Takuya Oshima's plugin. However, I get errors when trying to use ccmake
CMake Error at /Applications/CMake 2.6-3.app/Contents/share/cmake-2.6/Modules/TestBigEndian.cmake:31 (MESSAGE): no suitable type found ll Stack (most recent call first): TK/CMake/CMakeBackwardCompatibilityC.cmake:31 (TEST_BIG_ENDIAN) VTK/CMakeLists.txt:365 (INCLUDE) Anyone have an idea on how to solve this problem? I've been chasing my tail for awhile and thought it was time to ask the community for help. Eric |
|
February 24, 2009, 22:53 |
Hi Eric,
never had this pro
|
#2 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Hi Eric,
never had this problem in the past (I re-compiled it yesterday). In fact, I built cmake-2.6.2 from the tar.gz instead of using the dmg version, maybe it makes a difference ? PO |
|
February 25, 2009, 09:04 |
Hi Eric, Pierre-Olivier,
I ha
|
#3 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Hi Eric, Pierre-Olivier,
I had no problem with building ParaView 3.5.0 using CMake 2.6.3 downloaded from Kitware (cmake-2.6.3-Darwin-universal.tar.gz) on OS X 10.5.6 either. How about starting over from a fresh state?? Takuya |
|
February 25, 2009, 09:13 |
Hi PO & Takuya,
I just rebu
|
#4 |
Senior Member
|
Hi PO & Takuya,
I just rebuilt cmake from source, and I'm still getting the error complaining about line 31 of TestBigEndian.cmake where it tests for "unsigned long". Takuya, any recommendations on how to start from a fresh state? I'm actually trying this on a brand new MacBookPro (although I did port all of my apps and documents using MigrationAssistant.app. I'm using gcc 4.3.3, and built it from MacPorts. Eric |
|
February 25, 2009, 09:23 |
Hi,
Then how about simply usi
|
#5 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Hi,
Then how about simply using gcc-4.0.1 that comes with OS X (developer tools)? I'm using gcc included in Xcode 3.1.2 (downloaded from Apple's developer site) but the default version should just work. Takuya |
|
February 25, 2009, 09:44 |
Version of gcc was the problem
|
#6 |
Senior Member
|
Version of gcc was the problem. Upon rerunning cmake with /usr/bin/gcc and /usr/bin/c++ (which point to gcc-4.0.1 that comes with OSX), everything ran OK.
Thanks, Takuya and PO. |
|
February 25, 2009, 12:44 |
Takuya,
I'm getting close.
|
#7 |
Senior Member
|
Takuya,
I'm getting close. Paraview 3.5 runs on my Mac, but when trying to read an OpenFOAM case, I get the following: [11:39:40][egp@egpMBP:sigma]555$ pvFoam ERROR: In /Users/egp/softwareProjects/ParaView-3.5/Servers/Common/vtkProcessModule.cxx, line 1046 vtkProcessModule (0x6b4fa40): Object type: vtkOpenFOAMReader, could not find requested method: "SetTimeStep" or the method was called with incorrect arguments. while processing Message 0 = Invoke Argument 0 = id_value {78} Argument 1 = string_value {SetTimeStep} Argument 2 = int32_value {0} ERROR: In /Users/egp/softwareProjects/ParaView-3.5/Servers/Common/vtkProcessModule.cxx, line 1047 vtkProcessModule (0x6b4fa40): Aborting execution for debugging purposes. /Users/egp/OpenFOAM/OpenFOAM-1.5-dev.git/bin/pvFoam: line 76: 89953 Abort trap "${paraviewPath}" --data="${PWD}/system/controlDict.${ext}" Any ideas on this one? |
|
February 26, 2009, 09:58 |
Eric,
You have to build and i
|
#8 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Eric,
You have to build and install a plugin as well (see Section 4.2 of the wiki page). p.s. As written in the wiki please don't forget to set CMAKE_BUILD_TYPE to Release when building ParaView and the plugin. Otherwise the reader will be terribly slow. Takuya |
|
February 26, 2009, 10:04 |
Hi Takuya,
I followed your
|
#9 |
Senior Member
|
Hi Takuya,
I followed your instructions from the wiki, and "think" that I've successfully installed both the serial and parallel readers. No errors were reported. Any suggestions for where to look? Eric |
|
February 26, 2009, 10:07 |
Hi guys,
I had some issues
|
#10 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Hi guys,
I had some issues in the past and Takuya provided a fixupBundle.cmake for the reader libs / did you use it ? Regards, PO |
|
February 26, 2009, 11:17 |
Sounds like a case where Pierr
|
#12 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Sounds like a case where Pierre-Olivier's suggestion works if you built ParaView with RPATH on, which is the default setting for ParaView 3.5.0. As PO suggests can you try fixupBundle.cmake?
Takuya |
|
February 26, 2009, 11:25 |
Or if it doesn't work, can you
|
#13 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
Or if it doesn't work, can you try copying the dylibs inside (your paraview build directory)/bin/ParaView.app/Contents/Plugins and try running ParaView directly from the build directory?
BTW: the dylibs you should see in the plugin manager are (at least) libPOpenFOAMPanel.dylib and libPOpenFOAMReaderSMPlugin.dylib. T |
|
February 26, 2009, 11:27 |
Takuya, here are the original
|
#14 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Takuya, here are the original instructions that you sent couple months ago (Eric, the fixupBundle.cmake file needs to be copied in you plugin build directory before running this) :
Run the following command under the plugin build directory. cmake -DParaView_DIR=(full path to ParaView build directory) -DParaView_App=(full path to ParaView application bundle ParaView.app) -P fixupBundle.cmake Thanks PO |
|
February 26, 2009, 11:34 |
sorry, did not see your post b
|
#15 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
sorry, did not see your post before sending this :-)
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Paraview Compiling Error (OpenFOAM 2.1.x + openSUSE 12.2) | sfigato | OpenFOAM Installation | 22 | January 31, 2013 11:16 |
Compiling Paraview 3.12.0 and the PV3FoamReader Module | smpark | OpenFOAM Installation | 2 | January 9, 2012 08:16 |
paraview 3.10.1 compiling error (1.6-ext) | vkrastev | OpenFOAM Installation | 7 | October 28, 2011 04:17 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |