[Insight-developers] SNAP application link failure

Kent Williams norman-k-williams at uiowa.edu
22 Jan 2004 13:26:10 -0600


There seems to be a collision in linking the SNAP sample application,
whereby it tries to pull in the PNG code from both VTK's libvtkpng.a and
ITK's libitkpng.a.

Apparently both versions of png.o get loaded at link, causing multiply
defined symbol errors with GCC3 on Linux.

I don't use this software, but I do try and compile all the applications
once a week or so ;-)