[Paraview] Compile Error on Fresh ParaView-3-8 checkout on OS X

Michael Jackson mike.jackson at bluequartz.net
Fri Apr 9 13:43:04 EDT 2010


Here is my configure script that I use:

cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=$buildType - 
DPARAVIEW_EXTRA_EXTERNAL_MODULES=PVMXADataModel  - 
DPARAVIEW_BUILD_PLUGIN_Moments=OFF - 
DPARAVIEW_BUILD_PLUGIN_SLACTools=OFF - 
DPARAVIEW_BUILD_PLUGIN_PointSprite=OFF - 
DPARAVIEW_BUILD_PLUGIN_Prism=OFF - 
DPARAVIEW_BUILD_PLUGIN_CosmoFilters=OFF - 
DPARAVIEW_BUILD_PLUGIN_H5PartReader=OFF -DBUILD_TESTING=OFF - 
DPARAVIEW_USE_SYSTEM_HDF5=ON -DHDF5_LIBRARY=$HDF5_INSTALL/lib/ 
libhdf5.dylib  -DHDF5_INCLUDE_DIR=$HDF5_INSTALL/include ../

cmake -DPARAVIEW_USE_PVMXADataModel=ON -DPVMXADataModel_SOURCE_DIR=/ 
Users/mjackson/Workspace/PVMXADataModel -DMXA_BUILD_EXAMPLES=OFF - 
DMXA_BUILD_UTILITIES=OFF -DCMAKE_INSTALL_PREFIX=/Users/Shared/Toolkits/ 
ParaView-3.8  "-DCMAKE_OSX_ARCHITECTURES=i386;x86_64"  ../

Somewhere RPATH is getting turned off as after checking with CMake-GUI  
I do find that RPATH=OFF.


___________________________________________________________
Mike Jackson                      www.bluequartz.net
Principal Software Engineer       mike.jackson at bluequartz.net
BlueQuartz Software               Dayton, Ohio


On Apr 9, 2010, at 1:30 PM, Eric E. Monson wrote:

> Hey Mike,
>
> Are you configuring here with VTK_USE_RPATH = OFF? This is what  
> happens to me, too, if I don't turn it ON.
>
> Thanks,
> -Eric
>
> ------------------------------------------------------
> Eric E Monson
> Duke Visualization Technology Group
>
>
> On Apr 9, 2010, at 1:06 PM, Michael Jackson wrote:
>
>> Checkout/updated from CVS this afternoon and a fresh configure and  
>> compile I get the following error on OS X 10.5.8:
>>
>> [ 23%] Generating vtkSocketCommunicatorHash.h
>> dyld: Library not loaded: libvtksys.pv3.8.dylib
>> Referenced from: /Users/Shared/Kitware-CVS/ParaView3/Build/VTK/ 
>> Parallel/../../bin/vtkHashSource
>> Reason: image not found
>> /bin/sh: line 1: 19254 Trace/BPT trap          ../../bin/ 
>> vtkHashSource /Users/Shared/Kitware-CVS/ParaView3/VTK/Parallel/ 
>> vtkSocketCommunicator.cxx vtkSocketCommunicatorHash  
>> vtkSocketCommunicatorHash.h
>> make[2]: *** [VTK/Parallel/vtkSocketCommunicatorHash.h] Error 133
>> make[1]: *** [VTK/Parallel/CMakeFiles/vtkParallel.dir/all] Error 2
>> make: *** [all] Error 2
>>
>> The issue is that the libraries do not have a full install_name on  
>> them which forces me to remember to "export DYLD_LIBRARY_PATH=`pwd`/ 
>> bin" from the build folder. Can this be added to the CMake custom  
>> command for OS X? I seem to hit this error every time I do a fresh  
>> configure.
>>
>> ___________________________________________________________
>> Mike Jackson                      www.bluequartz.net
>> Principal Software Engineer       mike.jackson at bluequartz.net
>> BlueQuartz Software               Dayton, Ohio
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>



More information about the ParaView mailing list