Re: Where did graph.curve.opengl.TextRenderer go ?

classic Classic list List threaded Threaded
♦
♦
4 messages Options
Reply | Threaded
Open this post in threaded view
♦
♦
|

Re: Where did graph.curve.opengl.TextRenderer go ?

Lili
I will give it a try
Reply | Threaded
Open this post in threaded view
♦
♦
|

Re: Where did graph.curve.opengl.TextRenderer go ?

Lili
I'm back with the same problem unfortunately. I am now using a new computer (Ubuntu 15.04 with NVidia GTX 970). I moved my code from the old Mac computer to the new one and the workaround solution is giving me a runtime error . I get "com.jogamp.opengl.GLException: Program is not linked" for this line of code
renderState.setShaderProgram(gl, shaderProg);

Anyone know of a way I can trick it into working?

Thank you
Reply | Threaded
Open this post in threaded view
♦
♦
|

Re: Where did graph.curve.opengl.TextRenderer go ?

Sven Gothel
Administrator
On 08/22/2015 12:49 AM, Lili [via jogamp] wrote:
> I'm back with the same problem unfortunately. I am now using a new computer
> (Ubuntu 15.04 with NVidia GTX 970). I moved my code from the old Mac computer
> to the new one and the workaround solution is giving me a runtime error . I
> get "com.jogamp.opengl.GLException: Program is not linked" for this line of code
> renderState.setShaderProgram(gl, shaderProg);
>
> Anyone know of a way I can trick it into working?
>

Orthogonal issue, your shader code doesn't comply w/ ... (something).

If you use ShaderCode etc, you may want to set
property 'jogl.debug.GLSLCode' showing you the error line .. etc

Also see:

<http://jogamp.org/wiki/index.php/How_to_write_cross_GLProfile_compatible_shader_using_JOGL>

~Sven



signature.asc (828 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
♦
♦
|

Re: Where did graph.curve.opengl.TextRenderer go ?

Lili
Thank you Sven Gothel. I will try that but I'm wondering why it's a problem on one computer and not on another.