Xcode App runs too fast for me to interact

Discussion in 'Mac Programming' started by evilbooger, Dec 23, 2009.

  1. evilbooger macrumors newbie

    Joined:
    Jul 18, 2008
    #1
    I'm trying to compile the code from the Ogre Basic Tutorial 1, and it compiles without errors, but when I run it, Xcode just instantly says Debugging of "OgrePractice" ended normally.

    And also this is my first time posting here, so please don't beat me half to death if I do something wrong.
     
  2. lloyddean macrumors 6502a

    Joined:
    May 10, 2009
    Location:
    Des Moines, WA
    #2
    You know what'd be really cool?
    If you pointed us to this tutorial you've mentioned we might be able to provide some useful advice, suggestions and, or, assistance. But as is I have nothing …
     
  3. evilbooger thread starter macrumors newbie

    Joined:
    Jul 18, 2008
  4. HiRez macrumors 603

    HiRez

    Joined:
    Jan 6, 2004
    Location:
    Western US
    #4
    I think this is the correct link (you have 2 URLs mixed up in the one above).
     
  5. evilbooger thread starter macrumors newbie

    Joined:
    Jul 18, 2008
    #5
    Oh wow, you're right, I'm messing everything up today.
     
  6. noobs macrumors newbie

    Joined:
    Dec 24, 2009
    #6
    Well have a look in the ogre forums. And there should be a log file in your resource folder so have a look there what it says.
     
  7. lloyddean macrumors 6502a

    Joined:
    May 10, 2009
    Location:
    Des Moines, WA
    #7
    Well thats better, but, now how about your project since we can't see it from here.
     
  8. lee1210 macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #8
    No one has asked, so i guess i will:
    What are you expecting this program to do? Are you expecting it to wait for you to interact before it quits? Should it just write something to a file then quit?

    Why not set a breakpoint in your main function, and "build and debug" instead of just running it, so you can walk through it with the debugger?

    -Lee
     
  9. evilbooger thread starter macrumors newbie

    Joined:
    Jul 18, 2008
    #9
    @noobs: Ok I forgot about the log, I'll do that as soon as I get home

    @lloyddean: How do I post my project? Should I upload the entire file to a file hosting website, or are you asking for screenshots of settings?

    @lee1210: According to the tutorial, I should be able to move the camera around and see a robot or something. And I didn't think about walking through with the debugger, I assumed it had something to do with xcode's setting not with the actual code. I'll try that as well.
     
  10. lloyddean macrumors 6502a

    Joined:
    May 10, 2009
    Location:
    Des Moines, WA
    #10
    There's an option to manage attachments below the posting composer.

    Upload using "Upload File from your Computer" followed by clicking the "Upload" button to the right.

    Above the composer window click the "Paper Clip" icon it should be fairly obvious from there.

    Before zipping the project folder be sure to remove the Xcode created "build" folder that sits next to the project file.
     
  11. evilbooger thread starter macrumors newbie

    Joined:
    Jul 18, 2008
    #11
    Ok I see how to do it now.

    My framework folders were in Build/Release, but build isn't in the zip file, will that cause problems, or should I upload that separately or something?
     
  12. evilbooger thread starter macrumors newbie

    Joined:
    Jul 18, 2008

Share This Page