[vtkusers] Re: Compilation problem with java
David D. Marshall
gte552m at prism.gatech.edu
Tue Jun 13 10:09:39 EDT 2000
Manually run make all in all of the sub-directories (i.e. common, graphics, contrib, etc.) that you
configured in. It will die on one of the first java sources, but they all should be there.
Daniel ALEXANDER wrote:
> We've tried doing this compilation by hand but can't get that to work either. The problem is that not
> all of the .java files are generated before compilation begins - we can't compile the java source files
> in directory common because they depend on ones which will be in directory graphics.
>
> How do we extract the .java files into directories other than common before starting compilation?
>
> d
>
> > But a fresh install has no java classes compiled :(. Once you have the compiled classes then you can
> > use the Makefile and javac will find them using the CLASSPATH environment variable, but its the
> > chicken and egg thing, the Makefile cannot compile vtkActor2D because it can't find vtkProp (not
> > compiled yet), but it can't compile vtkProp because the Makefile failed on vtkActor2D. The reason
> > that this doesn't receive more attention is probably that once you have the classes compiled, you'll
> > never hit this problem again.
> >
> > I agree that compiling them by hand is a pain in the ass, but if you tell it to compile
> > {vtk_home}/java/vtk/*.java once all of the java sources have been generated, it will compile all of
> > the java sources and javac will resolve the dependencies between all of the source files passed and
> > any compiled classes in the CLASSPATH.
>
--
David D. Marshall
ARTLab System Administrator/GRA
Georgia Institute of Technology, Atlanta Georgia, 30332
http://www.ae.gatech.edu/research/artlab/artl/artlab.html
mailto:gte552m at prism.gatech.edu
think: Why anonymity is good http://www.cato.org/pubs/briefs/bp-054es.html
More information about the vtkusers
mailing list