[slicer-users] error when compile slicer under linux

zhangzhijun zjzhang at ee.cuhk.edu.hk
Tue Dec 11 11:46:10 EST 2001


I compile the slicer cvs code and there still this kind of error:

c++  -g -O2 -fPIC   -I.  -I. -I./../graphics -DVTK_USE_GRAPHICS -I./../imagi
ng -DVTK_USE_IMAGING -I./../patented -DVTK_USE_PATENTED
-I./../contrib -DVTK_USE_CONTRIB -I./../local -DVTK_USE_LOCAL  -I/usr/X11R6/
include  -I./../common -I../common -I/home/zjzhang/tk8.3.4/generic -I/home/z
jzhang/tcl8.3.4/generic   -c tcl/LocalInit.cxx -o tcl/LocalInit.o
c++  -g -O2 -fPIC   -I.  -I. -I./../graphics -DVTK_USE_GRAPHICS -I./../imagi
ng -DVTK_USE_IMAGING -I./../patented -DVTK_USE_PATENTED
-I./../contrib -DVTK_USE_CONTRIB -I./../local -DVTK_USE_LOCAL  -I/usr/X11R6/
include  -I./../common -I../common -I/home/zjzhang/tk8.3.4/generic -I/home/z
jzhang/tcl8.3.4/generic   -c tcl/vtkImageAccumulateDiscreteTcl.cxx -o
tcl/vtkImageAccumulateDiscreteTcl.o
tcl/vtkImageAccumulateDiscreteTcl.cxx:1: syntax error before `found'
make[1]: *** [tcl/vtkImageAccumulateDiscreteTcl.o] Error 1
make[1]: Leaving directory `/home/zjzhang/vtk3.2/local'
make: *** [build_local] Error 2

I just do as the slicer webpage told , and copy all of the files under
slicer\vtksrc to
the local directory, and make with
./configure --enable-debug --with-imaging --with-graphics --with-contrib --w
ith-patented --with-local
--with-opengl --with-tcl --with-tkwidget --with-shared
I dont' know whether it's ok to configure like this?


regards,
zhang zhijun


----- Original Message -----
From: "Steve Pieper" <pieper at bwh.harvard.edu>
To: "Lauren O'Donnell" <odonnell at ai.mit.edu>
Cc: "zhangzhijun" <zjzhang at ee.cuhk.edu.hk>
Sent: Wednesday, December 12, 2001 12:32 AM
Subject: Re: [slicer-devel] Re: [slicer-users] automatic registration


>
> Oops, good save Lauren, Thanks!
>
> On Tue, 11 Dec 2001, Lauren O'Donnell wrote:
>
> > Actually slicer-1.2.2 goes with vtk3.1, cvs slicer with vtk3.2
> >
> > So the slicer on the ftp site still works with 3.1
> >
> > Lauren
> >
> > On Tue, 11 Dec 2001, Steve Pieper wrote:
> >
> >
> >
> > Is this a run-time conflict or compile-time?  If you can make your
> > questions more specific, you are more likely to get a useful answer.
> > I'll cc this to slicer-devel in case it sounds familiar to anyone.
> >
> > But, yes, slicer-1.2.2 and vtk3.2 should be compatible.
> >
> > You could try getting the latest version from CVS - I just compiled that
> > on Linux yesterday and it compiled fine.[1]
> >
> > >From the slicer.org developer section:
> >
> > > For anonymous CVS access, set the environment variable CVSROOT to
> >
> > > :pserver:anonymous at cvs.spl.harvard.edu:/projects/cvs/slicer
> >
> > > The password for anonymous logins is bwhspl.
> >
> > Good luck,
> > Steve
> >
> > [1] one note for linux users - I was running with the latest nVidia
opengl
> > drivers on a TnT2 card and Slicer did cause the X server to crash -- I
> > think this is a vtk issue, since some of the vtk demo programs were
black.
> > The ones that did run were nice and fast.  Only slicer caused an X
server
> > crash.
> >
> >
> > On Tue, 11 Dec 2001, zhangzhijun wrote:
> >
> > > Dear Mr Steve:
> > >          I have put the slicer source to the local directory and make
it
> > > and there seems some conflict with vtkCommand::StartEvent and
> > > vtkCommand::EndEvent function, I use the official released 3.2 version
> > > vtk and the slicer-1.2.2, I don' know whether they are compatiable
> > > in source?
> > >
> > >
> > > regards,
> > > zhang zhijun
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Steve Pieper" <pieper at bwh.harvard.edu>
> > > To: "zhangzhijun" <zjzhang at ee.cuhk.edu.hk>
> > > Cc: "Attila Tanacs" <tanacs at cs.jhu.edu>;
<slicer-users at bwh.harvard.edu>
> > > Sent: Tuesday, December 11, 2001 9:25 PM
> > > Subject: Re: [slicer-devel] Re: [slicer-users] automatic registration
> > >
> > >
> > > >
> > > >
> > > > Hi -
> > > >
> > > > Can you be more specific on what you are asking?  If its "where is
the tcl
> > > > code" the answer is in program/tcl-main, program/tcl-shared, and
> > > > program/tcl-modules.  If its "how do I learn tcl" I'd suggest
starting at
> > > > tcl.activestate.com.  If its "what editor should I use" I'd vote for
> > > > vim! ...but maybe you mean something else?
> > > >
> > > > -Steve
> > > >
> > > >
> > > >
> > > > On Thu, 6 Dec 2001, zhangzhijun wrote:
> > > >
> > > > > Dear All::
> > > > >         I want to read the code of 3D slicer tcl files, can you
give me
> > > some
> > > > > advices on
> > > > > how to begin to do this?
> > > > >
> > > > >
> > > > > regards,
> > > > > zhang zhijun
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > slicer-devel mailing list
> > > > > slicer-devel at bwh.harvard.edu
> > > > > http://mail.bwh.harvard.edu/mailman/listinfo/slicer-devel
> > > > >
> > > >
> > > >
> > >
> > >
> >
> > _______________________________________________
> > slicer-devel mailing list
> > slicer-devel at bwh.harvard.edu
> > http://mail.bwh.harvard.edu/mailman/listinfo/slicer-devel
> >
> >
>
>




More information about the slicer-users mailing list