HELP... software develoment hiting a wall, and I haven't really stared yet!

Discussion in 'Mac Apps and Mac App Store' started by walkingmac, Oct 2, 2003.

  1. walkingmac macrumors 6502

    walkingmac

    Joined:
    Mar 30, 2003
    Location:
    Greater Cincinnati
    #1
    I am trying to learn how to Develop Software, and am on a good start I think. I am taking it slow and realize it will take time, but I am having a problem whenever I try to build simple example app I get these errors on the build compile:

    Compliling main.m (3 errors)
    • header file 'OT/OT.h' not found
    • header file 'NSLCore/NSLCore.h' not found
    • header file 'SecurityCore/SecurityCore.h' not found

    Does this make sense?
    Does anyine know what I am doing wrong?
    Is there something I am missing?
     
  2. bousozoku Moderator emeritus

    Joined:
    Jun 25, 2002
    Location:
    Gone but not forgotten.
    #2
    That's pretty vague.

    How are specifying them?

    #import <OT/OT.h>

    or

    #include <OT/OT.h>

    Do you have the include path specified, if you're not using an IDE such as Project Builder or CodeWarrior?

    If you're using an IDE, do you have the right kind of project specified so that those directories are included in the path?
     
  3. walkingmac thread starter macrumors 6502

    walkingmac

    Joined:
    Mar 30, 2003
    Location:
    Greater Cincinnati
    #3
    I am not sure what u are asking.

    Sorry I am really new at this stuff.

    But if I read what ur asking me right, I am using Project Builder and all 3 errors when I click on them to reveal whatever it is that they reveal, all of them have the '#include <OT/OT.h>' format.

    As for the right project, where do I look for more info?

    Sorry.... I know I don't really know what I am doing here, but I pick stuff up quick and really only ask questions when I can't figure it out on my own or in my research for the answer. Please have pitty and help. http://forums.macrumors.com/images/icons/icon7.gif
     
  4. Fukui macrumors 68000

    Fukui

    Joined:
    Jul 19, 2002
    #4
    I suggest you read a book on learning C first, before you do anything, especially one tailored to learning C on Unix type systems.

    When you ask questions like the one you asked, about the specific headers, try to tell us what frameworks/Libraries your trying to add, and those who are familliar with them can help you better. In this case, it looks like you are using carbon.
    Did you do do an #include <Carbon/Carbon.h> ?

    Carbon.h is an umbrella header that takes the tedium of having to find and include a bunch of specific headers yourself...it just includes them all...I believe.

    Check Here
     
  5. walkingmac thread starter macrumors 6502

    walkingmac

    Joined:
    Mar 30, 2003
    Location:
    Greater Cincinnati
    #5
    thanx for the input...

    First I have been investing in books and this project is one of them from a book.

    Second, the file main.m is in the 'other sources' folder. It is a cocoa app and there is that '#import <Cocoa/Cocoa.h>' in main.m.

    So I am still without any direction as to why I am recieving these errors. are there files that should have been placed somewhere and maybe there was a bad install of the Developer Tools?

    I still don't know.
    What am I doing wrong?
    Has anyone seen these errors before?
    I even tried building an app that does nothing (just made a new cocoa project) and tried to build that and the same errors appeared. Does any of this make sense?
     
  6. Catfish_Man macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
    #6
    Sounds like a bad install. No beginning Cocoa program would use those files directly.
     
  7. Fukui macrumors 68000

    Fukui

    Joined:
    Jul 19, 2002
    #7
    Show me your header file.
    No dirty jokes please....:D
     
  8. walkingmac thread starter macrumors 6502

    walkingmac

    Joined:
    Mar 30, 2003
    Location:
    Greater Cincinnati
  9. Fukui macrumors 68000

    Fukui

    Joined:
    Jul 19, 2002
    #9
    Sorry, Main.m doesn't have an main.h file, it looks like this: YOURAPPNAME_Prefix.h where YOURAPPNAME is the name of your application. Also, show the main.m file as well if its possible.

    Header files are on the left pane of Project Builder (PB). Each class/app needs a .h header file.
     
  10. walkingmac thread starter macrumors 6502

    walkingmac

    Joined:
    Mar 30, 2003
    Location:
    Greater Cincinnati
    #10
    ok... heres the project....

    Like I said it is a sample project... very basic (there are no tricks here... nothing dirty... just a Currency Converter)

    http://download.yamsp.com/

    See if it works for you... if so then the problem lies on my end with the install of the Dev Tools
     
  11. zimv20 macrumors 601

    zimv20

    Joined:
    Jul 18, 2002
    Location:
    toronto
    #11
    Re: HELP... software develoment hiting a wall, and I haven't really stared yet!

    take a class

    from here on out, it only gets harder
     
  12. walkingmac thread starter macrumors 6502

    walkingmac

    Joined:
    Mar 30, 2003
    Location:
    Greater Cincinnati
    #12
    if there was something I could find local sure... but at this point I dont' think that is neccessary. I think there is just a problem with my system and I was hoping to to crosscheck this hinch with another developer on their sys
     
  13. zimv20 macrumors 601

    zimv20

    Joined:
    Jul 18, 2002
    Location:
    toronto
    #13
    suit yourself. but know that the self-taughts usually develop pretty poor habits. i've had more than a few working for me and their presence did nothing but slow down the good developers.

    ???
     
  14. cazlar macrumors 6502

    Joined:
    Oct 2, 2003
    Location:
    Sydney, Australia
    #14
    Yep, compiles fine for me. I'd reinstall the Dev Tools to be sure then try again.
     
  15. walkingmac thread starter macrumors 6502

    walkingmac

    Joined:
    Mar 30, 2003
    Location:
    Greater Cincinnati
    #15
    Look, thanx for all your 'help' zimv20!

    cazlar (a fellow newbie) was able to do more in a a few lines then you were in two posts! even after ur disshearting remarks!

    Thanx everyine else for your input...
    but spcially to cazlar and Catfish Man.

    the heart of the matter is not my inexperience but a bad install of Dev Tools. Well see where a re-install of that gets me.

    thanx again
     
  16. zimv20 macrumors 601

    zimv20

    Joined:
    Jul 18, 2002
    Location:
    toronto
    #16
    you're welcome
     

Share This Page