• 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
Strange Build Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange Build Error


  • Subject: Strange Build Error
  • From: Michael Hanna <email@hidden>
  • Date: Fri, 2 May 2003 11:09:29 -0400

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
_______________________________________________
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: Chris Ridd <email@hidden>
  • Prev by Date: NSImageView Update
  • Next by Date: NSTextStorage and NSTextAttachment
  • Previous by thread: NSImageView Update
  • Next by thread: Re: Strange Build Error
  • Index(es):
    • Date
    • Thread