[vtkusers] Compilation problem with java
Suman Datta
smndtt at yahoo.com
Tue Jun 13 06:41:53 EDT 2000
hi all,
my problem is exactly the same ... not able to
compile vtk on solaris ... somebody please advise how
to solve this problem ...
regards,
suman datta.
--- Olivier Coulon <o.coulon at cs.ucl.ac.uk> wrote:
> Dear vtk users,
>
> I'm trying to compile vtk3.1 on Solaris2.7 using the
> --with-java option
> and I get an error as soon as the compilation of the
> java classes
> starts. it seems that the compiler cannot find the
> vtkProp class while
> compiling vtkActor2D, which is weird because the two
> files are in the
> same directory.
> Somebody has an idea what goes wrong ?
>
> - Olivier
>
>
> Here is the messages I get:
>
> rm -f ../java/vtk/vtkObjectFactoryCollection.java;
>
/scratch0/NOT_BACKED_UP/ucacdxa/TCLTk/vtk31/wrap/vtkParseJava
> ../vtkObjectFactoryCollection.h ./../wrap/hints 1 >
> .../java/vtk/vtkObjectFactoryCollection.java
> Parsed func New
> Parsed func AddItem
> Parsed func GetNextItem
> Parsed func vtkObjectFactoryCollection
> Parsed func vtkObjectFactoryCollection
> Parsed func vtkObjectFactoryCollection
> Converted operator
> Parsed func AddItem
> /opt/ucl/bin/javac -sourcepath
> /scratch0/NOT_BACKED_UP/ucacdxa/TCLTk/vtk31/java/vtk
> -d
> /scratch0/NOT_BACKED_UP/ucacdxa/TCLTk/VTKJavaClasses
> .../java/vtk/vtkActor2D.java
> .../java/vtk/vtkActor2D.java:7: Superclass
> vtk.vtkProp of class
> vtk.vtkActor2D not found.
> public class vtkActor2D extends vtkProp
> ^
> 1 error
> make[1]: *** [../java/vtk/vtkActor2D.class] Error 1
> make[1]: Leaving directory
> `/scratch0/NOT_BACKED_UP/ucacdxa/TCLTk/vtk31/common'
> make: *** [build_common] Error 2
>
>
> > begin:vcard
> n:Coulon;Olivier
> tel;fax:+44 (0)20 7387 1387
> tel;work:+44 (0)20 7679 3702
> x-mozilla-html:TRUE
> url:http://www.cs.ucl.ac.uk/staff/O.Coulon
> org:University College London;Computer Sciences
> adr:;;Gower Street;London;;WC1E 6BT;United-Kingdom
> version:2.1
> email;internet:O.Coulon at cs.ucl.ac.uk
> title:PhD
> x-mozilla-cpt:;27200
> fn:Olivier Coulon
> end:vcard
>
__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com
More information about the vtkusers
mailing list