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

2010-05-06 Thread Dave Partyka
Yes Please make a bug. I want to make some tweaks to it and should be able to merge it in the next few days. On Thu, May 6, 2010 at 3:26 PM, Eric E. Monson emon...@cs.duke.edu wrote: Hey Dave, Mike's patch worked well for me, too. Would you be able to get this into the git head? It's really

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

2010-04-09 Thread Michael Jackson
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/

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

2010-04-09 Thread Eric E. Monson
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:

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

2010-04-09 Thread Dave Partyka
I haven't had time to track down a good fix for this besides setting my DYLD_LIBRARY_PATH but If you have a fix then I will gladly commit it! On Fri, Apr 9, 2010 at 1:30 PM, Eric E. Monson emon...@cs.duke.edu wrote: Hey Mike, Are you configuring here with VTK_USE_RPATH = OFF? This is what

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

2010-04-09 Thread Michael Jackson
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 -

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

2010-04-09 Thread Michael Jackson
Would something like: if (VTK_RPATH == OFF APPLE == TRUE) set ($ENV{DYLD_LIBRARY_PATH} ${CMAKE_RUNTIME_PATH}) endif() I'm going to guess that might have some side effects but not really sure what those might be. Where is the CMAKE_CUSTOM_COMMAND located in the ParaView cmake files. I'll

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

2010-04-09 Thread Dave Partyka
VTK\Parallel\CMakeLists.txt Line 242. # Generate vtkSocketCommunicatorHash.h. ADD_CUSTOM_COMMAND( OUTPUT ${VTK_BINARY_DIR}/Parallel/vtkSocketCommunicatorHash.h DEPENDS ${VTK_SOURCE_DIR}/Parallel/vtkSocketCommunicator.cxx vtkHashSource COMMAND vtkHashSource

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

2010-04-09 Thread Michael Jackson
# Generate vtkSocketCommunicatorHash.h. if (APPLE AND NOT VTK_USE_RPATH) file(WRITE ${ParaView_BINARY_DIR}/bin/vtkHashSource.sh #!/bin/sh\n ) file(APPEND ${ParaView_BINARY_DIR}/bin/vtkHashSource.sh export DYLD_LIBRARY_PATH=${ParaView_BINARY_DIR}/bin\n ) file(APPEND