[vtkusers] Creating the local directory vtkMy

Sebastien BARRE sebastien.barre at kitware.com
Tue Jan 8 08:14:43 EST 2002


At 1/8/02 07:24 PM, David Netherway wrote:

>I have had another go, this time creating dlls. This time I managed to start
>vtk.exe and have it return 4.0 to the coomand "package require vtkmycommon".

This will only load the 'Common' part of vtkMy, just as 'package require 
vtkcommon' will load the 'Common' part of VTK. Thus, you will only be able 
to create the class belonging to Common/ (here, vtkBar for vtkMy). This is 
not a bug, but a feature :), just in case you want to run a specific part 
of your packages only.

Most of the time, the way to go is exactly the same as VTK, i.e. to load 
VTK you would issue 'package require vtk', thus here you just have to type 
the following to load vtkMy:

   package require vtkmy

>So I guess I am most of the way there.

Definitely.

>I will review what I have done
>tomorrow. The problem I had was probably related to environmental variables
>not pointing to the correct directories.

Since you are able to load vtkmycommon, then you are all set, problem solved :)

Hope this helps


--
Sebastien Barre




More information about the vtkusers mailing list