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

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue style='word-wrap: break-word;-khtml-nbsp-mode: space;
-khtml-line-break: after-white-space'>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I found that there was some problem in one
of my CMakeList.txt files. After that was fixed, the compilation was successful
both in Release and Debug mode. Thanks anyway.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Haobing<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Michael Rice
[mailto:marice@knology.net] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, July 19, 2006
9:40 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Wang,
 Haobing </st1:PersonName><br>
<b><span style='font-weight:bold'>Cc:</span></b> <st1:PersonName w:st="on">vtkusers@vtk.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [vtkusers] VTK5.0
compilation problem with QT4 using Visual C++ 2005</span></font><o:p></o:p></p>

</div>

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

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>It looks like it's not linking in the [correct] output from the Qt moc.<o:p></o:p></span></font></p>

<div>

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

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>When you ran 'cmake', did you select a Debug or Release build? If you
selected Release in 'cmake', try setting the configuration to Release in VS
2005 and then rebuild.<o:p></o:p></span></font></p>

</div>

<div>

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

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Michael<o:p></o:p></span></font></p>

<div>

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

<div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Jul 19, 2006, at 2:56 PM, <st1:PersonName w:st="on">Wang, Haobing </st1:PersonName>wrote:<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br>
<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Hello,<O:P></O:P></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><O:P>&nbsp;</O:P></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I am trying
to compile VTK5.0 with QT4.1.4 using Visual C++ 2005. When compiling QVTK, I
got the following errors:<O:P></O:P></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><O:P>&nbsp;</O:P></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span courier=""><span style='font-size:7.5pt;
font-family:"Courier New"'>2&gt;------ Build started: Project: QVTK,
Configuration: Debug Win32 ------<O:P></O:P></span></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span courier=""><span style='font-size:7.5pt;
font-family:"Courier New"'>2&gt;Linking...<O:P></O:P></span></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span courier=""><span style='font-size:7.5pt;
font-family:"Courier New"'>2&gt;&nbsp;&nbsp; Creating library
D:\vtk\VTK\bin\Debug\QVTK.lib and object D:\vtk\VTK\bin\Debug\QVTK.exp<O:P></O:P></span></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span courier=""><span style='font-size:7.5pt;
font-family:"Courier New"'>2&gt;vtkEventQtSlotConnect.obj : error LNK2001:
unresolved external symbol &quot;public: virtual struct QMetaObject const *
__thiscall vtkQtConnection::metaObject(void)const &quot;
(?metaObject@vtkQtConnection@@UBEPBUQMetaObject@@XZ)<O:P></O:P></span></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span courier=""><span style='font-size:7.5pt;
font-family:"Courier New"'>2&gt;vtkEventQtSlotConnect.obj : error LNK2001:
unresolved external symbol &quot;public: virtual void * __thiscall
vtkQtConnection::qt_metacast(char const *)&quot;
(?qt_metacast@vtkQtConnection@@UAEPAXPBD@Z)<O:P></O:P></span></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span courier=""><span style='font-size:7.5pt;
font-family:"Courier New"'>2&gt;vtkEventQtSlotConnect.obj : error LNK2001:
unresolved external symbol &quot;public: virtual int __thiscall vtkQtConnection::qt_metacall(enum
QMetaObject::Call,int,void * *)&quot;
(?qt_metacall@vtkQtConnection@@UAEHW4Call@QMetaObject@@HPAPAX@Z)<O:P></O:P></span></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span courier=""><span style='font-size:7.5pt;
font-family:"Courier New"'>2&gt;vtkEventQtSlotConnect.obj : error LNK2019:
unresolved external symbol &quot;protected: void __thiscall
vtkQtConnection::EmitExecute(class vtkObject *,unsigned long,void *,void
*,class vtkCommand *)&quot;
(?EmitExecute@vtkQtConnection@@IAEXPAVvtkObject@@KPAX1PAVvtkCommand@@@Z)
referenced in function &quot;public: void __thiscall
vtkQtConnection::Execute(class vtkObject *,unsigned long,void *)&quot; (?Execute@vtkQtConnection@@QAEXPAVvtkObject@@KPAX@Z)<O:P></O:P></span></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span courier=""><span style='font-size:7.5pt;
font-family:"Courier New"'>2&gt;D:\vtk\VTK\bin\Debug\QVTK.dll : fatal error
LNK1120: 4 unresolved externals<O:P></O:P></span></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span courier=""><span style='font-size:7.5pt;
font-family:"Courier New"'>2&gt;Build log was saved at &quot;<a href="file:///\\d">file://d</a>:\vtk\VTK\GUISupport\Qt\QVTK.dir\Debug\BuildLog.htm&quot;<O:P></O:P></span></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span courier=""><span style='font-size:7.5pt;
font-family:"Courier New"'>2&gt;QVTK - 5 error(s), 0 warning(s)<O:P></O:P></span></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span courier=""><span style='font-size:7.5pt;
font-family:"Courier New"'>========== Build: 1 succeeded, 1 failed, 20
up-to-date, 0 skipped ==========<O:P></O:P></span></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 face="Courier New"><span courier=""><O:P><span style='font-size:7.5pt;
font-family:"Courier New"'>&nbsp;</O:P></span></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I tried to
link all the libraries in VTK and QT, but still got those errors. Does anyone
know what the problem is and how to solve it? Thanks a lot in advance.<O:P></O:P></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><O:P>&nbsp;</O:P></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Haobing<O:P></O:P></span></font><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><O:P>&nbsp;</O:P></span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>_______________________________________________<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>This is the private VTK discussion list.<span
class=apple-converted-space>&nbsp;</span><o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Please keep messages on-topic. Check the FAQ at: <a
href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Follow this link to subscribe/unsubscribe:<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><o:p></o:p></span></font></p>

</div>

</div>

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

</div>

</div>

</div>

</body>

</html>