OF: OF_LOG_ERROR: GL_FRAGMENT_SHADER shader failed to link.

Hello, im getting this message when i try to use shaders on 0.7 . The program runs ok, im just getting this message:

OF: OF_LOG_ERROR: GL_FRAGMENT_SHADER shader failed to link.
OF: OF_LOG_ERROR: GL_VERTEX_SHADER shader failed to link.

What does it means?


for some reason in some platforms the shader reports that is failing to link but it has indeed linked without problem. from the last tests i’ve done i think the function used to check if the link has worked returns something different than OK because there’s a message from openGL, but when you print that message it says Linked OK or something like that :slight_smile:

so you can just ignore it by now, will try to solve it for future releases

btw. in which platform are you?

Hi Arturo , im on macosx 10.6.7

Hi, I also get the same error, but this also logs to console (camouflaged into the GBD log that comes up at the start).

warning: Could not find object file "/Developer/usr/lib/gcc/i686-apple-darwin10/4.0.1/libgcc.a(_eprintf.o)" - no debug information available for "/var/tmp/gcc_40/gcc_40-5494~211/src/gcc/libgcc2.c".  

I have gone through my project/s pretty thoroughly and I am sure this only comes up when using the OF shader… just thought I would point it out.

Keep up the good work with OF, excellent framework for digital design projects!