[GCC-XML]gccxml and itk

Brad King brad.king at kitware.com
Sun Jul 6 12:52:07 EDT 2003


> I am using the following command to produce the xml file:
>
> bin/gccxml --gccxml-compiler
> g++ --gccxml-cxxflags -ftemplate-depth-50 -D_PTHREADS
> itkDiscreteGaussianImageFilter.h -fxml=out.xml $INCLUDE_FLAGS

VNL and ITK configure several header files.  Make sure you have all the
locations they are placed in your INCLUDE_FLAGS variable.  Try writing a
C++ file that includes the header and get it to compile with a g++ command
line first.  Once that works, then use the same command line flags for
gccxml.

-Brad




More information about the gccxml mailing list