tkMainWindowList hiding

Daniel G. Downey danmotif at mrco2.carleton.ca
Thu Jun 17 12:53:01 EDT 1999


Thanks for all your help.  I have vtk working now.

I have downloaded tcl/tk 8.0.5 and recompiled the universe.  

tcl/tk8.1.1 appears to not be compatible with the latest version of vtk 2.3

Also vtk 2.2 does not compile on Linux 6.0.  

Dan

> From owner-vtkusers at gsao.med.ge.com Thu Jun 17 10:31 EDT 1999
> X-Authentication-Warning: gsao.med.ge.com: mjordomo set sender to owner-vtkusers at gsao.med.ge.com using -f
> Date: Thu, 17 Jun 1999 10:02:31 -0400
> From: danmotif at mrco2.carleton.ca (Daniel G. Downey)
> To: danmotif at mrco2.carleton.ca, thorsten.dowe at UniBw-Muenchen.de
> Subject: Re: tkMainWindowList  hiding
> Cc: vtkusers at gsao.med.ge.com
> 
> 
> > From owner-vtkusers at gsao.med.ge.com Thu Jun 17 03:11 EDT 1999
> > X-Authentication-Warning: gsao.med.ge.com: mjordomo set sender to owner-vtkusers at gsao.med.ge.com using -f
> > Date: Thu, 17 Jun 1999 08:57:02 +0200
> > From: Thorsten Dowe <thorsten.dowe at UniBw-Muenchen.de>
> > X-Accept-Language: en
> > MIME-Version: 1.0
> > To: "Daniel G. Downey" <danmotif at mrco2.carleton.ca>
> > CC: vtkusers at gsao.med.ge.com
> > Subject: Re: tkMainWindowList  hiding
> > X-MIME-Autoconverted: from quoted-printable to 8bit by gsao.gso.med.ge.com id BAA18522
> > Content-Transfer-Encoding: quoted-printable
> > X-MIME-Autoconverted: from 8bit to quoted-printable by bertrand.ccs.carleton.ca id DAA09668
> > Content-Transfer-Encoding: quoted-printable
> > 
> > You have to include the tk-library. Oh, you do! Sorry, didn=B4t notice. T=
> > hen there=B4s something wrong with the symbols or name-mangling. On my sy=
> > stem tkMainWindowList IS in libtk8.0. Maybe you could have a look if it=B4=
> > s still there in your lib. Then did you compile tk yourself or installed =
> > a package? Maybe you should try to compile it yourself. Hm, strange. It l=
> > ooks like you DID compile it! Anyway, look for the symbol first in libtk8=
> > .1 (isn=B4t it 8.1.1?) with grep -c tkMainWindowList libtk8.1.so (or .a).
> > 
> > Thorsten
> 
> I do NOT find tkMainWindowList in libtk8.1.a    In fact if I grep the tk source
> directorys for tkMainWindowList  the only refernce I find is in tkInt.h
> 
> cd tk8.1.1/generic
> grep tkMainWindowList *
> tkInt.h:extern TkMainInfo		*tkMainWindowList;
> 
> It is referenced in vtk here:
> 
> cd ../../vtk/graphics
> grep tkMainWindowList *
> vtkXRenderWindowTclInteractor.cxx:extern TkMainInfo *tkMainWindowList;
> vtkXRenderWindowTclInteractor.cxx:  ren->SetDisplayId(Tk_Display(tkMainWindowList->winPtr));
> 
> Any more ideas?
> 
> Thanks,
> Dan
> 
> > 
> > "Daniel G. Downey" wrote:
> > 
> > > Hi,
> > >
> > >    I am compiling vtk(latest version) on an Intel pentium 3 running Red=
> > hat 6.0
> > > with tcl/tk version 8.1.1 and Mesa3.0  using the gcc compiler.
> > >
> > > Everything compiles fine up to the final link when I get a message
> > > that it can't find tkMainWindowList referenced in vtkXRenderWindowTclIn=
> > teractor.o
> > >
> > > I have the same problem on an Intel running solaris.  Someone must have=
> >  run into
> > > this before.  Would someone be kind enough to pass on the solution?
> > >
> > > Thanks,
> > > Dan Downey
> > >
> > > ----
> > >  Daniel Downey   Email:  downey at mrco2.carleton.ca
> > >  Dept. of Mechanical and Aerospace Engineering
> > >  Carleton University, 1125 Colonel By Drive,
> > >  Ottawa, Ontario, Canada, K1S 5B6
> > >  tel:(613) 520-2600 ext 5649   fax:(613) 520-5715
> > >
> > > g++ -o vtk tkAppInit.o \
> > > -L. -O2 -D__NO_MATH_INLINES  -D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H -DHAV=
> > E_UNISTD_H -I. -I./../common -I/files2/users/downey/PublicDomain/tk8.1.1/=
> > generic -I/files2/users/downey/PublicDomain/tcl8.1.1/generic -I/files2/us=
> > ers/downey/PublicDomain/Mesa-3.0/include -DVTK_USE_OGLR   -I/usr/X11R6/in=
> > clude -I./../graphics -DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING=
> >  -I./../patented -DVTK_USE_PATENTED -I./../contrib -DVTK_USE_CONTRIB  -rd=
> > ynamic  -L../../tk8.1.1/unix -L../../tcl8.1.1/unix  -L/files2/users/downe=
> > y/PublicDomain/vtk/contrib -lVTKContribTcl -lVTKContrib  -L/files2/users/=
> > downey/PublicDomain/vtk/patented -lVTKPatentedTcl -lVTKPatented -L/files2=
> > /users/downey/PublicDomain/vtk/imaging -lVTKImagingTcl -lVTKImaging -L/fi=
> > les2/users/downey/PublicDomain/vtk/graphics -lVTKGraphicsTcl -lVTKGraphic=
> > s -L../common -lVTKCommonTcl -lVTKCommon -L/usr/X11R6/lib /files2/users/d=
> > owney/PublicDomain/Mesa-3.0/lib/libMesaGL.a -ltcl8.1 -ltk8.1 -ldl  \
> > > -L/usr/X11R6/lib -lXext -lXt -lSM -lICE -lX11  -lm
> > > /files2/users/downey/PublicDomain/vtk/graphics/libVTKGraphicsTcl.a(vtkX=
> > RenderWindowTclInteractor.o): In function `vtkXRenderWindowTclInteractor:=
> > :Initialize(void)':
> > > vtkXRenderWindowTclInteractor.o(.text+0x2ac): undefined reference to `t=
> > kMainWindowList'
> > > collect2: ld returned 1 exit status
> > > make: *** [vtk] Error 1
> > >
> > > -----------------------------------------------------------------------=
> > ------
> > > This is the private VTK discussion list.  Please keep messages on-topic.
> > > Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
> > > To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> > > <majordomo at gsao.med.ge.com>.  For help, send message body containing
> > > "info vtkusers" to the same address.     Live long and prosper.
> > > -----------------------------------------------------------------------=
> > ------
> > 
> > 
> > 
> > -------------------------------------------------------------------------=
> > ----
> > This is the private VTK discussion list.  Please keep messages on-topic.
> > Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
> > To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> > <majordomo at gsao.med.ge.com>.  For help, send message body containing
> > "info vtkusers" to the same address.     Live long and prosper.
> > -------------------------------------------------------------------------=
> > ----
> > 
> > 
> 
> 
> -----------------------------------------------------------------------------
> This is the private VTK discussion list.  Please keep messages on-topic.
> Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
> To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> <majordomo at gsao.med.ge.com>.  For help, send message body containing
> "info vtkusers" to the same address.     Live long and prosper.
> -----------------------------------------------------------------------------
> 
> 


-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list