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 give it a shot and see what happens.
--
Mike Jackson <www.bluequartz.net>
On Apr 9, 2010, at 1:31 PM, Dave Partyka wrote:
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
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.jack...@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