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

Re: Literal-pointer error has me stumped


  • Subject: Re: Literal-pointer error has me stumped
  • From: Joel Norvell <email@hidden>
  • Date: Tue, 4 Nov 2008 08:27:25 -0800 (PST)

Dear Xcode-users,

One of your kind members contacted me off-list and pointed out the problem: I wasn't linking to the Quartz framework.  I am now, and the project builds OK.

Thanks Nick!

Joel

--- On Mon, 11/3/08, Joel Norvell <email@hidden> wrote:

> From: Joel Norvell <email@hidden>
> Subject: Literal-pointer error has me stumped
> To: email@hidden
> Date: Monday, November 3, 2008, 9:12 PM
> 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: Problem using IB via Remote Desktop
  • Next by Date: Error in Framework
  • Previous by thread: Literal-pointer error has me stumped
  • Next by thread: Error in Framework
  • Index(es):
    • Date
    • Thread