Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone
I need to do a project using opengl library. using taoframework. I'm doing drawings in simpleopengl object. I have no problem about it.
My problem is plotted in the text.
I'm using Tao Freeglut and my code is;
C#
Gl.glPushMatrix();
Gl.glTranslatef(0, 0, 0);
string s = "deneme";
for (int c = 0; c < s.Length; c++)
{
    Glut.glutStrokeCharacter(Glut.GLUT_STROKE_ROMAN, (int)s[c]);
}
Gl.glPopMatrix();


could not figure out where I was wrong. The program enters loop.
C#
Glut.glutStrokeCharacter(Glut.GLUT_STROKE_ROMAN, (int)s[c]);

part of the cycle, without taking action, is without error and does not do any drawing.
what should I do?
Please help me.
Finally, I'm sorry for the bad English.
Posted
Comments
[no name] 24-Apr-12 12:51pm    
try Glut.glutStrokeCharacter(Glut.GLUT_STROKE_ROMAN, s[c]); and see what happens
akci 24-Apr-12 14:58pm    
not change, no paint, no error.
SASS_Shooter 24-Apr-12 17:54pm    
Have you tried asking what the problem is over on the Tao Framework forum which is under the developers home page for the framework?
akci 25-Apr-12 5:57am    
the error;
Sytem.DllNotFoundException

{Unable to load DLL 'freeglut.dll': The specified module could not be found. (Exception from HRESULT returned: 0x8007007E) "}

What should I do?

Adding referance Tao.FreeGlut.dll, but DllNotFoundException.
I dont understand.
[no name] 25-Apr-12 6:47am    
It's pretty clear. Whatever is using "freeglut.dll" can't find it. It's not in the path or installed.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900