Powder Toy on the iPod touch?

  • Aizria
    30th Jul 2010 Member 0 Permalink
    @Felix

    Well, for some reason it's not. I am using this on an iPod touch so I wasn't sure if this was the case or not. I went to terminal and checked and /usr/include for some reason isn't already part of the search path.

    @wouter215

    Thanks! I'll check that.

    EDIT: it's already <SDL/SDL.h> thanks for the suggestion though.
  • Aizria
    30th Jul 2010 Member 0 Permalink
    Okay. I made links to all the necessary libs right in the powder-38.0-src directory and tried a make and it still claims to be unable to find the .h files! Any thoughts? If it would help, I'll post the directories that gcc claims to be in it's search path here.
  • triclops200
    30th Jul 2010 Former Staff 0 Permalink
    wouter215
    I know I'm doing it wrong but it doesn't work for me that way for some reason.
  • Aizria
    30th Jul 2010 Member 0 Permalink
    @triclops200

    It probably has something to do with where and how the SDL.h file is installed on your computer.
  • Aizria
    30th Jul 2010 Member 0 Permalink
    Okay, here's the result of running 'gcc -print-search-dirs':

    install: /usr/lib/gcc/arm-apple-darwin9/4.2.1/
    programs: =/usr/libexec/gcc/arm-apple-darwin9/4.2.1/:/usr/libexec/gcc/arm-apple-darw in9/4.2.1/:/usr/libexec/gcc/arm-apple-darwin9/:/usr/lib/gcc/arm-apple-darwin9/4.2.1/: /usr/lib/gcc/arm-apple-darwin9/:/usr/libexec/gcc/arm-apple-darwin9/4.2.1/:/usr/libexe c/gcc/arm-apple-darwin9/:/usr/lib/gcc/arm-apple-darwin9/4.2.1/:/usr/lib/gcc/arm-apple -darwin9/:/usr/lib/gcc/arm-apple-darwin9/4.2.1/../../../../arm-apple-darwin9/bin/arm- apple-darwin9/4.2.1/:/usr/lib/gcc/arm-apple-darwin9/4.2.1/../../../../arm-apple-darwi n9/bin/
    libraries: =/lib/arm-apple-darwin9/4.2.1/:/lib/:/usr/lib/arm-apple-darwin9/4.2.1/:/u sr/lib/:/usr/lib/gcc/arm-apple-darwin9/4.2.1/:/usr/lib/gcc/arm-apple-darwin9/4.2.1/:/ usr/lib/gcc/arm-apple-darwin9/4.2.1/../../../../arm-apple-darwin9/lib/arm-apple-darwi n9/4.2.1/:/usr/lib/gcc/arm-apple-darwin9/4.2.1/../../../../arm-apple-darwin9/lib/:/us r/lib/gcc/arm-apple-darwin9/4.2.1/../../../arm-apple-darwin9/4.2.1/:/usr/lib/gcc/arm- apple-darwin9/4.2.1/../../../

    Anyone have any thoughts?
  • triclops200
    30th Jul 2010 Former Staff 0 Permalink
    nope
  • Aizria
    30th Jul 2010 Member 0 Permalink
    I put links directly in the default search path and it still can't find the .h's. The good news is that it now appears to be finding the .h files that ship with the PT source (md5.h, http.h, etc.). The bad news is that it <i>refuses</i> to find any of the standard .h files <i>or</i> SDL.h and the bzip .h files.
  • triclops200
    30th Jul 2010 Former Staff 0 Permalink
    that sucks.
  • lolzy
    30th Jul 2010 Former Staff 0 Permalink
    Do we have an ETA of any sort.
  • triclops200
    30th Jul 2010 Former Staff 0 Permalink
    what system you running?