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: glutMouseFunc() in Borland Builder

  1. #1
    Intern Newbie
    Join Date
    Jul 2002
    Location
    Edinburgh,Scotland,United Kingdom
    Posts
    34

    glutMouseFunc() in Borland Builder

    I am trying to use the above call back function in Borland without any success. Has anyone succeeded in using it? It works for me in Visual C++ though. Is there anything that I need to change? I think it's probably the syntax.

    Suf.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,096

    Re: glutMouseFunc() in Borland Builder

    The reason for glut is that it works the same on any platform, the syntax should be the same for borland.

    What is the error, maybe you need to include another library or compile as a C++ file.
    I have found that on DEV-C++, I have to compile as a C++.

    Also you may need to have #include <stdlib.h> included in your code.

    Another option is DEV-C++, nice IDE interface, works well with glut and is free.


    Originally posted by Suf:
    I am trying to use the above call back function in Borland without any success. Has anyone succeeded in using it? It works for me in Visual C++ though. Is there anything that I need to change? I think it's probably the syntax.

    Suf.

  3. #3
    Intern Newbie
    Join Date
    Mar 2003
    Location
    Brussels
    Posts
    40

    Re: glutMouseFunc() in Borland Builder

    Hi,

    yes, I succeeded. Do you have other glut functions that already worked? is glut well declared/installed ? I'll try to help
    "Be prepared for the worst but expect the best"

Posting Permissions

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