[vtkusers] Adding A New Class
Jesse Neri
neri at hobbes.nrl.navy.mil
Fri Jun 28 15:47:34 EDT 2002
There a couple of gotchas in the msdev version.
1. The tcl wrapper for c++ routine is generated automatically,
but the init routine does not get added to the project.
It is vtkLocalTCLInit.cxx, and needs to be added to
the vtkLocalTCL project.
2. The vtkLocal and vtkLocalTCL dll files need to be moved to the vtk40/bin
directory
3. The vtklocal directory needs to added at the location
of your TCLLIBPATH. There is also a MakePackages.tcl
script at the TCLLIBPATH that needs to be updated with
the vtklocal (clone the last line of the script before the exit).
Then run the script.
After all that, the 'package require vtklocal' should work.
--
Jess Neri neri at hobbes.nrl.navy.mil (202) 404-4365
Pulsed Power Physics Branch, Plasma Physics Division
Naval Research Laboratory, Washington DC 20375
> -----Original Message-----
> From: vtkusers-admin at public.kitware.com
> [mailto:vtkusers-admin at public.kitware.com]On Behalf Of Andy Cedilnik
> Sent: Friday, June 28, 2002 2:37 PM
> To: fernando hierro
> Cc: vtk-users
> Subject: Re: [vtkusers] Adding A New Class
>
>
> You might want to find file CMakeLists.txt in
> /VTK/Wrapping/Tcl/CMakeLists.txt and add your library under
> LINK_LIBRARIES.
>
> Andy
>
> On Fri, 2002-06-28 at 13:41, fernando hierro wrote:
> >
> > i mean the new class isn´t found when i run my *.tcl file,
> then it isn´t
> > compiled...
> > thank you so much andy.
>
>
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list