[vtkusers] Problems building VTK on Mac OSX 10.2.1
Sandor Heman
saanti at xs4all.nl
Sun Sep 22 11:39:21 EDT 2002
On 9/22/02 17:16, "Patrick Klein" <paklein at sandia.gov> wrote:
> Hi Sandor,
>
> Are you sure you want Carbon not Cocoa? I'm using the Cocoa
> flag with the nightly version of VTK and it builds without a glitch.
Ah :) It was set to Carbon as default so I thought that would probably be
the best choice...But I'll try the Cocoa build...that's what I would prefer
anyway...
Are the openGL parameters correct as I gave them? Eg. Does It use hardware
acceleration if I give the headers/libs as (I'm not really into Max openGL
programming yet...):
//What is the path where the file GL/gl.h can be found
OPENGL_INCLUDE_DIR:PATH=/System/Library/Frameworks/OpenGL.framework/Headers
//Where can one of the MesaGL or GL libraries be found
OPENGL_gl_LIBRARY:FILEPATH=/System/Library/Frameworks/OpenGL.framework/Libra
ries/libGL.dylib
//Where can one of the MesaGLU or GLU libraries be found
OPENGL_glu_LIBRARY:FILEPATH=/System/Library/Frameworks/OpenGL.framework/Libr
aries/libGLU.dylib
Thanks,
Sandor
>
> Patrick
>
> ------------------------------------------
> Patrick A. Klein
> Sandia National Laboratories
> MS9161
> P.O. Box 0969
> Livermore, CA 94551
>
> p: (925) 294-4618 or (800) 4SANDIA x4-4618
> f: (925) 294-3231
> e: paklein at sandia.gov
> ------------------------------------------
>
>
> Sandor Heman wrote:
>
>> Hi,
>>
>> I'm new to VTK and am trying to build it on Mac OSX 10.2.1
>> But the build quits with the error below. I have also included my
>> CMakeCache.txt because it looks as if there goes something wrong linking
>> Opengl stuff...
>> Cmake originally entered a /usr/X11R6/lib/GLSTUFF in the CMakeCache but
>> That didn't seem ok to me because I'm not building for X11 so I changed it
>> into subdirs of /System/Library/Frameworks/OpenGL.framework/ for the
>> includes and the libs. Don't know if that's the correct location. (I'm also
>> new to Mac OSX :)
>> Any help will be appreciated.
>>
>> Thx in advance
>>
>> Sandor Heman
>>
>> .....
>>
>> //Build classes using Carbon API
>> VTK_USE_CARBON:BOOL=ON
>>
>> //Build classes using Cocoa API - Can only use one of these!
>> VTK_USE_COCOA:BOOL=OFF
>>
>>
>>
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list