[vtkusers] VTK (5.4.2) + Xcode(3.2.1) on Mac (SnowLeopard 10.6)

Scott Harris scottrharris at gmail.com
Fri Apr 30 19:30:47 EDT 2010


Copying the NIB files from the older version of the project at 

https://www.rogue-research.com/vtk/SimpleCocoaVTK.html

fixes the issue and I get a working demo (with 180 compiler warnings, however).

I think the NIB files distributed with VTK 5.6.0 are corrupted somehow.

-Scott
On Apr 30, 2010, at 5:19 PM, Scott Harris wrote:

> I'm trying to build the version of SimpleCocoaVTK that comes with VTK5.6.0, but I'm unable to open the NIB files:
> 
> "
> The document "MyDocument.nib" could not be opened. The operation couldn’t be completed. *** -[NSKeyedUnarchiver initForReadingWithData:]: incomprehensible archive (0x62, 0x70, 0x6c, 0x69, 0x73, 0x74, 0x30, 0x30).
> "
> 
> 
> I can't open the NIB from the application (when it tries to run) or from interface builder. Is this a XIB vs NIB problem or perhaps a corrupt file?
> 
> I'm using XCode 3.2.2 and OS 10.6.2.
> 
> Thanks,
> -Scott
> 
> 
> On Mar 1, 2010, at 12:20 PM, Sean McBride wrote:
> 
>> On 2/26/10 6:57 PM, Stanley11 said:
>> 
>>> I try to use VTK (5.4.2) + Xcode(3.2.1) on Mac (SnowLeopard 10.6) but fail
>>> in compiling the project SimpleCocaVTK downloaded from
>>> https://www.rogue-research.com/vtk/SimpleCocoaVTK.html.
>> 
>> Apologies to all for not keeping this example up-to-date.
>> 
>> I've just updated VTK CVS to have a working example (I'll update our
>> website later).
>> 
>> Stanley and Scott, can you please try the newest version, and reply on-
>> list if you still have troubles.
>> 
>> Thanks,
>> 
>> --
>> ____________________________________________________________
>> 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