ofxPostProcessing
ofxPostProcessing copied to clipboard
not compiling with openFrameworks 0.10.0 and visual studio 2017
Everything is ok in of 0.98 but with 0.10.0 i have errors
ps: thank you for this great addons!
Quick fix for this. Add:
using namespace std;
And:
#include "ofMain.h"
to RenderPass.h. Not ideal but have neither the time nor the inclination for best practices. Arting.
Also, use glm::value_ptr()
instead of .getPtr()
in PostProcessing.cpp. e.g.
glLoadMatrixf(glm::value_ptr(cam.getModelViewMatrix()));
Not:
glLoadMatrixf(cam.getModelViewMatrix().getPtr());
I'm getting troubles compiling with different errors.