[Insight-users] Multiple symbols in linking with itk::watershed:: namespace on Win2K-VC++60

Nils Hanssen hanssen@caesar.de
Fri, 10 May 2002 09:50:29 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_000B_01C1F808.1EBA30B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi,

I am working on a project that utilizes the itk::watershed filter (and
others).
When linking, many multiple symbols (LNK4006) are reported. All these
symbols are defined in the following namespaces:

itk::watershed::EquivalencyTable::
itk::watershed::OneWayEquivalencyTable::
itk::WatershedMiniPipelineProgressCommand::

It is reported that these symbols are first defined in one of my own
classes, which contains some typedefs for the templated itk filters and
smartpointers to the filters themselves. Each of the second definitions
seems to be in my own code as well.

The used libraries in the project are itk, vtk and qt. The C++
runtime-library is "MULTITHREADED DLL DEBUG".
Since I am using other itk filters in a similar way in my project (for
instance the fast-marching image filter), I do not understand why these
multiple symbols only within the watershed::-namespace are reported. Does
anyone has similar problems or an idea?

Thanks very much in advance for any hints or suggestions!

Regards,
Nils

-------------------------
Nils Hanssen
Surgical Systems Laboratory
research center c ae sa r
Friedensplatz 16
53111 Bonn
fon: +49-228-9656-249
fax: +49-228-9656-111
http://www.caesar.de/ssl





------=_NextPart_000_000B_01C1F808.1EBA30B0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D250142008-07052002><FONT face=3DVerdana=20
size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D250142008-07052002><FONT face=3DVerdana=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D250142008-07052002><FONT face=3DVerdana size=3D2>I am =
working on a=20
project that utilizes the itk::watershed filter (and others).=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D250142008-07052002><FONT face=3DVerdana size=3D2>When =
linking, many=20
multiple symbols (LNK4006) are reported. All these symbols are defined =
in the=20
following namespaces:</FONT></SPAN></DIV>
<DIV><SPAN class=3D250142008-07052002><SPAN =
class=3D250142008-07052002><FONT=20
face=3DArial size=3D2></FONT></SPAN></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D250142008-07052002><FONT face=3DCourier=20
size=3D2>itk::watershed::EquivalencyTable::</FONT></SPAN></DIV>
<DIV><SPAN class=3D250142008-07052002><SPAN =
class=3D250142008-07052002><SPAN=20
class=3D250142008-07052002><FONT face=3DCourier=20
size=3D2>itk::watershed::OneWayEquivalencyTable::</FONT></SPAN></SPAN></S=
PAN></DIV>
<DIV><SPAN class=3D250142008-07052002><FONT face=3DCourier=20
size=3D2>itk::WatershedMiniPipelineProgressCommand::</FONT></SPAN></DIV>
<DIV><SPAN class=3D250142008-07052002><FONT face=3DCourier=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D250142008-07052002><FONT face=3DVerdana size=3D2>It =
is reported=20
that these symbols are first defined in one of my own classes, which =
contains=20
some typedefs for the templated itk filters and smartpointers to the =
filters=20
themselves. </FONT></SPAN><SPAN class=3D250142008-07052002><FONT =
face=3DVerdana=20
size=3D2>Each of the second definitions seems to be in my own code as =
well.=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D250142008-07052002><FONT face=3DCourier=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D250142008-07052002><FONT face=3DVerdana size=3D2>The =
used libraries=20
in the project are itk, vtk and qt. The C++ runtime-library is =
"MULTITHREADED=20
DLL DEBUG". </FONT></SPAN></DIV>
<DIV><SPAN class=3D250142008-07052002><FONT face=3DVerdana =
size=3D2>Since I am using=20
other itk filters in&nbsp;a similar way in my project (for instance the=20
fast-marching image filter), I do not understand why these multiple =
symbols only=20
within the watershed::-namespace are reported. Does anyone has similar =
problems=20
or an idea?</FONT></SPAN></DIV>
<DIV><SPAN class=3D250142008-07052002><FONT=20
face=3DCourier></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D250142008-07052002><FONT face=3DVerdana =
size=3D2>Thanks very much=20
in advance for any hints&nbsp;or suggestions!</FONT></SPAN></DIV>
<DIV><SPAN class=3D250142008-07052002><FONT face=3DVerdana=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D250142008-07052002><FONT face=3DVerdana=20
size=3D2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=3D250142008-07052002><FONT face=3DVerdana=20
size=3D2>Nils</FONT></SPAN></DIV>
<DIV><SPAN class=3D250142008-07052002><FONT=20
face=3DCourier></FONT></SPAN>&nbsp;</DIV>
<P><FONT face=3D"Courier New" =
size=3D2>-------------------------</FONT><BR><FONT=20
face=3D"Courier New" size=3D2>Nils Hanssen</FONT><FONT=20
face=3D"Times New Roman"><BR></FONT><FONT face=3D"Courier New" =
size=3D2>Surgical=20
Systems Laboratory</FONT><BR><FONT face=3D"Courier New" =
size=3D2>research center c=20
ae sa r</FONT><FONT face=3D"Times New Roman"><BR></FONT><FONT =
face=3D"Courier New"=20
size=3D2>Friedensplatz 16</FONT><FONT face=3D"Times New =
Roman"><BR></FONT><FONT=20
face=3D"Courier New" size=3D2>53111 Bonn</FONT><FONT=20
face=3D"Times New Roman"><BR></FONT><FONT face=3D"Courier New" =
size=3D2>fon:=20
+49-228-9656-249</FONT><FONT face=3D"Times New Roman"><BR></FONT><FONT=20
face=3D"Courier New" size=3D2>fax: +49-228-9656-111</FONT><FONT=20
face=3D"Times New Roman"><BR><U></U></FONT><U><FONT face=3D"Courier New" =

color=3D#0000ff size=3D2><A href=3D"http://www.caesar.de/ssl"=20
target=3D_blank>http://www.caesar.de/ssl</A></FONT></U> </P><BR>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_000B_01C1F808.1EBA30B0--