[Insight-users] (no subject)

Julien Hamaide julien.hamaide at tcts.fpms.ac.be
Wed, 21 Jan 2004 10:06:42 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C3E006.4834EEC0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,
 
I'm new to ITK, and I try to make it work with VTK. I've finally figured
out how to connect the two pipelines, but when Iink, I get this problem.
I've already try too much configuration. Now, I'm using Shared Library
configuration for both VTK and ITK.
 
Does anybody as an idea?
 
Thanks
 
msvcprtd.lib(MSVCP70D.dll) : error LNK2005: "public: class
std::basic_ostream<char,struct std::char_traits<char> > & __thiscall
std::basic_ostream<char,struct std::char_traits<char>
>::operator<<(class std::basic_ostream<char,struct
std::char_traits<char> > & (__cdecl*)(class
std::basic_ostream<char,struct std::char_traits<char> > &))"
(??6?$basic_ostream at DU?$char_traits at D at std at  at  at std at  at QAEAAV01 at P6AAAV01 at AAV01
 at  at Z at Z) already defined in VolToMesh.obj
 
msvcprtd.lib(MSVCP70D.dll) : error LNK2005: "public: class
std::basic_ostream<char,struct std::char_traits<char> > & __thiscall
std::basic_ostream<char,struct std::char_traits<char>
>::operator<<(unsigned long)"
(??6?$basic_ostream at DU?$char_traits at D at std at  at  at std at  at QAEAAV01 at K at Z) already
defined in VolToMesh.obj
 
msvcprtd.lib(MSVCP70D.dll) : error LNK2005: "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
std::operator<<(class std::basic_ostream<char,struct
std::char_traits<char> > &,char const *)"
(??6std at  at YAAAV?$basic_ostream at DU?$char_traits at D at std at  at  at 0 at AAV10 at PBD at Z)
already defined in VolToMesh.obj
 
msvcprtd.lib(MSVCP70D.dll) : error LNK2005: "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
std::endl(class std::basic_ostream<char,struct std::char_traits<char> >
&)" (?endl at std at  at YAAAV?$basic_ostream at DU?$char_traits at D at std at  at  at 1 at AAV21 at  at Z)
already defined in VolToMesh.obj
Debug/VolToMesh.exe : fatal error LNK1169: one or more multiply defined
symbols found
 
Julien Hamaide
 
Tcts Lab - Multitel Asbl.
Faculte Polytechnique de Mons 
Parc Initialis - Avenue Nicolas Copernic,1 
7000 - Mons 
Belgium 
http://tcts.fpms.ac.be
 
tel +32 65 37 47 43
email : julien.hamaide at tcts.fpms.ac.be 
 

