Literal-pointer error has me stumped
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