Re: Strange Build Error
Re: Strange Build Error
- Subject: Re: Strange Build Error
- From: Tom Sutcliffe <email@hidden>
- Date: Fri, 2 May 2003 17:18:01 +0100
Doing a clean of the project target might be needed as well. The linker
sometimes caches out of date information.
Regards,
Tom
On Friday, May 2, 2003, at 04:49 pm, Chris Ridd wrote:
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.
_______________________________________________
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.