Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling with of v0.9.8 #11

Open
toyfoo opened this issue Dec 14, 2016 · 1 comment
Open

compiling with of v0.9.8 #11

toyfoo opened this issue Dec 14, 2016 · 1 comment

Comments

@toyfoo
Copy link

toyfoo commented Dec 14, 2016

I recently dove into spacebrew and got the server and P5 sketches working without a glitch, excellent work guys!

Advancing a step, ofxSpacebrew shows an issue running the v0.9.8 open frameworks version on macOS (the download, not the git-master), as well as using the most recent version of ofxLibwebsockets. (using freshly generated xcode project files)

The compile error:
Unknown type name 'ofJson'
in ofxSpacebrew.h

After a bit of investigation I noticed that the open frameworks git version includes lib/utils/ofJson.h, but it isn't present in the normal download version. Merely copying the ofJson file and the json lib leads to a chain of other issues.

Any clues how to efficiently tackle this? The recent Xcode/macOS doesn't play well with versions of OF lower then 0.9.4. Thanks!

@robotconscience
Copy link
Member

Hey, sorry about the delay!

You should be able to compile with earlier releases, which use json.cpp from ofxLibwebsockets:
https://github.com/Spacebrew/ofxSpacebrew/releases/tag/0.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants