Re: Strange Build Error
Re: Strange Build Error
- Subject: Re: Strange Build Error
- From: Chris Ridd <email@hidden>
- Date: Fri, 02 May 2003 16:49:02 +0100
On 2/5/03 4:09 pm, Michael Hanna <email@hidden> wrote:
>
Hi I inadvertently removed main.m from my project. After this build
>
error:
>
>
ld: Undefined symbols:
>
_main
>
>
>
I copied another main.m into the project, which looks like:
>
>
//
>
// main.m
>
// Vox Coder
>
//
>
// Created by Michael Hanna on Sun Apr 27 2003.
>
// Copyright (c) 2003 __MyCompanyName__. All rights reserved.
>
//
>
>
#import <Cocoa/Cocoa.h>
>
>
int main(int argc, const char *argv[])
>
{
>
return NSApplicationMain(argc, argv);
>
}
>
>
>
but I keep on getting the same build error.. any ideas?
>
Michael
Did you add it to your target?
Cheers,
Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.