Issue 39 in maccode: NSImage+QuickLook — compile error

42 views
Skip to first unread message

codesite...@google.com

unread,
Jun 9, 2012, 8:37:24 PM6/9/12
to mac...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 39 by goler...@gmail.com: NSImage+QuickLook — compile error
http://code.google.com/p/maccode/issues/detail?id=39

What steps will reproduce the problem?
1. Added NSImage+QuickLook.h and m files to the project
2. Set -fno-obj-arc flag to a compile target (because it is an ARC project)
3. Run project

What is the expected output? What do you see instead?

I get following errors:

Undefined symbols for architecture x86_64:
"_kQLThumbnailOptionIconModeKey", referenced from:
+[NSImage(QuickLook) imageWithPreviewOfFileAtPath:ofSize:asIcon:] in
NSImage+QuickLook.o
"_QLThumbnailImageCreate", referenced from:
+[NSImage(QuickLook) imageWithPreviewOfFileAtPath:ofSize:asIcon:] in
NSImage+QuickLook.o
ld: symbol(s) not found for architecture x86_64


What version of the product are you using? On what operating system?

OSX 10.7.3, XCode 4.3.2

Please provide any additional information below.



codesite...@google.com

unread,
Jun 9, 2012, 8:40:54 PM6/9/12
to mac...@googlegroups.com

Comment #1 on issue 39 by goler...@gmail.com: NSImage+QuickLook — compile
error
http://code.google.com/p/maccode/issues/detail?id=39

And a few seconds later, I discover that the reason for this issue is that
I forgot to import QuickLook framework into the project.

Please, close this issue.

Reply all
Reply to author
Forward
0 new messages