[vtkusers] Cone.java example hangs on Mac OS 10.3.9
Mike Jackson
imikejackson at gmail.com
Wed Aug 8 14:33:49 EDT 2007
This most definitely has everything to do with RPATH and how the
native c++ libraries and executables are linked.
if you run the "otool -L [library]" command on one of the libraries
in the "bin" directory what is the output?
The first few lines will tell you if there is a hard coded path set
for that library. This is why the paths MUST be exactly the same
between the 2 machines. There are ways to change this path but it
gets messy very quick. I would just make sure the paths match between
computers. If the program you are going to write will eventually get
deployed to others then you will need to revisit the whole RPATH
ordeal...
You may also want to try and upgrade to Tiger if at all possible. If
your are loading Tiger on an older machine and worry about speed
issues, dont. In my experience, Tiger will run at the same speed as
Panther on the same hardware. If you can not upgrade for other
reasons.. then I do not have any suggestions.
Cheers
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
On Aug 8, 2007, at 1:12 PM, Jennifer West wrote:
> I tried moving the Cone file to a new location, but I started
> getting library problems again. However, everything worked again if
> I copied all the libvtk* files into the folder with Cone.java -- as
> long as a copy of the libraries also remained in the bin folder as
> well.
>
> I haven't worked out these library issues yet - maybe it has
> something to do with compiling with rpath set to OFF.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070808/f7b83fe2/attachment.htm>
More information about the vtkusers
mailing list