ofxPostProcessing icon indicating copy to clipboard operation
ofxPostProcessing copied to clipboard

not compiling with openFrameworks 0.10.0 and visual studio 2017

Open paul-ferragut opened this issue 6 years ago • 2 comments

Everything is ok in of 0.98 but with 0.10.0 i have errors errors

ps: thank you for this great addons!

paul-ferragut avatar Oct 09 '18 16:10 paul-ferragut

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());

jamesalliban avatar Nov 02 '18 16:11 jamesalliban

I'm getting troubles compiling with different errors. errorList

walkerkaiman avatar May 07 '19 18:05 walkerkaiman