No subject


Fri Oct 24 12:25:09 EDT 2014


It means that whenever I upgrade ITK, those Auxilliary classes
may well change in the ITK distribution and I will have to
remember to copy them somewhere.  To  do this properly, I suppose
they should be distributed separately in a separate
'Auxilliary' package, with its own CMakeLists.txt file, but I am sure that
is not very high on the project's priorities.

More interestingly, the following is probably a bug...
What I did was rebuild ITK telling it use the INSTALLED VTK
but not to build any examples or tests.

Now, when I came to build my application, the build command was

% g++-3.1.1 -Wno-deprecated
-I/nfs/mid/NKILLEEN/medim/source/code/apps/metaView
-I/usr/local/include/InsightToolkit
-I/usr/local/include/InsightToolkit/Numerics/vxl
-I/usr/local/include/InsightToolkit/Numerics/vxl/vcl
-I/usr/local/include/InsightToolkit/Algorithms
-I/usr/local/include/InsightToolkit/BasicFilters
-I/usr/local/include/InsightToolkit/Common
-I/usr/local/include/InsightToolkit/IO
-I/usr/local/include/InsightToolkit/Numerics/FEM
-I/usr/local/include/InsightToolkit/Numerics
-I/usr/local/include/InsightToolkit/Numerics/Statistics
-I/usr/local/include/InsightToolkit/SpatialObject
-I/usr/local/include/InsightToolkit/Utilities/GlutMaster
-I/usr/local/include/InsightToolkit/Utilities/MetaIO
-I/usr/local/include/InsightToolkit/Utilities/png
-I/usr/local/include/InsightToolkit/Utilities/zlib
-I/usr/local/include/InsightToolkit/Auxiliary/FltkImageViewer
-I/usr/local/include/InsightToolkit/Auxiliary/VtkFltk
-I/usr/local/include/InsightToolkit/Auxiliary/vtk
-I/usr/local/include/vtk
-I/usr/openwin/include -c
/nfs/mid/NKILLEEN/medim/source/code/apps/metaView/MetaImageViewer.cxx -o
MetaImageViewer.o


you can see that it has specified the include directory

-I/usr/local/include/InsightToolkit/Auxiliary/vtk


amongst others.  The way I have specified the INCLUDE directories
in my CMakeLists.txt file is just via

INCLUDE_DIRECTORIES(${ITK_INCLUDE_DIRS})


so the ITK configuration process has itself thought that these
Auxilliary files should land up in the ITK install tree.

So I suggest that

a) The README in the Auxilliary directory describes how you intend these
files should be used (the present one does not)

b) the above problem should be attended to, because in the absence
of a) it makes you think the Auxilliary files should have been
installed in the tree !


cheers
Neil








More information about the Insight-users mailing list