Powder Toy on the iPod touch?

  • HK6
    30th Jul 2010 Former Staff 0 Permalink
    BlakPilar:
    Yo! People! As it seems no one saw my previous post and I have noticed some major progress, (great job, by the way!) would it be possible to port your powder toy for the iPod to the Zune HD when you are done?

    I don't do any mobile coding (even though I work at a mobile game studio ) but I would think porting something made in C++ to Zune would be easier than to a Mac device.
  • ief015
    30th Jul 2010 Former Staff 0 Permalink
    C is very portable. AFAIK, it shouldn't be difficult to port a program in C from one mobile device to another mobile device.
  • plypencil
    30th Jul 2010 Member 0 Permalink
    Thats what you think lol, its never easy to port any program to another language. Even C to C++ or C++ to C can be difficult at times and C++ is basically just an extension of C.
  • Felix
    30th Jul 2010 Member 0 Permalink
    plypencil:
    Thats what you think lol, its never easy to port any program to another language. Even C to C++ or C++ to C can be difficult at times and C++ is basically just an extension of C.

    What? They are talking about porting between different mobile devices.

    The main problem is "rc/stdarg.h:4:25: error: no include path in which to search for stdarg.h"
    I am not sure what is causing this, could be because of unsupported libraries or anything. Could you check the contents of line four in stdarg.h?
  • Aizria
    30th Jul 2010 Member 0 Permalink
    Yes. I know why this error in stdarg.h is being caused now. The only problem is I don't know a good fix for it. It's because stdarg.h looks like this:

    #if defined(__GNUC__)
    #include_next <stdarg.h>
    #elif defined(__MWERKS__)
    #include "mw_stdarg.h"
    #else
    #error "This header only supports __MWERKS__."
    #endif

    When I changed <stdarg.h> to an absolute path, since I can't find mw_stdarg.h, the compiler returned an error stating that the stdarg.h include was nested too deeply. It including itself is a little problematic. By the way, the line that says "#include_next <stdarg.h>" is line 4, I just left out two comment lines.

    BlakPilar

    The way I'm porting this to iPod/iPhone is that I'm taking advantage of a jb'd iPod to compile PT into a .app natively on the iPod and possibly change the UI just slightly to work better on the iOS. Unless there's a way to do a similar thing on the Zune, I can't help much with porting it. I personally could not perform a porting of this nature since I don't own a Zune and don't personally know anyone that does. One solution may be to download the PT source and compile it using the Zune SDK (appears to use the XNA Game Studio.).
  • lolzy
    30th Jul 2010 Former Staff 0 Permalink
    Will my iTouch need to be jb'd to get PT on it?
  • Aizria
    30th Jul 2010 Member 0 Permalink
    lolzy

    Untill I figure out how to make a signed version of it as an app, yes. After that possibly, depending on whether I want to mess with signing it and submitting it to the AppStore or not.
  • lolzy
    30th Jul 2010 Former Staff 0 Permalink
    Damn...
  • plypencil
    30th Jul 2010 Member 0 Permalink
    @lolzy go to www dot jailbreakme dot com, it does it automatically (Use safari on your itouch.

    And I know they were talking about mobile devices, but ever device uses a slightly different (or majorly different) language.
  • lolzy
    30th Jul 2010 Former Staff 0 Permalink
    i dont wanna jb it :/