elliotwoods / ofxRulr

An application and high level framework for calibrating spaces with devices. Built on openFrameworks
135 stars 15 forks source link

build errors, vs2015 win10 x64 of 0.9.3 #122

Open grrrwaaa opened 8 years ago

grrrwaaa commented 8 years ago

of_v0.9.3_vs_release\addons\ofxrulr\nodes\src\ofxrulr\nodes\system\videooutput.cpp(420): error C3861: 'ofGetCurrentWindow': identifier not found

I was able to fix it by replacing with "ofGetMainLoop()->getCurrentWindow()"

of_v0.9.3_vs_release\addons\ofxrulr\nodes\src\ofxrulr\nodes\system\videooutput.cpp(455): error C2039: 'swapBuffers': is not a member of 'ofAppGLFWWindow'

I can't see anything likely to replace this.

Cannot open source file: '....\ofxJSON\libs\jsoncpp\src\json_writer.cpp': No such file or directory
Cannot open source file: '....\ofxJSON\libs\jsoncpp\src\json_value.cpp': No such file or directory Cannot open source file: '....\ofxJSON\libs\jsoncpp\src\json_reader.cpp': No such file or directory

These files don't seem to be in any ofxJSON repo or branch I can find.

grrrwaaa commented 8 years ago

I realize swapBuffers() is in openframeworks master -- building against that resolves that particular linker error.

The only remaining error is the json_reader/writer/value.cpp files. AFAICT these are from a very old version of ofxJSON, but this doesn't seem compatible with some of the other addons that are using ofxJSON too.

grrrwaaa commented 8 years ago

I did find an older commit to ofxJSON that had these files, but using it breaks ofConstants.h for example

elliotwoods commented 8 years ago

Good spot! Fixing...

Also here's a recent build of the Sdk: https://drive.google.com/open?id=0B_S1z3_AWMRSRzlyMlJMb2RkN2s That has all the addons and correct oF commit On Sat, 7 May 2016 at 04:43, Graham Wakefield notifications@github.com wrote:

I did find an older commit to ofxJSON that had these files, but using it breaks ofConstants.h for example

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/elliotwoods/ofxRulr/issues/122#issuecomment-217540397

grrrwaaa commented 8 years ago

What is the correct oF commit? It would be better for us if we could set up our repo to use the commit directly. I guess it will also help you, to make it more stable for others to build too :-) I feel like we're almost there...

elliotwoods commented 8 years ago

i'm on eb3087367d135bb7e99dcb8f9b41478060cab087

if you get the SDK, then you get openframeworks, all the addons and they're all active git folders (hence the enormous download)

didn't get time to check ofxJSON updates yesterday and now in the middle of something else i imagine it's not a big change, since ofxRulr just uses jsoncpp directly (rather than the wrapper code)

elliot

On Sun, May 8, 2016 at 11:25 AM Graham Wakefield notifications@github.com wrote:

What is the correct oF commit? It would be better for us if we could set up our repo to use the commit directly. I guess it will also help you, to make it more stable for others to build too :-) I feel like we're almost there...

— You are receiving this because you commented.

Reply to this email directly or view it on GitHub https://github.com/elliotwoods/ofxRulr/issues/122#issuecomment-217683753