ofVideoGrabber mac problem

Hey guys ,

I’m trying to use ofVideoGrabber but since i declare the variable

ofVideoGrabber vGrabber;  

that’s stop to work .

Even the example does not compile.

Exist some problem with Osx 10.7.5 ?


What doesn’t work?

Got any code or error logs?

If i just declare the ofVideoGrabber variable i received.

Undefined symbols for architecture i386:
“_objc_setProperty_nonatomic”, referenced from:
-[QTKitVideoGrabber setVideoDeviceInput:] in openFrameworks.a(ofQTKitGrabber.o)
-[QTKitVideoGrabber setAudioDeviceInput:] in openFrameworks.a(ofQTKitGrabber.o)
-[QTKitVideoGrabber setCaptureMovieFileOutput:] in openFrameworks.a(ofQTKitGrabber.o)
“_objc_setProperty_atomic”, referenced from:
-[QTKitVideoGrabber setSession:] in openFrameworks.a(ofQTKitGrabber.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

THanks for the Help !

Make sure your build target sdk is 10.7 in both your project and the openframeworks project.

Also check that you have Qtkit.framework in you project