GLUT: Fatal Error in openframeworks: pixel format with necessary capabilities not fou

hi when i run my program i encounter GLUT: Fatal Error in openframeworks: pixel format with necessary capabilities not found error pls someone help me
my program is:

#include “stdafx.h”
#include “gl\glut.h”

void myInit(){glClearColor(1.0,0.0,0.0,0.0);
glClear(GL_COLOR_BUFFER_BIT);
glMatrixMode(GL_PROJECTION);
gluOrtho2D(0.0,100.0,0.0,200);
}
void mydraw(){glColor3f(0.0,0.0,1.0);
glBegin(GL_POINTS);
glVertex2i(10,20);
glEnd();
glFlush();}
inline int _tmain(int argc, char **argv)
{
ofAppGlutWindow window;
// window.setGlutDisplayString(“rgba double samples>=6 depth”);
ofSetupOpenGL(&window, 768,1024, OF_WINDOW);

glutInit(&argc,argv);
glutInitDisplayMode(GLUT_SINGLE|GL_RGB);

glutInitWindowPosition(100,20);
glutInitWindowSize(300,400);
glutCreateWindow(“vahid joon”);
myInit();
glutDisplayFunc(mydraw);
glutMainLoop();

return 0;

}

i’m using visual studio 2010(C++) and my graphic card is nvidia 9800XFX
tx for your help
with best wishes khashayar