[vtkusers] URGENT: Cannot create JAVA wrappers from CVS code.

shrinivas kulkarni kshrinivas at operamail.com
Thu Jun 3 05:29:06 EDT 2004


Hi Shyam,

Thanks a lot for your interest in my problem.

> 1. Operating System
> 2. Error message that is thrown on you while building

Both of these things have been already mentioned in my earlier post. Still I am giving them again for your reference. I am also attaching Cmakecache.txt(I think, this may be most useful and detailed reference)Let me know if you need any more information:

> > > --------------------Configuration: VTKBuildAll - Win32 
> > > Debug-------------------- Building Custom Rule 
> > > D:\Project-VTK\java\vtk\vtkBuildAllDriver.class.rule
> > > 
> > D:\Project-VTK\java\vtk\..\vtk\vtkVTKJavaCommonDriver.java:11:
> >  cannot resolve symbol
> > > symbol  : class vtkAbstractMapper 
> > > location: class vtk.vtkVTKJavaCommonDriver
> > >     dummy = new vtkAbstractMapper();
> > >                 ^
> > > 
> > D:\Project-VTK\java\vtk\..\vtk\vtkVTKJavaCommonDriver.java:12:
> >  cannot resolve symbol
> > > symbol  : class vtkAbstractTransform 
> > > location: class vtk.vtkVTKJavaCommonDriver
> > >     dummy = new vtkAbstractTransform();
> > >                 ^
> > > 
> > D:\Project-VTK\java\vtk\..\vtk\vtkVTKJavaCommonDriver.java:13:
> >  cannot resolve symbol
> > > symbol  : class vtkActor2D 
> > > location: class vtk.vtkVTKJavaCommonDriver
> > >     dummy = new vtkActor2D();
> > >                 ^
> > > 
> > D:\Project-VTK\java\vtk\..\vtk\vtkVTKJavaCommonDriver.java:14:
> >  cannot resolve symbol
> > > symbol  : class vtkActor2DCollection 
> > > location: class vtk.vtkVTKJavaCommonDriver
> > >     dummy = new vtkActor2DCollection();
> > >                 ^
> > > 
> > D:\Project-VTK\java\vtk\..\vtk\vtkVTKJavaCommonDriver.java:15:
> >  cannot resolve symbol
> > > symbol  : class vtkAlgorithm 
> > > location: class vtk.vtkVTKJavaCommonDriver
> > >     dummy = new vtkAlgorithm();
> > > 
> > > .....
> > > 
> > > And so on ( in all 101 errors ).
> > > 
> > > Can anybody tell me what is wrong here?
> > > why I am getting these errors? 
> > > Where would be java classes would be created after 
> > successful compilation?
> > > AND
> > > Will vtk.jar will be automatically generated as a result of 
> > build process OR we need to follow some procedure to create one.
> > > 
> > > Note that, I am using Vs 6.0, windows XP and JSDK 1.4.0_02

----- Original Message -----
From: "R K Shyam Prakash" <ramakrishna.prakash at quest-global.com>
Date: Thu, 3 Jun 2004 14:56:29 +0530
To: "'shrinivas kulkarni'" <kshrinivas at operamail.com>,<vtkusers at vtk.org>
Subject: RE: [vtkusers] URGENT: Cannot create JAVA wrappers from CVS code.

> Hi Srinivas,
> 			Can you send the complete build setting that you
> used. Also while reporting this kind of problem following details will
> be helpful
> 1. Operating System
> 2. Error message that is thrown on you while building
> 
> --Shyam
> 
> 
> 
> > -----Original Message-----
> > From: vtkusers-bounces at vtk.org 
> > [mailto:vtkusers-bounces at vtk.org] On Behalf Of shrinivas kulkarni
> > Sent: Thursday, June 03, 2004 2:07 PM
> > To: vtkusers at vtk.org
> > Subject: Re: [vtkusers] URGENT: Cannot create JAVA wrappers 
> > from CVS code.
> > 
> > 
> > Hi All,
> > 
> > I am not sure if vtk build is tested for all options 
> > (wrappers) everyday (a.k.a nightly build) OR not. 
> > I have few questions here.
> > 1. To build java wrapper, do we need to do anything extra 
> > than building vtk, with VTK_JAVA_WRAPPER="ON"? 2. Can anybody 
> > atleast tell me if they were successful in building cvs code 
> > with Java wrappers "ON". If yes, then I think there is 
> > problem what I am doing here. If not, then I think, nightly 
> > build test is not proper.(let's take this to improve vtk 
> > build proces further, no other intentions behind this advise. 
> > In fact, I am not sure if I am right person to give such advise.) 
> > 
> > Hope former is true, that is somebody is able to build vtk 
> > with java wrappers "ON".
> > 
> > Any help on this is appreciated.
> > 
> > Thanks and regards,
> > Shrinivas
> > 
> > ----- Original Message -----
> > From: "shrinivas kulkarni" <kshrinivas at operamail.com>
> > Date: Tue, 01 Jun 2004 12:54:15 +0100
> > To: vtkusers at vtk.org
> > Subject: [vtkusers] URGENT: Cannot create JAVA wrappers from CVS code.
> > 
> > > Hi All,
> > > 
> > > After trying hard for last 2 days, I finally decided to post this 
> > > question to mailing list.
> > > 
> > > I wanted to write few programs in JAVA which would in turn uses vtk 
> > > java wrapping. This is what I did in order to achieve it...
> > > 
> > > 1. From VTK CD installed vtk. Included vtk.jar in classpath. When I 
> > > tried to run my JAVA app, it failed to get some functions 
> > from DLL. When I browsed through mailing list, I came to know 
> > that there might be version conflict between JAR file I am 
> > using and vtk DLLs. ( Make note that, this is true, though I 
> > installed VTK from CD and made sure that it referes to right DLLs.)
> > > 
> > > 2. In order to resolve this issue, I got the latest from CVS on 
> > > 02-JUN-2004 and ran CMake to create VS 6.0 project files. I 
> > had turned 
> > > on the following options:
> > > 
> > >     VTK_JAVA_WRAPPER
> > >     BUILD_SHARED_LIB
> > >     VTK_USE_ANSI_STDLIB
> > >     VTK_HYBRID
> > > 
> > > and also made sure that all the parameters refering to JVM etc are 
> > > correct. When I tried to build I got following error from VS 6.0
> > > 
> > > --------------------Configuration: VTKBuildAll - Win32 
> > > Debug-------------------- Building Custom Rule 
> > > D:\Project-VTK\java\vtk\vtkBuildAllDriver.class.rule
> > > 
> > D:\Project-VTK\java\vtk\..\vtk\vtkVTKJavaCommonDriver.java:11:
> >  cannot resolve symbol
> > > symbol  : class vtkAbstractMapper 
> > > location: class vtk.vtkVTKJavaCommonDriver
> > >     dummy = new vtkAbstractMapper();
> > >                 ^
> > > 
> > D:\Project-VTK\java\vtk\..\vtk\vtkVTKJavaCommonDriver.java:12:
> >  cannot resolve symbol
> > > symbol  : class vtkAbstractTransform 
> > > location: class vtk.vtkVTKJavaCommonDriver
> > >     dummy = new vtkAbstractTransform();
> > >                 ^
> > > 
> > D:\Project-VTK\java\vtk\..\vtk\vtkVTKJavaCommonDriver.java:13:
> >  cannot resolve symbol
> > > symbol  : class vtkActor2D 
> > > location: class vtk.vtkVTKJavaCommonDriver
> > >     dummy = new vtkActor2D();
> > >                 ^
> > > 
> > D:\Project-VTK\java\vtk\..\vtk\vtkVTKJavaCommonDriver.java:14:
> >  cannot resolve symbol
> > > symbol  : class vtkActor2DCollection 
> > > location: class vtk.vtkVTKJavaCommonDriver
> > >     dummy = new vtkActor2DCollection();
> > >                 ^
> > > 
> > D:\Project-VTK\java\vtk\..\vtk\vtkVTKJavaCommonDriver.java:15:
> >  cannot resolve symbol
> > > symbol  : class vtkAlgorithm 
> > > location: class vtk.vtkVTKJavaCommonDriver
> > >     dummy = new vtkAlgorithm();
> > > 
> > > .....
> > > 
> > > And so on ( in all 101 errors ).
> > > 
> > > Can anybody tell me what is wrong here?
> > > why I am getting these errors? 
> > > Where would be java classes would be created after 
> > successful compilation?
> > > AND
> > > Will vtk.jar will be automatically generated as a result of 
> > build process OR we need to follow some procedure to create one.
> > > 
> > > Note that, I am using Vs 6.0, windows XP and JSDK 1.4.0_02
> > > 
> > > Any help appreciated.
> > > 
> > > Thanks and regards,
> > > Shrinivas
> > > 
> > > --
> > > _____________________________________________________________
> > > Web-based SMS services available at http://www.operamail.com.
> > > >From your mailbox to local or overseas cell phones.
> > > 
> > > Powered by Outblaze _______________________________________________
> > > This is the private VTK discussion list. 
> > > Please keep messages on-topic. Check the FAQ at: 
> <http://public.kitware.com/cgi-bin/vtkfaq>
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> 
> -- 
> _____________________________________________________________
> Web-based SMS services available at http://www.operamail.com.
> >From your mailbox to local or overseas cell phones.
> 
> Powered by Outblaze _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at:
> <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-- 
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
>From your mailbox to local or overseas cell phones.

Powered by Outblaze
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeCache.txt
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040603/c48bc06a/attachment.txt>


More information about the vtkusers mailing list