ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Build Your First Cocoa App
Subject:   NEWBIE ALERT! Compile error on tutorial!
Date:   2002-07-22 19:39:00
From:   eskilling
Okay, I'm really new here. No previous programming experience. I'm following the instructions in the article but I get this when I try to compile & debug:



MyDocument.h:10: header file 'Cocoa/Cocoa.h' not found
MyDocument.m:25: undefined type, found `NSString'
MyDocument.m:32: undefined type, found `NSWindowController'
MyDocument.m:38: undefined type, found `NSData'
MyDocument.m:38: undefined type, found `NSString'
MyDocument.m:44: undefined type, found `BOOL'
MyDocument.m:44: undefined type, found `NSData'
MyDocument.m:44: undefined type, found `NSString'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode



I believe I followed the instructions to the letter. I'm using Project Builder 2.0 (April Dev. Tools Beta) and rockin' 10.1.5


Regards,
Eric Skilling