[vtk-developers] vtk ios
Sason Ohanian Saki
sason at kth.se
Tue Jun 7 11:02:43 EDT 2011
Hi!
I'm trying to move the vtk source into a xcode iOS (vtkES) project and I'm having some compile issues that i cant figure out.
Amongst many other errors i get:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/c++/4.2.1/bits/postypes.h:78:0 /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/c++/4.2.1/bits/postypes.h:78: error: 'ptrdiff_t' does not name a type
/Users/sason/Documents/code/vtkES2/Common/vtkObjectBase.cxx:16:0 In file included from /Users/sason/Documents/code/vtkES2/Common/vtkObjectBase.cxx
/Users/sason/Documents/code/vtkES2/Common/vtkObjectBase.h:43:0 In file included from /Users/sason/Documents/code/vtkES2/Common/vtkObjectBase.h
/Users/sason/Documents/code/vtkES2/Common/vtkIndent.h:24:0 In file included from /Users/sason/Documents/code/vtkES2/Common/vtkIndent.h
/Users/sason/Documents/code/vtkES2/Common/vtkSystemIncludes.h:40:0 In file included from /Users/sason/Documents/code/vtkES2/Common/vtkSystemIncludes.h
/Users/sason/Documents/code/vtkES2/Common/vtkIOStream.h:35:0 In file included from /Users/sason/Documents/code/vtkES2/Common/vtkIOStream.h
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/c++/4.2.1/iostream:45:0 In file included from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/c++/4.2.1/iostream
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/c++/4.2.1/ostream:45:0 In file included from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/c++/4.2.1/ostream
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/c++/4.2.1/ios:43:0 In file included from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/c++/4.2.1/ios
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/c++/4.2.1/iosfwd:49:0 In file included from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/c++/4.2.1/iosfwd
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/c++/4.2.1/bits/postypes.h:78:0 'ptrdiff_t' does not name a type in /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/c++/4.2.1/bits/postypes.h
at this line of code in postypes.h
/// Integral type for I/O operation counts and buffer sizes.
typedef ptrdiff_t streamsize; // Signed integral type
Do i need to include headers somewhere, or add search paths to the xcode project/targets or something? I'm a bit lost here.
/Sason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110607/0e960f2b/attachment.html>
More information about the vtk-developers
mailing list