[vtkusers] How to - Installing VTK on Apple OS 10.4.8 Mac Book Pro for the purposes of Cocoa

Mike Jackson mike.jackson at imts.us
Mon Oct 30 12:22:06 EST 2006


Just my 2 Cents.. 

After you do a "make", you need to do a "make install" and the headers
_should_ be copied into the location that is defined in the
CMAKE_INSTALL_PREFIX variable, which by default is set to /usr/local.

Yes, on a virgin OS X install /usr/local is NOT available.
Sudo mkdir /usr/local
Sudo chmod g+w /usr/local <== This gives at least admins write privs

The other suggestion is to just use the released version of VTK at the time.
I know there are Dashboards for testing but a new user using the latest from
CVS _could_ potentially download on a day when the OS X build is broke. This
is going to lead to lots of confusion.

Plus if there are changes from release to release it can be noted in your
document that for a given release certain things apply.

Other than that, the doc looks great. I hope to see it incorporated into the
SimpleVTK project and maybe the VTK Wiki..

Cheers
Mike Jackson


On 10/30/06 12:04 PM, "Ryan Glover" <prionscientific at gmail.com> wrote:

> Hello Sean, Mike and VTK forum users ,
> 
> Yes, you may include the document with the simpleCocoaVTK download.
> That would be best for new users.
> 
> My apologies to you Sean and to Mike for attributing Mike to Rogue
> Research.  I have made the edit in my local copy of the document.
> 
> I have played around with ccmake and it is quite easy to use.
> However, I thought it was easier to explain the simple edits to a text
> file as opposed to explaining how the ccmake program operates.  When I
> revise this document I will consider writing an expanded description
> of ccmake.
> 
> With regards to CMAKE_INSTALL_PREFIX.  I tried to touch as few flags
> during the install as possible since I am quite inexperienced.
> Looking at my CMakeCache.txt my CMAKE_INSTALL_PREFIX is set to
> /usr/local.  VTK did not put all the headers in a single location when
> I installed.  This could be because /usr/local is a protected
> directory.  If I reinstall I will try modifying the directory so that
> it is within my home folder.  If it compiles all the headers as you
> say it does, that would be a much easier install then working with the
> shell script, which I think is the most confusing part of the process
> for new users.
> 
> Thank you for your comments.
> 
> Many thanks and best regards,
> Ryan Glover
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-- 
Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services







More information about the vtkusers mailing list