[xsde-users] Does anyone have a working iOS project?

Vaughan Roberts Vaughan at Roberts.name
Wed Mar 21 18:32:06 EDT 2012


Tom,

James Sutton and I have both got an iOS version of xsde working (and maybe
others as well).  In Xcode 4.2 or later Boris' instructions are a little
outdated in some of the details.  

A couple of things I did initially did cause a lot of compilation errors.
For example I chose to use xsde as a pre-compiler name so that I could do
conditional compilations on different platforms.  This caused a bunch of
errors because this name overrode the xsde namespace.
A second problem was that I was trying to compile my code using c++0x std
lib, whereas I had used the older stdlib when building libxsde.

Best regards,
Vaughan

Mob: 0412 122 362

-----Original Message-----
From: xsde-users-bounces at codesynthesis.com
[mailto:xsde-users-bounces at codesynthesis.com] On Behalf Of Boris Kolpackov
Sent: Thursday, 22 March 2012 0:21
To: Tom Laws
Cc: xsde-users
Subject: Re: [xsde-users] Does anyone have a working iOS project?

Tom Laws <tom at ntbti.com> writes:

> And then I compiled and everything blew up.....
> 
> First I got about 5 'string' not found errors pointing to
> 
> #include <string>
> 
> These were in several files and setting these to string.h and saving 
> seems to have fixed it. Next were several 'iterator' issues of the 
> same type. I set these to iterator.h same as string.h but these ones 
> persist so not sure where I can find iterator.h to include
> 
> There are dozens more errors like
> 
> zz/libxsde/xsde/cxx/buffer.hxx:13:1: error: unknown type name 
> 'namespace' [1]  namespace xsde

It looks like your project doesn't compile the files you have added as C++.
This is strange since the project for libxsde that you have successfully
created does compile them fine. Can you check if there are any settings for
individual files in the project that tell XCode what compilation mode (C,
C++, Objective-C) should be used? I am also going to try and reproduce this
later tonight. 

BTW, it would be helpful to know which version of XCode you are using.

Boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5360 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsde-users/attachments/20120322/10f2d76a/smime.bin


More information about the xsde-users mailing list