@ekisu wrote:
Hi,
I'm trying to compile an openFrameworks project from a Makefile while walking through the shaders tutorial at http://www.openframeworks.cc/tutorials/graphics/shaders.html
The tutorial uses ofSetCurrentRenderer(ofGLProgrammableRenderer::TYPE) to set up the "fancy new renderer" but when I try to compile it I get this error.error: could not convert ‘ofGLProgrammableRenderer::TYPE’ from ‘const string {aka const std::basic_string<char>}’ to ‘std::shared_ptr<ofBaseRenderer>’ ofSetCurrentRenderer(ofGLProgrammableRenderer::TYPE); ^ make[1]: *** [obj/linux64/Release/src/main.o] Error 1 make[1]: Leaving directory '' make: *** [Release] Error 2
Am I doing something wrong? I'm running ubuntu 14.04 LTS and grabbed a Makefile and config.make out of /apps/devApps/explicitRendererExample because I couldn't find an example makefile anywhere in the examples. I have the most recent download from the git repo.
Posts: 3
Participants: 3