[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: V 1.22 BETA 2



Bruce Wampler wrote:
> 
> I have posted the latest Beta release of the
> V C++ GUI Framework  - V 1.22 Beta 2 at
>    ftp://objectcentral.com/beta/v122beta2.tgz
> 
> It is in GZIP, TAR format. This release seems
> very stable, but still needs a few things before
> the "final" V 1.22 release.
> 
There are problems building with GL (mesa) canvas
with the linuxelf target and with using egcs.

1) if you build linuxelf, the vbglcanvas is not built at all. 

2) there are some small problems which egcs, with its 
stricter type checking, catches. 

I have attached a small patch at the end of this message which fixes
these problems. (This is necessary for both Lesstif/Motif and Athena)
apply it by cd'ing to your $VHOME and running 'patch -p1 < v122b2.patch'

The GL canvas works fine with the Athena bindings, but not
with Lesstif/Motif. I used to think that it was some sort of
problem with the mesa+Lesstif combination, but I recently built
the new IBM data explorer package with mesa+lesstif and it 
works great (very cool indeed) , so I'm pretty sure 
now the problem is with V. 

Just to be a little more specific, my app segfaults during the call
to ((vCanvasPane*)xtp)->ExposeEV(...) at line 1128 in vcanvas.cxx

Has anyone had success using the combination V + Lesstif + Mesa?

One more thing... the linuxelf target goes into the test directory
and tries to build whats in there. That directory seems to be 
windoze specific or something so it does not build and stops the
make process. It is after the libraies are built so I did'nt look
into it further. 

regards,

cliff
diff -rc v122b2/includex/v/vbglcnv.h v/includex/v/vbglcnv.h
*** v122b2/includex/v/vbglcnv.h	Mon May 24 18:31:20 1999
--- v/includex/v/vbglcnv.h	Fri Jun 18 19:59:37 1999
***************
*** 48,54 ****
        {
  
  	friend void CgraphicsInit(Widget w, XtPointer clientData, XtPointer call);
! 	friend static void CGLKeyInEV(Widget w, XtPointer client_data, XEvent* event, char *x);
        public:		//---------------------------------------- public
  
  	vBaseGLCanvasPane(unsigned int vGLmode = vGL_Default, PaneType pt = P_Canvas);
--- 48,54 ----
        {
  
  	friend void CgraphicsInit(Widget w, XtPointer clientData, XtPointer call);
! 	friend void CGLKeyInEV(Widget w, XtPointer client_data, XEvent* event, char *x);
        public:		//---------------------------------------- public
  
  	vBaseGLCanvasPane(unsigned int vGLmode = vGL_Default, PaneType pt = P_Canvas);
diff -rc v122b2/includex/v/vcolor.h v/includex/v/vcolor.h
*** v122b2/includex/v/vcolor.h	Thu Jun  3 15:01:58 1999
--- v/includex/v/vcolor.h	Fri Jun 18 19:59:37 1999
***************
*** 12,17 ****
--- 12,19 ----
  #ifndef VCOLOR_H
  #define VCOLOR_H
  
+ #include <v/v_defs.h>
+ 
  extern "C"		// wrap in "C"
  {
  #include <X11/Intrinsic.h>
Only in v/srcx: .Makefile.swp
diff -rc v122b2/srcx/Makefile v/srcx/Makefile
*** v122b2/srcx/Makefile	Fri Jun 18 11:49:24 1999
--- v/srcx/Makefile	Fri Jun 18 20:27:06 1999
***************
*** 163,171 ****
  $(Bin) $(oDir) $(LibDir):
  	[ -d $@ ] || mkdir -p $@
  
! $(LibDir)/$(LIBNAME)gl.so.$(VV):	$(LibObjs)
  	-rm -f $(LibDir)/$(LIBNAME)gl.so.$(VV)
! 	-$(CXX) -shared -Wl,-soname,$(LIBNAME).so.$(VV) \
  		-o $(LibDir)/$(LIBNAME)gl.so.$(VV) $(LibGLObjs)
  	-(cd $(VLibDir); \
  		-rm -f $(LIBNAME)gl.so; \
--- 163,171 ----
  $(Bin) $(oDir) $(LibDir):
  	[ -d $@ ] || mkdir -p $@
  
! $(LibDir)/$(LIBNAME)gl.so.$(VV):	$(LibGLObjs)
  	-rm -f $(LibDir)/$(LIBNAME)gl.so.$(VV)
! 	-$(CXX) -shared -Wl,-soname,$(LIBNAME)gl.so.$(VV) \
  		-o $(LibDir)/$(LIBNAME)gl.so.$(VV) $(LibGLObjs)
  	-(cd $(VLibDir); \
  		-rm -f $(LIBNAME)gl.so; \

Reply to: