mwette@mr-ed.jpl.nasa.gov (Matt Wette) (02/02/91)
I am trying to compile the UI PEX implementation. However, the file pex/client/Xpex/ClientTrav.c references the type Renderer which is not defined from pex/include/PEXimpl.h. However, it is defined in pex/server/include/render.h. When I include this file all sorts of problems creep up (clash between `void Xfree()' and `#define Xfree()'). What is the solution? Matt -- _________________________________________________________________ Matthew R. Wette | Jet Propulsion Laboratory, 198-326 mwette@csi.jpl.nasa.gov | 4800 Oak Grove Dr, Pasadena,CA 91109 -----------------------------------------------------------------
egbert@cs.uiuc.edu (Parris Egbert) (02/08/91)
It has been pointed out that there is a slight bug in UIPEX. "Renderer" used to be used as an X resource ID, and thus was defined as an unsigned long. Because of other problems, we changed the name of this data type from "Renderer" to "Rdr". Thus, the pex/include/PEXlib.h file has been changed, but apparently we missed the .c files. If you change each occurrence of "Renderer" to "Rdr" in the appropriate source files, this will solve the problem (I hope!). The number of changes you will have to make, and the files to change are: 4 in the file pex/client/Xpex/ClientTrav.c, 3 in the file pex/client/Xpex/Rend.c, 2 in the file pex/client/Xpex/RendCmd.c 2 in the file pex/client/Xpex/RendInq.c 1 in the file pex/client/Xpex/RendMod.c Edit these 5 files and change each occurrence of the data type "Renderer" to "Rdr" and then things should compile. In addition, we will replace the version of UIPEX that is available for ftp on a.cs.uiuc.edu with a corrected version.