Thanks for the suggestions. I tried including the programmable renderer line as you suggested Arturo but it doesn’t seem to make a difference.
My main:
#include "ofMain.h"
#include "ofApp.h"
#include "ofGLProgrammableRenderer.h"
int main(){
ofSetCurrentRenderer(ofGLProgrammableRenderer::TYPE);
ofSetupOpenGL(1024,768, OF_WINDOW); // <-------- setup the GL context
// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
// pass in width and height too:
ofRunApp( new ofApp() );
return 0;
}
#ifdef TARGET_ANDROID
#include <jni.h>
//========================================================================
extern "C"{
void Java_cc_openframeworks_OFAndroid_init( JNIEnv* env, jobject thiz ){
main();
}
}
#endif
I don’t think I’m using any unusual shader functions. My shaders are actually very simple.
base.vert
void main() {
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
gl_TexCoord[0] = gl_MultiTexCoord0;
}
combine.frag
uniform sampler2DRect tex0;
uniform sampler2DRect tex1;
uniform sampler2DRect tex2;
void main() {
vec3 red = vec3(texture2DRect(tex0, gl_TexCoord[0].st));
vec3 green = vec3(texture2DRect(tex1, gl_TexCoord[0].st));
vec3 blue = vec3(texture2DRect(tex2, gl_TexCoord[0].st));
gl_FragColor = vec4(red.r,green.g,blue.b,1.0);
}
Here’s the error log I’ve got.

Below that it just starts to say: couldn’t begin, shader not loaded.
Including the #version 120 gives me an extra error in the logcat that says:
OpenGL ES #version <number> is not supported
But I also get all the same stuff as in the ss above.
FWIW the log is telling me that I’m using OpenGL ES Shader Compiler Version: 17.01.10.SPL
It’s sort of strange, I was able to get the shader example to build compile and run on my work computer, but not on my laptop at home. In addition to the shaders not compiling, I also get an error when running the shader example that says
drawStringAsShapes(): font not allocated: line 1146 in ../../../libs/openFrameworks/graphics/ofTrueTypeFont.cpp