bp@beach.cis.ufl.edu (Brian Pane) (07/02/90)
I'm trying to compile InterViews 2.6 on a Sun 3 with X11R4. I've successfully compiled (with g++) everything except the X-specific files. The compiler complains about the file iv/src/InterViews/X11/Xlib.h, which includes the real Xlib.h and supposedly renames the functions delcared therein before declaring its own versions with different parameters. This doesn't work. Two symptoms of the failure problem are: (1) not all of the functions defined in the real Xlib.h are renamed via #defines before they are redeclared in the InterViews Xlib.h, and (2) the real Xlib.h doesn't specify 'void' where it ought to. Can someone who has successfully built InterViews in a similar environment please mail or post an explanation of the stupid and obvious mistake I must be making? Thanks in advance for your help. -Brian Pane ------------------------------------------------------------------------- Brian Pane University of Florida Department of Computer Science bp@beach.cis.ufl.edu Class of 1991 "If you can keep your expectations tiny, you'll get through life without being so whiny" - Matt Groening #ifdef OFFENDED_ANYONE # include "disclaimer.h" #endif -------------------------------------------------------------------------
miron@fornax.UUCP (Miron Cuperman) (07/02/90)
Xlib.h and Xutil.h seem to have changed since IV was last released. I have hacked Xlib.h and Xutil.h in the IV source to eliminate conflicting definitions. Also, there is a reference to CC_class that should probably be c_class in another file. -- By me: Miron Cuperman <miron@cs.sfu.ca> The long habit of living indisposeth us for dying. - Sir Thomas Browne