Powder Toy on the iPod touch?

  • Aizria
    30th Jul 2010 Member 0 Permalink
    At this point, hard to say. I was hoping that today I would have 38.0 ready but I keep running accross these errors when I try to compile. I'm thinking that moving all the necessary .h files might help. But then the question is, where to? If anybody has any ideas or solutions I'll be more than willing to listen.
  • Aizria
    30th Jul 2010 Member 0 Permalink
    Aha! Found the problem! With a little bit of terminal work I discovered my problem! The directory I have all my include libs linked to, /usr/include, isn't in the gcc search path! I'm just going to have to fix that. >:)
  • triclops200
    30th Jul 2010 Former Staff 0 Permalink
    Does it work?
  • Aizria
    30th Jul 2010 Member 0 Permalink
    Still trying to add /usr/include to the gcc search path. For some reason, I can't get the -B option to work without giving it a .c file to compile.
  • triclops200
    30th Jul 2010 Former Staff 0 Permalink
    that's wierd
  • Aizria
    30th Jul 2010 Member 0 Permalink
    Just to make sure I'm doing this right, what is usually the syntax for adding a new directory to gcc's default search path?
  • triclops200
    30th Jul 2010 Former Staff 0 Permalink
    i don't know your compiler, I use visual studio professional
  • Felix
    30th Jul 2010 Member 0 Permalink
    Just to make sure I'm doing this right, what is usually the syntax for adding a new directory to gcc's default search path?

    Well, /usr/include should be there by default.
  • Aizria
    30th Jul 2010 Member 0 Permalink
    Oh, Google works wonders. It appears that I have to use the -I option at compile time. But that means that I have to add that to the makefile and I'm not sure where to add it. I would add it as an option in each of the places it has 'gcc' with a bunch of options following, I think, right?
  • wouter215
    30th Jul 2010 Member 0 Permalink
    in the powder.c file does it say:
    line:26: #include <SDL.h>
    if it does, change it to:
    #include <SDL/SDL.h>

    this is the problem i run into whenever i compile from triclops200's source of powder toy.