ofGLProgrammableRenderer not working on RPI

#1

OF 0.10.1, Raspbian Stretch

I thought this renderer worked on Pi, I get this error when compiling and it stops many examples working:

/home/pi/openFrameworks/apps/myApps/pointsAsTextures/src/main.cpp: In function ‘int main()’:
/home/pi/openFrameworks/apps/myApps/pointsAsTextures/src/main.cpp:11:56: error: could not convert ‘ofGLProgrammableRenderer::TYPE’ from ‘const string {aka const std::__cxx11::basic_string}’ to ‘std::shared_ptr’
ofSetCurrentRenderer(ofGLProgrammableRenderer::TYPE);

Any workaround??

TIA

#2

This is the new way of doing it in main.cpp

#include "ofMain.h"
#include "ofApp.h"

int main()
{
    ofGLESWindowSettings settings;
    settings.setSize(1280, 720);
    settings.setGLESVersion(2);
    ofCreateWindow(settings);
    ofRunApp( new ofApp());
}

#3

Thanks - that clears up another of the mysteries of 0.10.1 not working on PI…

I was testing by using the pointsAsTexturesExample which now compiles.

Interestingly enough, this runs but the frame rate goes from 45 down to 8 compared with
using the ofSetupOpenGL method. and the shader does not compile with either way of doing things.