  PTC 2.0 C++ API X11 CLASSES Version 2.0.10 (beta) README
  Christian Nentwich (brn@eleet.mcb.at)
  04/10/1998

  The X11 classes are Copyright (c) 1998 Christian Nentwich
  (brn@eleet.mcb.at) The PTC 2.0 C++ API is (c) 1998 Glenn Fiedler
  (ptc@gaffer.org).  This package and all included source code is
  licensed under the GNU LGPL Please refer to the included file COPY-
  ING.LIB for the exact terms (Please read the CHANGES file first if
  you're upgrading!)
  ______________________________________________________________________

  Table of Contents


  1. Tested platforms

  2. Obtaining the newest version and documentation

  3. How to link your own program to PTC 2.0.* X

  4. Thankyous

  5. How to submit bug reports



  ______________________________________________________________________

  1.  Tested platforms

  PTC X11 has been compiled and run on the following platforms:


  o  RedHat Linux 5.0, x86 (gcc 2.7.2.3 -O2)

  o  RedHat Linux 5.0, x86 (pgcc 1.0.3a -O6 -mpentium)

  o  RedHat Linux 5.1, x86 (egcs 1.0.2 -O6 -mpentium)

  o  RedHat Linux 5.1, x86 (pgcc 1.1 -O6 -mpentium)

  o  FreeBSD 2.2.7, x86 (gcc 2.7.2.1 -O2)

  o  IRIX 6.3, SGI O2 (gcc 2.7.2 -O2)

  o  SunOS 5.dunno :), Sparcstation 4 (gcc 2.7.2 -O2)



  2.  Obtaining the newest version and documentation

  You can get PTC from:

  o  http://www.gaffer.org/ptc (All platforms)

  o  http://www.cs.ucl.ac.uk/students/c.nentwich/ptc (X11)


  You will also find the documentation you require at www.gaffer.org (an
  introduction to PTC, etc.). If you just want the newest PTC X release,
  go to the second homepage, as that's the one that guarantees an up to
  date release.



  3.  How to link your own program to PTC 2.0.* X

  The following instructions assume you installed in '/usr/local/',
  which is the default and furthermore that /usr/local/bin is in your
  path. The situation has changed a bit from 2.0.10 with ptc-config, it
  should be easier to link PTC to your programs now.


  For compiling, you can execute 'ptc-config --cflags' to get all the
  flags you need to build a source file that includes <ptc/ptc.h> (which
  is the only thing you need to include by the way).


  For linking, execute 'ptc-config --libs' to link in PTC, Hermes and
  all the required X libraries.

  Example command lines:

  o  Compiling:

       "g++ -c cooleffect.cc -o cooleffect.o `ptc-config --cflags`"


  o  Linking:

       "g++ cooleffect.o -o cooleffect `ptc-config --libs`"




  4.  Thankyous

  Handshakes and a pat on the shoulder to the following people for being
  very helpful in identifying problems with PTC X11.


  o  Hilarion (rhogan@mnsi.net)

  o  Nado (nado@ottawa.com)

  o  Ghyll (ghyll@iname.com)




  5.  How to submit bug reports

  PTC X11 is now in a beta stage, so things might still go wrong.. If
  you don't mind, send an e-mail to brn@eleet.mcb.at if something does
  go wrong and include the following files (check if the bug is know
  first, read the BUGS file):


  o  config.log

  o  config.status

  o  XF86Config (or your Metro-X config, or whatever)

  In addition, please run the dumpinfo program you can find in the
  source/static directory and send me the stuff it produces (this is
  quite important):


       source/static/dumpinfo > visual.x11

  It would also be quite useful if you could tell me your compiler
  version and which version of X you are using if it is < R6. I'd be
  forever thankful ;)


  Then again, if you're bored enough, a patch with a bugfix and comments
  would be cool, send me the diff :)


  Thanks, brn/S!P
























































