[Insight-developers] pngDllConfig.h and zlibDllConfig.h not found in an SGI build?

Kent Williams kent@mail.psychiatry.uiowa.edu
Fri, 21 Feb 2003 15:50:56 -0600


OK, I was confused for a second and missed the fact that they're generate=
d in=20
the out-of-source build directory.

But there really is a problem on this particular SGI 6.5 machine -- for s=
ome=20
reason it's not adding -IX/Utilities/zlib to the makefile in Utilities/pn=
g,=20
where 'X' is the out of source build path.

I did verify that this problem doesn't occur on Linux.

On Friday 21 February 2003 02:42 pm, Brad King wrote:
> > This came up when trying to build ITK from the current CVS tree:
> > Anything that include Utilities/png/pngconf.h or Utilities/zlib/zconf=
=2Eh
> > won't compile, because they include pngDllConfig.h and zlibDllConfig.=
h
> > respectively.
> >
> > They look as though they're supposed to be created by Cmake
> > CONFIGURE_FILE clauses, but they don't get made in the normal course =
of
> > events.
>
> The file should be generated, and is definately generated in a fresh
> build.  I don't know why just running "make" didn't generate it, unless
> you didn't run it from the top.  Run "make rebuild_cache" from the top
> level, and the problem should go away.
>
> > This is Irix 6.5, using SGI compilers.  I don't believe autoconf is
> > installed on this machine either.
>
> The CONFIGURE_FILE command has nothing to do with autoconf, so that
> doesn't matter.
>
> -Brad