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
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
 

Programming Tutorials

Namespace Declaration
 

Java Beginners

array 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?
 

Java Beginners

What is final class?
 

Applet Questions

what is web .config method
 

Spring Framework

BeanNameUrlHandlerMapping With Command Class example in Spring 2.5 MVC framework
 

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
 

Java Beginners

STATIC VARIABLE DECLARATION
 

Mobile Applications Questions

iphone
 

Mobile Applications Questions

what is class methods in objective c
 

Mobile Applications Questions

what is class methods in objective c
 

Java Beginners

What is the return type of the main method?
 

Mobile Applications Questions

iphone
 

Programming Tutorials

iPhone UILabel Color
 

Mobile Applications Questions

iphone button click event
 

Java Interview Questions

What is use of method overloading and overriding?
 

Java Beginners

What is the access scope of a protected method?
 

Java Beginners

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

Mobile Applications Questions

what is cocoa touch in iphone?
 

SQL Question

Compute command
 

Core Java

Command line argument in java
 

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
 

General

Class path
 

Mobile Applications Questions

view will appear iphone
 

Software Services

iPhone Software Development
 

Java Interview Questions

How to invoke method of a library from command line
 

Mobile Applications Questions

iPhone Radio Button Example
 

Spring Framework Questions

No complete code for BeanNameUrlHandlerMapping With Command Class Example
 

General

Class in Java
 

J2ME

J2ME Command Class
 

Java Interview Questions

Command line arguments
 

General

Method
 

Mobile Applications Questions

iphone avfoundation
 

Java Beginners

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

Java Beginners

What is an abstract method?
 

IDE Questions

Iphone call
 

Java-Tutorials

Command Line Standard Input In Java
 

Java Interview Questions

gc() method
 

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
 

Software Services

iPhone Native application
 

General

Class
 

Java Beginners

Method overriding
 

Java Beginners

command prompt is compilation is not working
 

Java Beginners

Command Prompt in UI
 

Struts Questions

What is Action Class?
 

PHP Questions

What is an abstract class?
 

Java Beginners

What is the arguement of main method?
 

Java Beginners

What is a native method?
 

iPhone

What is iPhone
 

Java Beginners

what will the output
 

iPhone

iPhone
 

Java Beginners

class method in java
 

Java Beginners

method
 

Java Beginners

COMMAND LINE ARGUMENTS
 

Java Beginners

main method
 

Java-Tutorials

How To Read Integer From Command Line In Java
 

Java Beginners

method overloading
 

Java Beginners

main method
 

Development process Questions

what is the rong
 

Java Beginners

Class and method question, Java?
 

iPhone

Declaring Method in Objective C
 

Java Beginners

What is the Locale class?
 

Java Beginners

abstract class and overriding - Java Beginners
 

iPhone

Current Date iPhone SDK
 

Mobile Applications Questions

Iphone Developmnt
 

Java Beginners

what is the size of java class
 

Java-Tutorials

Java Abstract Class Example
 

Programming Tutorials

An Abstract class may or may not have abstract method.
 

Java Beginners

getChars method
 

Java Beginners

abstract class
 

Java Beginners

What restrictions are placed on method overloading?
 

Mobile Applications Questions

libxml2.2.dylib iphone
 

Tutorials

iPhone String Match
 

Java Beginners

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

Java Beginners

Class and Instance
 

Java Beginners

What is the difference between a constructor and a method?
 

Java Technology Tutorials

The abstract Keyword : Java Glossary
 

Java Technology Tutorials

Class
 

Java Beginners

What if the main() method is declared as private?
 

Java Beginners

what's the purpose of constructor in abstract class?
 

Java Beginners

What is a local, member and a class variable?
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.