freeGLUT doesn't open OpenGL Window

Hi.I tried use glutMouseWheelFunc.It is building.But it doesn’t open window.Thanks for ur helps.

You have not given any source code for us to comment on. But I could see in the snapshot that you posted that the initialization function glutInitDisplayMode is

  1. called after glutCreateWindow when it should be called before it and
  2. the parameters to glutInitDisplayMode are given wrongly.

Please go through a basic glut setup tutorial first. Something like this tutorial might help.

1)Did u ever try glutInitDisplayMode func call after glutCreateWindow?
2)Can u write true parameters?Please.
3)Link is break.

  1. link works for me currently.