[vtkusers] Newbie: building VTK on OSX

Glen Lehmann glehmann at atamai.com
Thu Jun 15 10:19:45 EDT 2006


Hi Vivek,

These paths are for the Carbon and Cocoa builds.  I haven't looked at X11 on
the Mac for a long, long while now and I don't recall if X11 is built
against the framework OpenGL libraries or those found in /usr/lib/X11R6
(can't check right now, I'm booted up in windows).

My guess is that the X11 libraries you build VTK against will depend on what
version of OS X you're running.

Cheers,

Glen

On 15/06/06, Vivek Dwivedi <vivekd at mail630.gsfc.nasa.gov> wrote:
>
> Hi all:
> Are these paths for the cocoa build or for the X11 build?
>
> -Vivek
>
>
>
> On Jun 13, 2006, at 8:02 AM, Glen Lehmann wrote:
>
> Hi Greg,
>
>
> What version of VTK are you trying to build?
>
>
> You'll need to cvs check out either the main branch or the VTK-5-0
>
> branch.  I don't reccommend using the .zip/.gz downloads.
>
>
> I've never seen CMake have a problem finding the OpenGl paths on a Mac
>
> before.  In your CMakeCache.txt the should be set to:
>
>
> //Include for OpenGL on OSX
>
> OPENGL_INCLUDE_DIR:PATH=/System/Library/Frameworks/OpenGL.framework
>
>
> //OpenGL lib for OSX
>
> OPENGL_gl_LIBRARY:FILEPATH=/System/Library/Frameworks/OpenGL.framework
>
>
> //AGL lib for OSX
>
> OPENGL_glu_LIBRARY:FILEPATH=/System/Library/Frameworks/AGL.framework
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060615/9ff9c58d/attachment.htm>


More information about the vtkusers mailing list