• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strange Build Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Strange Build Error (From: Chris Ridd <email@hidden>)

  • Prev by Date: Re: Strange Build Error
  • Next by Date: Re: NSTextStorage and NSTextAttachment
  • Previous by thread: Re: Strange Build Error
  • Next by thread: Customizing save failure sheet
  • Index(es):
    • Date
    • Thread