XCode Compile Problem - HELP!!!
XCode Compile Problem - HELP!!!
- Subject: XCode Compile Problem - HELP!!!
- From: Dave <email@hidden>
- Date: Thu, 15 Feb 2007 17:00:35 +0000
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
Thanks a lot
All the Best
Dave
*****MORE STOP PRESS*****
I tracked it down to the following code. If I comment out the call to
"crsUtilSetDictionaryNumberValue" then it compiles ok. If I leave it
in, then I get 1 error but it won't show me the error!
Anyone have any idea on what's wrong?????
static OSStatus crsUtilSetDictionaryNumberValue
(CFMutableDictionaryRef theDictionaryRef,CFStringRef
theKeyCFStringRef, SInt32 theDictionaryValue)
{
CFNumberRef myNumberRef;
myNumberRef = CFNumberCreate
(kCFAllocatorDefault,kCFNumberSInt32Type,&theDictionaryValue);
if (myNumberRef == NULL)
return(coreFoundationUnknownErr);
CFDictionarySetValue(theDictionaryRef,theKeyCFStringRef,myNumberRef);
CFRelease(myNumberRef);
return(noErr);
}
It's called like this:
CFMutableDictionaryRef myPixelBufferOptions;
SInt32 myPixelFormat;
crsUtilSetDictionaryNumberValue
(myPixelBufferOptions,kCVPixelBufferPixelFormatTypeKey,myPixelFormat);
Thanks
Dave
*****STOP PRESS*****
Hi,
I restarted the Machine, did a Clean All and a Re-Build. It now says
I have 174 Warnings but only shows me 4 and still have 1 error but it
won't show me where it is!
How to get out of this? I'm stuck!
HELP!!!!!
Thanks a lot
Dave
Hi,
I have a C file that I have compiled many times. I added some code to
it and not surprisingly got a couple of compile errors which I
corrected. However, I compile it now and it tell me I have one error,
but it won't tell me where the error is! I've scrolled the whole of
the File looked for the little red X in the left margin. It's not
there. I've looked in the "Errors and Warnings" section in the
Project Window. It's empty.
What to do now?!?!?!? If there's an error and it won't show it to me,
how can I correct it?!?!?!?!?!?
HELP!!!!!
All the Best
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40looktowindward.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40looktowindward.com
This email sent to email@hidden
_______________________________________________
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