------=_NextPart_000_0007_01C3E006.4834EEC0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml at 01C3E006.44D71DC0">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
span.StyleCourrierlectronique17
	{mso-style-type:personal-compose;
	mso-style-noshow:yes;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:windowtext;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
 at page Section1
	{size:595.3pt 841.9pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Tableau Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=3DFR link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:35.4pt'>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Hi,<o:p></o:p></span></=
font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span=
></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>I&#8217;m new to ITK, =
and I
try to make it work with VTK. I&#8217;ve finally figured out how to =
connect the
two pipelines, but when <span class=3DSpellE>Iink</span>, I get this =
problem. I&#8217;ve
already try too much configuration. Now, I&#8217;m using Shared Library =
configuration
for both VTK and ITK.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span=
></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Does anybody as an =
idea?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span=
></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Thanks<o:p></o:p></span=
></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span=
></font></p>

<p class=3DMsoNormal><span class=3DSpellE><font size=3D2 =
face=3DArial><span lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>msvc=
prtd.lib</span></font></span><font
size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>(MSVCP70D.dll) : error LNK2005: &quot;public: =
class <span
class=3DSpellE>std::basic_ostream</span>&lt;<span =
class=3DSpellE>char,struct</span>
<span class=3DSpellE>std::char_traits</span>&lt;char&gt; &gt; &amp; =
__<span
class=3DSpellE>thiscall</span> <span =
class=3DSpellE>std::basic_ostream</span>&lt;<span
class=3DSpellE>char,struct</span> <span =
class=3DSpellE>std::char_traits</span>&lt;char&gt;
&gt;::operator&lt;&lt;(class <span =
class=3DSpellE>std::basic_ostream</span>&lt;<span
class=3DSpellE>char,struct</span> <span =
class=3DSpellE>std::char_traits</span>&lt;char&gt;
&gt; &amp; (__<span class=3DSpellE>cdecl</span>*)(class <span =
class=3DSpellE>std::basic_ostream</span>&lt;<span
class=3DSpellE>char,struct</span> <span =
class=3DSpellE>std::char_traits</span>&lt;char&gt;
&gt; &amp;))&quot;
(??6?$basic_ostream at DU?$char_traits at D at std at  at  at std at  at QAEAAV01 at P6AAAV01 at AAV01 at =
 at Z at Z)
already defined in <span =
class=3DSpellE>VolToMesh.obj</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span=
></font></p>

<p class=3DMsoNormal><span class=3DSpellE><span class=3DGramE><font =
size=3D2
face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>msvcprtd.lib</span></font></span></span><span
class=3DGramE><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;
font-family:Arial;mso-ansi-language:EN-GB'>(</span></font></span><font =
size=3D2
face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>MSVCP70D.dll) : error LNK2005: &quot;public: =
class <span
class=3DSpellE>std::basic_ostream</span>&lt;<span =
class=3DSpellE>char,struct</span>
<span class=3DSpellE>std::char_traits</span>&lt;char&gt; &gt; &amp; =
__<span
class=3DSpellE>thiscall</span> <span =
class=3DSpellE>std::basic_ostream</span>&lt;<span
class=3DSpellE>char,struct</span> <span =
class=3DSpellE>std::char_traits</span>&lt;char&gt;
&gt;::operator&lt;&lt;(unsigned long)&quot;
(??6?$basic_ostream at DU?$char_traits at D at std at  at  at std at  at QAEAAV01 at K at Z) already =
defined
in <span =
class=3DSpellE>VolToMesh.obj</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span=
></font></p>

<p class=3DMsoNormal><span class=3DSpellE><span class=3DGramE><font =
size=3D2
face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>msvcprtd.lib</span></font></span></span><span
class=3DGramE><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;
font-family:Arial;mso-ansi-language:EN-GB'>(</span></font></span><font =
size=3D2
face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>MSVCP70D.dll) : error LNK2005: &quot;class =
<span
class=3DSpellE>std::basic_ostream</span>&lt;<span =
class=3DSpellE>char,struct</span>
<span class=3DSpellE>std::char_traits</span>&lt;char&gt; &gt; &amp; =
__<span
class=3DSpellE>cdecl</span> <span =
class=3DSpellE>std::operator</span>&lt;&lt;(class
<span class=3DSpellE>std::basic_ostream</span>&lt;<span =
class=3DSpellE>char,struct</span>
<span class=3DSpellE>std::char_traits</span>&lt;char&gt; &gt; &amp;,char =
const
*)&quot; =
(??6std at  at YAAAV?$basic_ostream at DU?$char_traits at D at std at  at  at 0 at AAV10 at PBD at Z)
already defined in <span =
class=3DSpellE>VolToMesh.obj</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span=
></font></p>

<p class=3DMsoNormal><span class=3DSpellE><span class=3DGramE><font =
size=3D2
face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>msvcprtd.lib</span></font></span></span><span
class=3DGramE><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;
font-family:Arial;mso-ansi-language:EN-GB'>(</span></font></span><font =
size=3D2
face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>MSVCP70D.dll) : error LNK2005: &quot;class =
<span
class=3DSpellE>std::basic_ostream</span>&lt;<span =
class=3DSpellE>char,struct</span>
<span class=3DSpellE>std::char_traits</span>&lt;char&gt; &gt; &amp; =
__<span
class=3DSpellE>cdecl</span> <span class=3DSpellE>std::endl</span>(class =
<span
class=3DSpellE>std::basic_ostream</span>&lt;<span =
class=3DSpellE>char,struct</span>
<span class=3DSpellE>std::char_traits</span>&lt;char&gt; &gt; =
&amp;)&quot;
(?endl at std at  at YAAAV?$basic_ostream at DU?$char_traits at D at std at  at  at 1 at AAV21 at  at Z) =
already
defined in <span =
class=3DSpellE>VolToMesh.obj</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Debug/<span =
class=3DGramE>VolToMesh.exe
:</span> fatal error LNK1169: one or more multiply defined symbols =
found<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p>&nbsp;</o:p></span=
></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue;mso-no-proof:yes'>Julien =
Hamaide</span></font><span
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt;mso-no-proof:yes'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue;mso-no-proof:yes'>Tcts Lab - =
Multitel Asbl.</span></font><span
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue;mso-no-proof:yes'>Faculte =
Polytechnique de
Mons </span></font><span =
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue;mso-no-proof:yes'>Parc Initialis - =
Avenue
Nicolas Copernic,1 </span></font><span =
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue;mso-no-proof:yes'>7000 - Mons =
</span></font><span
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue;mso-no-proof:yes'>Belgium =
</span></font><span
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue;mso-no-proof:yes'><a
href=3D"http://tcts.fpms.ac.be">http://tcts.fpms.ac.be</a></span></font><=
span
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt;mso-no-proof:yes'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue;mso-no-proof:yes'>tel +32 65 37 47 =
43</span></font><span
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue;mso-no-proof:yes'>email :
julien.hamaide at tcts.fpms.ac.be </span></font><o:p></o:p></p>

<!--EndFragment -->

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0007_01C3E006.4834EEC0--