how to make pfuGetGLXWin work

New Message Reply Date view Thread view Subject view Author view

Olivier Schreiber (olivier++at++sgidev.mdc.com)
Thu, 10 Oct 1996 16:26:08 -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 how to make this work? Thanks.

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
a.out cow.obj
Where the source files are simply:
$ rfind / simple.c
/usr/share/Performer/src/pguide/libpf/C/simple.c
$ rfind / xwin.c
/usr/share/Performer/src/lib/libpfutil/xwin.c
$
with simple.c modified this way:
$ rcsdiff simple.c
===================================================================
RCS file: RCS/simple.c,v
retrieving revision 1.1
diff -r1.1 simple.c
58a59,60
> pfuGLXWindow *win;
>
113a116,120
>
> {
> pfuGetGLXWin(p, win);
> }
>
$
$

-- 

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:45 PDT

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