Home Tutorialhelp Comment What command to issue?

 
 

Comment

RSR
What command to issue?,
September 10, 2009 at 10:14 PM

What command should I issue after writing these 3 files?

gcc -o MC main.m
or
gcc -o MC MyClass.m

I am getting
"...Foundation/NSObject.h: No such file or directory...cannot find interface declaration for NSObject..."
when I execute above commands.
Both errors are from MyClass.h file.
Someone please help!

PS: I was able to run a basic .m file which did not have NSObject in it.
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Java Beginners

What is command line argument in Java
 

Blog

Sitemap iPhone Tutorial
 

iPhone

Class and Method declaration and definitions
 

Spring Framework

BeanNameUrlHandlerMapping With Command Class example in Spring 2.5 MVC framework
 

SQL Question

ALL command - SQL
 

JSP Interview Questions

Declaration tag
 

Java Beginners

array declaration
 

Programming Tutorials

Namespace Declaration
 

JSP Interview Questions

JSP Declaration
 

JSP Tutorials

Method in Declaration Tag
 

JSP-Tutorials

DECLARATION IN JSP
 

Java Beginners

character as command line arguments
 

Java Beginners

What is deprecated?
 

Spring Framework

BeanNameUrlHandlerMapping With Command Class example in Spring 2.5 MVC framework
 

Applet Questions

what is web .config method
 

Java Beginners

What is final class?
 

PHP Questions

What’s the difference between accessing a class method via -> and via ::?
 

XML Tutorials

Emitting DOCTYPE Declaration while writing XML File
 

Mobile Applications Questions

what is json in iphone sdk
 

Mobile Applications Questions

iphone
 

Java Beginners

STATIC VARIABLE DECLARATION
 

Mobile Applications Questions

iphone
 

Mobile Applications Questions

iphone button click event
 

Programming Tutorials

iPhone UILabel Color
 

Java Beginners

What is the return type of the main method?
 

Mobile Applications Questions

what is class methods in objective c
 

Mobile Applications Questions

what is class methods in objective c
 

Java Beginners

How to declare a Combobox without using a string in its declaration?
 

Java Interview Questions

What is use of method overloading and overriding?
 

Java Beginners

What is the access scope of a protected method?
 

SQL Question

Compute command
 

Core Java

Command line argument in java
 

Mobile Applications Questions

what is cocoa touch in iphone?
 

iPhone

What is iPhone SDK?
 

Java Code Examples

Concatenate pdf files using command argument
 

Struts Questions

Print command
 

Java-Tutorials

How To Read String From Command Line In Java
 

Core Java

Java Command Line Argument Example
 

Mobile Applications Questions

view will appear iphone
 

General

Class path
 

Java Interview Questions

How to invoke method of a library from command line
 

Software Services

iPhone Software Development
 

Mobile Applications Questions

iPhone Radio Button Example
 

Java-Tutorials

Array declaration in Java
 

Spring Framework Questions

No complete code for BeanNameUrlHandlerMapping With Command Class Example
 

General

Class in Java
 

General

Method
 

J2ME

J2ME Command Class
 

Java Interview Questions

Command line arguments
 

Mobile Applications Questions

iphone avfoundation
 

Java Interview Questions

gc() method
 

IDE Questions

Iphone call
 

Java-Tutorials

Command Line Standard Input In Java
 

Java Beginners

What is an abstract method?
 

Java Beginners

What is an Abstract Class and what is it's purpose?
 

Software Services

iPhone Native application
 

Java Beginners

Method overriding
 

General

Class
 

Java Beginners

command prompt is compilation is not working
 

Java Beginners

Command Prompt in UI
 

Java Beginners

what is instance
 

Java Beginners

what is instance
 

Java Beginners

what is instance
 

Java Beginners

what is instance
 

Java Beginners

what is instance
 

Java Beginners

method
 

Java Beginners

main method
 

Java Beginners

What is the arguement of main method?
 

Java Beginners

What is a native method?
 

Java Beginners

class method in java
 

PHP Questions

What is an abstract class?
 

Struts Questions

What is Action Class?
 

iPhone

What is iPhone
 

Java Beginners

main method
 

Java Beginners

method overloading
 

iPhone

iPhone
 

Java Beginners

COMMAND LINE ARGUMENTS
 

Java-Tutorials

How To Read Integer From Command Line In Java
 

Java Beginners

Class and method question, Java?
 

iPhone

Declaring Method in Objective C
 

Java Beginners

abstract class and overriding - Java Beginners
 

Java Beginners

what will the output
 

iPhone

Current Date iPhone SDK
 

Mobile Applications Questions

Iphone Developmnt
 

Java Beginners

getChars method
 

Programming Tutorials

An Abstract class may or may not have abstract method.
 

Java Beginners

What is the Locale class?
 

Java-Tutorials

Java Abstract Class Example
 

Development process Questions

what is the rong
 

Java Beginners

what is the size of java class
 

Tutorials

iPhone String Match
 

Java Beginners

abstract class
 

Mobile Applications Questions

libxml2.2.dylib iphone
 

Java Technology Tutorials

The abstract Keyword : Java Glossary
 

Java Beginners

What restrictions are placed on method overloading?
 

Java Beginners

Class and Instance
 

Java Beginners

what is ment by method signature in java.......
 

Java Technology Tutorials

Class
 

Java Beginners

What is the difference between a constructor and a method?
 

Java-Tutorials

What is the flaw with the Stack class?
 

Advertisements Advertisements
 

 

 

DMCA.com