ofxGrt
ofxGrt copied to clipboard
Make of timeseries plot example fails on ubuntu 18.04
ofxGrt/example_timeseries_plot/src/main.cpp:9:14: error: ‘int ofWindowSettings::height’ is protected within this context settings.height = 720; ^~~~~~ In file included from /home/nicola/ml4a/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/app/ofAppRunner.h:4:0, from /home/nicola/ml4a/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/graphics/ofPolyline.inl:9, from /home/nicola/ml4a/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/graphics/ofPolyline.h:553, from /home/nicola/ml4a/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/gl/ofGLRenderer.h:3, from /home/nicola/ml4a/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/ofMain.h:49, from /home/nicola/ml4a/of_v0.10.1_linux64gcc6_release/addons/ofxGrt/example_timeseries_plot/src/main.cpp:1: /home/nicola/ml4a/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/app/ofWindowSettings.h:85:6: note: declared protected here int height; ^~~~~~
replace these lines: https://github.com/nickgillian/ofxGrt/blob/689c068b76af9e614f7124dbd4f38c8640c3a06d/example_timeseries_plot/src/main.cpp#L8-L9
with this:
settings.setSize(1280, 720);
https://forum.openframeworks.cc/t/error-int-ofwindowsettings-width-is-protected/29952