[vtkusers] error: invalid conversion from 'GLint*' to 'long int*'

Sean McBride sean at rogue-research.com
Tue Nov 4 11:14:57 EST 2008


On 11/4/08 11:11 AM, Carl Trapani said:

>Thanks Sean. One more question if you (or anyone else) have time:
>
>Can I build a C++ application that uses VTK for a machine running OS X 
>10.4 if my machine is 10.5?

Yes.

>I'm thinking all I need to do is have two CMake Build directories and 
>two SDKs (10.4 and 10.5) on my machine. Then, set CMAKE_OSX_SYSROOT to 
>the appropriate SDK for each build? Then, my application will link 
>against one of the target VTK Builds. Is that overly complicated? Should 
>I just make everyone move to 10.5 and give up 10.4?

If you want your app to run on 10.4, you must set the deployment target
to 10.4.  See:
<http://public.kitware.com/Bug/view.php?id=6195>

You can use the 10.5 SDK.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list