Re: WhackedTV - ISO C++ forbids declaration of 'SeqGrabComponent' with no type
Re: WhackedTV - ISO C++ forbids declaration of 'SeqGrabComponent' with no type
- Subject: Re: WhackedTV - ISO C++ forbids declaration of 'SeqGrabComponent' with no type
- From: Timothy Knox <email@hidden>
- Date: Fri, 6 Oct 2006 16:00:29 -0700
- Mail-followup-to: cocoadev List <email@hidden>
Somewhere on Shadow Earth, at Sat, Oct 07, 2006 at 11:47:21AM +1300, David Wilson wrote:
> Hi Team...
>
> I'm not sure where to start looking for this. I'm trying to
> incorporate the sequence grabber code into my software and I'm
> getting the error below. Any idea's of what I should be looking at
> for a fix?
>
>
> /Users/dgwilson/Desktop/Missile/USB Missile Launcher NZ v1.4/
> ClassesVideo/SeqGrab/SeqGrab.h:60: error: ISO C++ forbids declaration
> of 'SeqGrabComponent' with no type
>
>
> I downloaded WackedTV from Apple about a week ago. I can successfully
> compile WackedTV on the same machine.
> XCode = 2.4
Yeah. THat is a compiler error that says you haven't brought in the declaration
for some class. In this case, it looks like you haven't #include-ed the header
file for SeqGrabComponent. So #include that either in SqGrab.h (not so good, as
your change could be overwritten) or before you #include SeqGrab.h .
But that is just my diagnosis from being a long time C/C++ guy, not from
building that code specifically.
--
Timothy Knox <mailto:email@hidden>
"People who are willing to rely on the government to keep them safe
are pretty much standing on Darwin's mat, pounding on the door,
screaming, 'Take me, take me!'"
-- Carl Jacobs, from alt.sysadmin.recovery
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden