Re: [info-performer] building pbuffer sample: glXMakeCurrentReadSGI

Date view Thread view Subject view Author view

From: Benedikt Kessler (bjk++at++munich.sgi.com)
Date: 02/16/2005 02:47:35


Hi!

If you are able to compile and use programs that make use of the GLX 1.3 call glXCreatePbuffer(), then you should replace the extension call glXMakeCurrentReadSGI (and maybe others) by glXMakeContextCurrent.

The glX calls are usually defined in libGL.so

Bye! Benedikt

Bram Stolk wrote:
>
> Hello,
>
> I'm trying to build /usr/share/Performer/src/pguide/libpf/C/pbuffer.c
>
> Reading this old posting:
> http://oss.sgi.com/projects/performer/mail/info-performer/perf-03-08/0087.html
> I see that Alexandre could build it.
>
> I'm on pf3.2 linux, and the pbuffer is not a target in the GNUMakefile.
> If I add pbuffer as a target, and build it, I get:
>
> make[2]: Entering directory `/usr/share/Performer/src/pguide/libpf/C/OPT.I386'
> cc -O3 -ffast-math -mcpu=pentiumpro -MD -fPIC -DI386 -DLinux -I..
> -I/usr/include -I/usr/X11R6/include -o pbuffer.dsocmd pbuffer.o -L/usr/lib
> -L/usr/lib/libpfdb -L/lib -lpfv -lpfdu -lpfutil -lpfdu -lpfui -lpf
> -L/usr/X11R6/lib -lGLU -lGL -lXext -lpthread -lGLw -lXm -lXt -lXp -lXpm -lXmu
> -lX11 -lm -ldl
> pbuffer.o(.text+0x96e): In function `DrawCopy':
> : undefined reference to `glXMakeCurrentReadSGI'
> collect2: ld returned 1 exit status
> make[2]: *** [pbuffer.dsocmd] Error 1
>
> In which library does this symbol normally reside?
>
> I can build programs that use glXCreatePbuffer() without problems, so I know
> that my NVIDIA 66.29 system is capable of pbuffers.
>
> Thanks!
>
> Bram
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------

-- 
+---------------------------------+----------------------------------+
|Benedikt J. Kessler              | Silicon Graphics GmbH            |
|Advanced Media Products          | Am Hochacker 3 - Technopark      |
|SGI                              | 85630 Grasbrunn-Neukeferloh, FRG |
|    ---  __o       ,__o          |                                  |
| ------_ \<,_    _-\_<,          | Phone: (+49) 89 46108-366 or -0  |
|----- (*)/ (*)  (*)/'(*)         | Fax:   (+49) 89 46107-366        |
+---------------------------------+----------------------------------+
|E-Mail: bjk++at++sgi.com            Web (private): http://sgiweb.org/bjk |
|   Web: http://www.sgi.de                                           |
+--------------------------------------------------------------------+


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Feb 16 2005 - 02:48:15 PST