Welcome to MacBoardz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

QuickLook project 1333 Errors

 
   Macintosh computer (Home) -> Programmer Help RSS
Next:  method definition not in @implementation context  
Author Message
Florian Zschocke2

External


Since: Mar 29, 2004
Posts: 220



(Msg. 1) Posted: Sun Feb 03, 2008 9:20 am
Post subject: QuickLook project 1333 Errors
Archived from groups: comp>sys>mac>programmer>help (more info?)

Hello NG,

I started today to write a QuickLook plugin for my app. It somehow
dose not like my header files and I don't know why. I do nothing else
than in the QuickLookSketch-example. When I try to compile it steps
into my header file than into cocoa.h, than in foundation.h. There it
catches the first error at a @class statement:

syntax error before '@' token

The next is:

syntax error before '*' token.

This happens in all header files it steps through.
I really don't know what is happening here since my headers and
objects compile well in other projects.

TIA Florian

 >> Stay informed about: QuickLook project 1333 Errors 
Back to top
Login to vote
Florian Zschocke2

External


Since: Mar 29, 2004
Posts: 220



(Msg. 2) Posted: Sun Feb 03, 2008 10:19 pm
Post subject: Re: QuickLook project 1333 Errors [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Florian Zschocke schrieb:

Ahrg, had to rename GeneratePreviewForURL.c to
GeneratePreviewForURL.m.

Thanx Florian

 >> Stay informed about: QuickLook project 1333 Errors 
Back to top
Login to vote
Tom Harrington

External


Since: Aug 19, 2003
Posts: 1469



(Msg. 3) Posted: Sun Feb 03, 2008 10:19 pm
Post subject: Re: QuickLook project 1333 Errors [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article
,
Florian Zschocke wrote:

> Florian Zschocke schrieb:
>
> Ahrg, had to rename GeneratePreviewForURL.c to
> GeneratePreviewForURL.m.

When you have that many errors, it's often the case that Xcode is trying
to compile the wrong language (or wrong dialect). In this case the ".c"
told Xcode to expect only C, not Objective-C stuff, leading to the
errors you got. FWIW you can always override these defaults in Xcode--
select the file and press cmd-I, and in the "general" tab you can set
the file type to whatever's appropriate.

--
Tom "Tom" Harrington
Independent Mac OS X developer since 2002
http://www.atomicbird.com/
 >> Stay informed about: QuickLook project 1333 Errors 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
QuickLook by the fly generation (RTF) - Hallo NG, I have some problems to generate a preview for Quicklook. The example: http://developer.apple.com/documentation/UserExperience/Conceptual/Quicklook_Programming_Guide/QLDynamicGeneration/chapter_7_section_2.html is not working for me. By the..

New QT Installation - Many Errors - I am writing an OSX application that will, hopefully, enable me to grab images from a firewire camera. I was able to get a QTComponent, but could not open the QTComponent using OpenComponent. I read somewhere that newer versions of QT were required for...

Build Errors under CW 9.2 on Panther - I originally tried to build my project on OS X 10.3.3 and CW 9. I got a ton of errors like this: Error : ';' expected (included from: CFNetwork/CFSocketStream.h:24 CFNetwork/CFNetwork.h:25 CoreServices/CoreServices.h:33 Carbon/Carbon.h:20 ..

Objc Nubie: Errors Errors Errors - I've been toying with learning ObjC/Cocoa for sometime and finally got over the hump of "brackets vs. braces" but am wondering why my little test throws so many warnings when run: // gcc FileTest.m -o FileTest -ObjC -framework Cocoa #includ...

Two Cocoa Errors I can't figure out.. - When I run my shareware app, I always get these two errors errors at the very beginning, and the second one occasionally recurs. They never seem to interfere with the operation of the app on my machine, but my users have sent me crashlogs which lead m...
   Macintosh computer (Home) -> Programmer Help All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]