Re: How do I compile Performer 2.1 samples ?

New Message Reply Date view Thread view Subject view Author view

Scott McMillan (scott++at++ht.com)
Thu, 16 Oct 1997 11:20:01 -0400 (EDT)


> Hi,
> I've just aquired an O2 with Performer 2.1 and am trying to compile the sample
> C code in
> /usr/share/Performer/src/pguide/libpf/C
>
> As root, if I just type 'make' then it makes all the files as OpenGL versions
> and all seems well.
> If I type 'make hello' or 'make simple' it tries to make it as IrisGL and
> complains about being unable to find '-lpf_igl'. I've installed all of the
> Performer 2.1 CD, so why doesn't it work? Also why does it make IrisGL for
> single executable, but OpenGL for a total make?
>
> Thanks.

Not sure why it can't libpf_igl.so but I think I can explain the make
behaviour (although I do not have direct access to the 2.1 versions).

In the first case when you make everything, my guess is that the first target
in the make file looks something like this:

default: ogldso

Which tells it to make all the OpenGL versions with dynamic linking (the
default in my 2.0 Makefile is igldso).

Now when you try to just make one of them (here's the second guess...based on
my 2.0 Makefile) it bypasses the default target and the first one that
it appears to match is:

$(TARGETS): $(++at++:=.igldso)

and when I change the igldso to ogldso and type "make simple," it creates an
OpenGL version.

-- 
  Scott McMillan  |     HT Medical, Inc.    | Disclaimers
   scott++at++ht.com   |    http://www.ht.com    | available
 Ph: 301-984-3706 | 6001 Montrose Rd., #902 | upon re-
Fax: 301-984-2104 |   Rockville, MD 20852   | quest.
=======================================================================
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:56:05 PDT

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