pfuGetGLXWin not working?

New Message Reply Date view Thread view Subject view Author view

Olivier Schreiber (olivier++at++sgidev.mdc.com)
Wed, 16 Oct 1996 07:40:05 -0700


I tried a simple performer example to use
pfuGetGLXWin and I cannot get anything else
than a NULL pointer for the pfuGLXWindow
Would anybody know this does not work? Thanks.

I just modified
/usr/share/Performer/src/pguide/libpf/C/simple.c
this way:

ksh> rcsdiff simple.c
===================================================================
RCS file: RCS/simple.c,v
retrieving revision 1.1
diff -r1.1 simple.c
58a59
>
68a70
> pfuGLXWindow *win;
113a116,117
> win=(pfuGLXWindow *)pfMalloc(sizeof(pfuGLXWindow),pfGetSharedArena());
> pfuGetGLXWin(p,win);
ksh>

(IRIX 6.2, performer 2.1)
and am using:
/usr/share/Performer/src/lib/libpfutil/xwin.c
cc -g -c simple.c
cc -g -c xwin.c
export LIBOGL="-lGLU -lGL
-lXext"
export SYSTEM_OPENGL="-lmld \
        -lmpc \
        -limage \
        ${LIBOGL} \
        -lXmu \
        -lX11 \
        -lXi\
        -lfpe \
        -lm \
        -lmalloc \
        -laudio \
        -lC"
cc -g simple.o xwin.o -lpf_ogl -lpfdu_ogl -lpfutil_ogl $SYSTEM_OPENGL

-- 
Olivier Schreiber olivier++at++sgidev.mdc.com 310 593 9739 FAX 593 0296
CSSL, Military Transport Aircraft, McDonnell Douglas Corporation
Mail Code 41/56, 3855 Lakewood Blvd. Long Beach Ca. 90846-0001
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:46 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.