ofxIpVideoGrabber problem


#1

I’m using oF v0.9.8 on OSX 10.13.3, Xcode 9.4 and am having difficulty getting the latest commit of ofxIpVideoGrabber to work in my project.

on build, I get the following error:
“Lexical or Preprocessor Issue Group”
“/Users/phillipstearns/Dropbox/oF/of_v0.9.8_osx_release/addons/ofxIpVideoGrabber/src/IPVideoGrabber.h:16:10: ‘ofJson.h’ file not found”

Seems like there’s a dependency missing, but where to find and link it?

A separate issue:
I also can’t figure out how to load the example and get in running in Xcode.
Is there a resource for converting examples between different platforms and IDEs?


#2

Hi Phillip,
Not sure if this will take care of that error, but hopefully we can get the IpVideoGrabber example running.
Which branch of ofxIpVideoGrabber are you using? If you are using the oF 0.9.8 release, make sure you are using the stable branch of ofxIpVideoGrabber, not the master branch. The master branch of ofxIpVideoGrabber is meant to be used with the oF nightly builds.

To run the example, use the projectGenerator. Open up the projectGenerator, hit import, navigate to the example folder, hit Generate. It will create an Xcode project fro you and should take care of including all the addons.
Hope this helps!