Re: XForms: Problem using glcanvas on Win2000 and xforms

From: spl@eggshell.ucsd.edu
Date: Wed Apr 25 2001 - 14:07:04 EDT

  • Next message: Lawrence M. Lifshitz: "XForms: fl_addto_selected_xevent flakey on Linux w/XCreateWindow?"

    # To subscribers of the xforms list from spl@eggshell.ucsd.edu :

    > I have used Forms extensively on a UNIX system. However, I currently
    > MUST use Win2000 for my research. (Long story)
    >
    > I am having problems getting forms and gl to work together with my Win2000
    > system. I have a large body of code which uses the glcanvas.
    > However I can't even get the test program gl.c to work in my current
    > environment.

    Is the server known to work with OpenGL in the first place? Try

            xdpyinfo

    and you should see something like

            ncmir:spl> xdpyinfo | more
            name of display: eggshell.ucsd.edu:6.0
            version number: 11.0
            vendor string: Sun Microsystems, Inc.
            vendor release number: 6410
            maximum request size: 262140 bytes
            motion buffer size: 256
            bitmap unit, bit order, padding: 32, MSBFirst, 32
            image byte order: MSBFirst
            number of supported pixmap formats: 3
            supported pixmap formats:
                depth 1, bits_per_pixel 1, scanline_pad 32
                depth 24, bits_per_pixel 32, scanline_pad 32
                depth 32, bits_per_pixel 32, scanline_pad 32
            keycode range: minimum 8, maximum 254
            focus: window 0xe80000d, revert to PointerRoot
            number of extensions: 30
                AccessX
                Adobe-DPS-Extension
                DOUBLE-BUFFER
                DPMS
                DPSExtension
                Extended-Visual-Information
                FBPM
                GLX <----------------- you're looking for this
                LBX
                MIT-SCREEN-SAVER
                MIT-SHM
                MIT-SUNDRY-NONSTANDARD
                Multi-Buffering
                RECORD
                SECURITY
                SHAPE
                SUN_ALLPLANES
                SUN_DGA
                SUN_OVL
                SUN_SME
                SYNC
                SolarisIA
                SunForum
                TOG-CUP
                XC-APPGROUP
                XC-MISC
                XIE
                XInputDeviceEvents
                XInputExtension
                XTEST
            default screen number: 0
            [... more stuff not relevant ...]

    If you don't find the GLX extension then your server loses.

    Note that you *must* do this on the machine on which the server is
    running -- doing it remotely will just give you the characteristics of
    the server on the remote machine (you can set the display but it
    generally will hang unless you're also logged in to machine console
    anyhow).

                                                            spl
    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/



    This archive was generated by hypermail 2b29 : Wed Apr 25 2001 - 14:13:57 EDT