[vtkusers] Problem compiling VTK based applications on OS X Lion with Xcode 4.3.3
Stuart Barnes
stuartbarnes99 at gmail.com
Sun Jun 24 09:05:21 EDT 2012
Hi Sean,
Thanks for your suggestions. My initial compile error was down to me including recursive search for the header files (clicked on the check box). Once I figured that out, I just needed to change the SDK as you suggested as well as adding the zlib library into the 'Link Binary...' list to avoid some link errors. Everything working now.
Thanks!
On 23 Jun 2012, at 00:37, Sean McBride wrote:
> On Fri, 22 Jun 2012 10:49:42 +0100, Stuart Barnes said:
>
>> I have managed to successfully compile and install VTK 5.10 on my Mac
>> (Lion 10.7.4) according to the instructions at http://www.vtk.org/Wiki/
>> Cocoa_VTK without any issues and I can successfully execute a random
>> selection of the example applications. However, when I try to compile
>> any application in XCode (4.3.3), I get a series of compile time errors.
>> For example, if I try to compile the SimpleCocoaVTK example project from
>> the git repository at vtk.org I get the following output at compile time
>> (I've only included the first part of the output, as it is quite large):
>
> Stuart,
>
> That example is in need of some updating, which I'll try to do next week. For one, it hardcodes some old values into the .xcconfig file, could you try commenting out the sdk, deployment, and arch settings. Does it build then?
>
> Cheers,
>
> --
> ____________________________________________________________
> 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