• 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: 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.

  • Follow-Ups:
    • Re: Strange Build Error
      • From: Tom Sutcliffe <email@hidden>
References: 
 >Strange Build Error (From: Michael Hanna <email@hidden>)

  • Prev by Date: Re: NS/OS Developer tools for Windows?
  • Next by Date: Re: Strange Build Error
  • Previous by thread: Strange Build Error
  • Next by thread: Re: Strange Build Error
  • Index(es):
    • Date
    • Thread