Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: GLUT INITIALISATION HELP!!!

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2002
    Posts
    2

    GLUT INITIALISATION HELP!!!

    Hi,
    I've a C code which I would be calling from ForTran. So, I don't have a "Main()" function in my C code. Because of this, I've problems initialising the
    glutInit(argc,argv).

    Could anyone help me to overcome this problem.. Is there any function equivalent to glutInit() in ForTran??!!

    Thanks in advance..

  2. #2
    Junior Member Regular Contributor
    Join Date
    Oct 2001
    Location
    Holland
    Posts
    184

    Re: GLUT INITIALISATION HELP!!!

    If you are not using any command line parameters, you could call the glutInit inside your C routine with fake parameters: argc = 0, argv = null.

    HTH

    Jean-Marc

  3. #3
    Junior Member Newbie
    Join Date
    Sep 2002
    Posts
    2

    Re: GLUT INITIALISATION HELP!!!

    Hi,
    Thx for that.. I think I tried that already but it gave some error.. Anyway, shall try it out once again & check..

    Thanks again..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •