[vtkusers] Eclipse and VTK
Bartlomiej Wilkowski
wilku_83 at o2.pl
Wed Feb 14 13:57:38 EST 2007
Hello!
First of all, for sure there is no problem that it is vtk.zip file instead
of *jar file. I am currently working with VTK in Eclipse and I do the same
using vtk.zip file. The problem must be the same I had in the past:
Probably, during VTK compilation, not all java classes were compiled. It
results that ,Marie, you dont have the vtkWindow.class file in the vtk
package. I am almost sure that your package lacks also other *.class files.
In my case, I had more less 50% of java classes compiled ONLY after my
build. I explained what to do to get the *.class files in my howto webpage.
You must create a new empty project in Eclipse, put the directory vtk
(unzipped vtk.zip) in the project, and compile it. After Eclipse produces
all the vtk classes, you must copy it to the previous vtk folder and zip it
once again.
I had the same problems and that operations worked.
Good luck Marie!
Bartek
On 2/14/07, Bernard Giroux <giroux at geo.polymtl.ca> wrote:
>
> Marie Bonhoure a écrit :
> > Dear Bartek & Bernard,
> >
> >
> > I've attached a snapshot of my screen that will help you to understand
> > my problem.
> > Bartek, I've created my vtk.jar thanks to your precious advice.
> > Bernard, I'm going to check this "LD_LIBRARY_PATH" variable ?
> > Many thanks for your help.
>
> Marie,
>
> You gave vtk.zip instead of vtk.jar to your build path...
>
> >
> > Regards,
> >
> > Marie Bonhoure
> > Ingénieur biomédical
> > Service de Neurochirurgie
> > HIA du Val de Grace
> > Tél bureau: 00 33 (0)1 40 51 4355
> > Tél secrétariat: 00 33 (0)1 40 51 4306
> > Fax: 00 33 (0)1 40 51 4332
> >
> >
> >
> >
> >
> >> From: "Bartlomiej Wilkowski" <wilkowskib at gmail.com>
> >> To: "Bernard Giroux" <giroux at geo.polymtl.ca>
> >> CC: "Marie Bonhoure" <mariebonhoure at hotmail.com>,
> >> vtkusers at public.kitware.com
> >> Subject: Re: [vtkusers] Eclipse and VTK
> >> Date: Wed, 14 Feb 2007 15:10:46 +0000
> >>
> >> could you send the tracktrace?what OS are you using? it will be easier
> to
> >> recognize the problem. Try also to read the last part of my HOWTO
> wabpage
> >> about installing VTK for Java on Windows with Eclipse :
> >> http://www.spinet.pl/~wilku/vtk-howto/
> >>
> >> Maybe it will help but in this case probably no.
> >>
> >> bartek
> >>
> >> On 2/14/07, Bernard Giroux <giroux at geo.polymtl.ca> wrote:
> >>>
> >>> Marie Bonhoure a écrit :
> >>> > Hi,
> >>> >
> >>> > I'm a "vtk beginner" and I'm trying to use vtk with java using
> >>> Eclipse.
> >>> > I've created my vtk.jar library and I've added the path in Eclipse
> >>> > properties.
> >>> > I've created a new project and a new java class and whenever I use
> an
> >>> > inherited method from a superclass, this method is not recognized
> >>> > because the path is said to be incomplete(??!!).
> >>> > Any idea ??
> >>> > Thanks in advance,
> >>> >
> >>> > Marie
> >>> >
> >>>
> >>> Hi Marie,
> >>>
> >>> I'm not sure a really understand your problem. Does it occur as you
> >>> type in the editor or at run time? I use VTK in Eclipse/Java without
> >>> problems in OS X and linux. Did you import your superclass? Did you
> >>> define the LD_LIBRARY_PATH (DYLD_LIBRRY_PATH in OS X) for running your
> >>> application?
> >>>
> >>> >
> >>> >
> >>> >
> >>> >
> >>> >
> >>> >> From: Goodwin Lawlor < goodwin.lawlor at ucd.ie>
> >>> >> To: vtkusers at public.kitware.com
> >>> >> Subject: [vtkusers] Re: vtkTextActors very fuzzy with CVS version
> >>> >> Date: Thu, 08 Feb 2007 14:03:36 +0000
> >>> >>
> >>> >> Dean,
> >>> >>
> >>> >> Do you think it would be worth/possible to change vtkAxesActor to
> use
> >>> >> the vtkTextMapper/vtkActor2D combination instead of vtkTextActor.
> >>> >>
> >>> >> Goodwin
> >>> >>
> >>> >>
> >>> >> Dean Inglis wrote:
> >>> >>> Hi Mark,
> >>> >>>
> >>> >>> I have the same problem (Borland
> >>> >>> builds running on Win2k, WinXP running NVIDIA
> >>> >>> cards). I think this started happening with the switch to using
> >>> >>> vtkImageMapper instead of vtkTextMapper within vkTextActor (.h
> >>> >>> revision 1.8, .cxx rev 1.23).
> >>> >>> A workaround is to use a vtkActor2D/vtkTextMapper pair,
> >>> >>> but this cannot be done for certain vtk classes
> >>> >>> that maintain a vkTextActor ivar (e.g., vtkAxesActor).
> >>> >>> I don't know the nuts & bolts of vtk text actors/mappers,
> >>> >>> so can't offer any insight on how to fix this.
> >>> >>>
> >>> >>> Dean
> >>> >>
> >>> >> _______________________________________________
> >>> >> This is the private VTK discussion list. Please keep messages
> >>> >> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> >>> >> Follow this link to subscribe/unsubscribe:
> >>> >> http://www.vtk.org/mailman/listinfo/vtkusers
> >>> >
> >>> > _________________________________________________________________
> >>> > Ten : Messenger en illimité sur votre mobile !
> >>> > http://mobile.live.fr/messenger/ten/
> >>> >
> >>> > _______________________________________________
> >>> > This is the private VTK discussion list. Please keep messages
> >>> on-topic.
> >>> > Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> >>> > Follow this link to subscribe/unsubscribe:
> >>> > http://www.vtk.org/mailman/listinfo/vtkusers
> >>> >
> >>>
> >>>
> >>> --
> >>> Bernard Giroux, ing., Ph.D.
> >>> Associé de recherche
> >>>
> >>> http://geo.polymtl.ca/~giroux
> >>>
> >>> _______________________________________________
> >>> This is the private VTK discussion list.
> >>> Please keep messages on-topic. Check the FAQ at:
> >>> http://www.vtk.org/Wiki/VTK_FAQ
> >>> Follow this link to subscribe/unsubscribe:
> >>> http://www.vtk.org/mailman/listinfo/vtkusers
> >>>
> >>>
> >>>
> >
> > _________________________________________________________________
> > Gagnez des écrans plats avec Live.com http://www.image-addict.fr/
> >
> > ------------------------------------------------------------------------
> >
>
>
> --
> Bernard Giroux, ing., Ph.D.
> Associé de recherche
>
> http://geo.polymtl.ca/~giroux
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070214/d21a836d/attachment.htm>
More information about the vtkusers
mailing list