Re: XCode Compile Problem - HELP!!!
Re: XCode Compile Problem - HELP!!!
- Subject: Re: XCode Compile Problem - HELP!!!
- From: Dave <email@hidden>
- Date: Fri, 16 Feb 2007 12:13:38 +0000
Hi,
The problem was solved by adding the QuartzCore Framework to the
project. I hadn't realized that I needed to add this in! Doh!
What added to the confusion was that the error was a Link error and
was not easily visible the way I have my project setup.
Thanks a lot to all that helped.
All the Best
Dave
On 15 Feb 2007, at 17:19, Horst Hösel wrote:
Some more information. I have the following lines in my C file.
The first group works ok, the second causes a compile error, but
XCode does not show the error. Probably since it's buried deep
inside some .h files.
#if 1
crsUtilSetDictionaryNumberValue(myPixelBufferOptions,
0,thePixelFormat);
crsUtilSetDictionaryNumberValue(myPixelBufferOptions,
0,theBoundingRectPtr->size.width);
crsUtilSetDictionaryNumberValue(myPixelBufferOptions,
0,theBoundingRectPtr->size.height);
crsUtilSetDictionaryNumberValue(myPixelBufferOptions,0,16);
#else
crsUtilSetDictionaryNumberValue
(myPixelBufferOptions,kCVPixelBufferPixelFormatTypeKey,thePixelFormat
);
crsUtilSetDictionaryNumberValue
(myPixelBufferOptions,kCVPixelBufferWidthKey,theBoundingRectPtr-
>size.width);
crsUtilSetDictionaryNumberValue
(myPixelBufferOptions,kCVPixelBufferHeightKey,theBoundingRectPtr-
>size.height);
crsUtilSetDictionaryNumberValue
(myPixelBufferOptions,kCVPixelBufferBytesPerRowAlignmentKey,16);
#endif
Just a wild guess: Look for where your
kCVPixelBufferPixelFormatTypeKey and friends come from.
HTH,
Horst
_______________________________________________
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