• 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
Literal-pointer error has me stumped
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Literal-pointer error has me stumped


  • Subject: Literal-pointer error has me stumped
  • From: Joel Norvell <email@hidden>
  • Date: Mon, 3 Nov 2008 19:12:00 -0800 (PST)

Dear Xcode-users,

Any advice to help me solve this problem would be most appreciated!

Sincerely,

Joel Norvell


I'm getting the following error when building a project:

collect2: ld returned 1 exit status
symbol(s) not found
literal-pointer@__OBJC@__cls_refs@PDFDocument in PDXDocument.o
".objc_class_name_PDFDocument", referenced from:

I am importing Quartz:
#import <Quartz/Quartz.h>

This is the line of code causing the error;
if I comment it out, the error goes away:

PDFDocument * myPdfDoc = [[PDFDocument alloc] initWithURL: [NSURL fileURLWithPath: [self fileName]]];

This is for a 10.4 Deployment Target.

Xcode 3.1.1
OS X 10.5.5
MacBook Pro
2.2 GHz Intel Core DUO
2GB 667 MHZ DDR2 SDRAM





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: IB references from static library
  • Next by Date: Re: Strange dynamic_cast problem
  • Previous by thread: Re: Strange dynamic_cast problem
  • Next by thread: Re: Literal-pointer error has me stumped
  • Index(es):
    • Date
    • Thread