Turns out it was my home-built QT... weird.<div><br></div><div>I installed the win64-vs2008 package and so far it&#39;s working (75%) although you know what they say about counting your chickens...</div><div><a href="http://code.google.com/p/qt-msvc-installer/">http://code.google.com/p/qt-msvc-installer/</a></div>

<div><br></div><div>Thanks for all the help. Hopefully this works!</div><div>Blaine<br>
<br><br><div class="gmail_quote">On Wed, Sep 28, 2011 at 6:15 PM, Blaine <span dir="ltr">&lt;<a href="mailto:frikker@gmail.com">frikker@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<ul><li>Turned on VTK_USE_QT</li><li>Turned on BUILD_SHARED_LIBS</li><li>Turned off TESTING (TESTING on doesn&#39;t matter either)</li></ul><div>I get a linker error. Thoughts and/or suggestions? Can anyone else replicate this?</div>


<div>Using the same compiler (mingw64) as I used to <b>successfully </b>build the vanilla QT, and it looks like I have a linker issue. Suggestions?</div><div><br></div><div><div>CMakeFiles\vtkRendering.dir/objects.a(vtkQtTreeRingLabelMapper.cxx.obj):C:/work/VTK/Rendering/vtkQtTreeRingLab</div>


<div>elMapper.cxx:482: undefined reference to `__imp__ZN13QTextDocumentD1Ev&#39;</div><div>CMakeFiles\vtkRendering.dir/objects.a(vtkQtTreeRingLabelMapper.cxx.obj):C:/work/VTK/Rendering/vtkQtTreeRingLab</div><div>elMapper.cxx:359: undefined reference to `__imp__ZN13QFontMetricsFD1Ev&#39;</div>


<div>CMakeFiles\vtkRendering.dir/objects.a(vtkQtTreeRingLabelMapper.cxx.obj):C:/work/VTK/Rendering/vtkQtTreeRingLab</div><div>elMapper.cxx:326: undefined reference to `__imp__ZN5QFontD1Ev&#39;</div><div>CMakeFiles\vtkRendering.dir/objects.a(vtkQtTreeRingLabelMapper.cxx.obj):C:/work/VTK/Rendering/vtkQtTreeRingLab</div>


<div>elMapper.cxx:318: undefined reference to `__imp__ZN8QPainterD1Ev&#39;</div><div>CMakeFiles\vtkRendering.dir/objects.a(vtkQtTreeRingLabelMapper.cxx.obj):C:/work/VTK/Rendering/vtkQtTreeRingLab</div><div>elMapper.cxx:386: undefined reference to `__imp__ZN11QTextStreamD1Ev&#39;</div>


<div>CMakeFiles\vtkRendering.dir/objects.a(vtkQtTreeRingLabelMapper.cxx.obj):C:/work/VTK/Rendering/vtkQtTreeRingLab</div><div>elMapper.cxx:387: undefined reference to `__imp__ZN11QTextStreamD1Ev&#39;</div><div>CMakeFiles\vtkRendering.dir/objects.a(vtkQtTreeRingLabelMapper.cxx.obj):C:/work/VTK/Rendering/vtkQtTreeRingLab</div>


<div>elMapper.cxx:469: undefined reference to `__imp__ZN11QTextStreamD1Ev&#39;</div><div>CMakeFiles\vtkRendering.dir/objects.a(vtkQtTreeRingLabelMapper.cxx.obj):C:/work/VTK/Rendering/vtkQtTreeRingLab</div><div>elMapper.cxx:465: undefined reference to `__imp__ZN13QTextDocumentD1Ev&#39;</div>


<div>CMakeFiles\vtkRendering.dir/objects.a(vtkQtTreeRingLabelMapper.cxx.obj):C:/work/VTK/Rendering/vtkQtTreeRingLab</div><div>elMapper.cxx:486: undefined reference to `__imp__ZN11QTextStreamD1Ev&#39;</div><div>CMakeFiles\vtkRendering.dir/objects.a(vtkQtTreeRingLabelMapper.cxx.obj):C:/work/VTK/Rendering/vtkQtTreeRingLab</div>


<div>elMapper.cxx:482: undefined reference to `__imp__ZN13QTextDocumentD1Ev&#39;</div><div>CMakeFiles\vtkRendering.dir/objects.a(vtkQtTreeRingLabelMapper.cxx.obj):C:/work/VTK/Rendering/vtkQtTreeRingLab</div><div>elMapper.cxx:359: undefined reference to `__imp__ZN13QFontMetricsFD1Ev&#39;</div>


<div>CMakeFiles\vtkRendering.dir/objects.a(vtkQtTreeRingLabelMapper.cxx.obj):C:/work/VTK/Rendering/vtkQtTreeRingLab</div><div>elMapper.cxx:326: undefined reference to `__imp__ZN5QFontD1Ev&#39;</div><div>CMakeFiles\vtkRendering.dir/objects.a(vtkQtTreeRingLabelMapper.cxx.obj):C:/work/VTK/Rendering/vtkQtTreeRingLab</div>


<div>elMapper.cxx:318: undefined reference to `__imp__ZN8QPainterD1Ev&#39;</div><div>CMakeFiles\vtkRendering.dir/objects.a(vtkQtTreeRingLabelMapper.cxx.obj):C:/Qt/4.7.4/include/QtGui/../../src/gu</div><div>i/painting/qpainter.h:925: undefined reference to `__imp__ZN8QPainter9drawImageERK7QPointFRK6QImage&#39;</div>


<div>CMakeFiles\vtkRendering.dir/objects.a(vtkQtTreeRingLabelMapper.cxx.obj):C:/Qt/4.7.4/include/QtGui/../../src/gu</div><div>i/painting/qpainter.h:927: undefined reference to `__imp__ZN8QPainter9drawImageERK6QRectFRK6QImageS2_6QFlagsIN</div>


<div>2Qt19ImageConversionFlagEE&#39;</div><div>collect2: ld returned 1 exit status</div><div>mingw32-make[2]: *** [bin/libvtkRendering.dll] Error 1</div><div class="im"><div>mingw32-make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2</div>


<div>mingw32-make: *** [all] Error 2</div></div></div><font color="#888888"><div><br></div>Blaine</font><div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Wed, Sep 28, 2011 at 3:59 PM, Blaine <span dir="ltr">&lt;<a href="mailto:frikker@gmail.com" target="_blank">frikker@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Thanks guys! I got it to compile. I&#39;ll try with QT next. :)<div><br></div><div>If I can remember, I&#39;ll try a VS2008 build and send the output here. It still takes quite awhile, but something like 17 / 50 of the &quot;projects&quot; fail from inside VS. When I check the log, it typically has a problem finding some file to link against in &quot;../../bin/debug/something&quot;. I know that isn&#39;t very helpful, but that&#39;s about what I remember. I&#39;m not a VS2008 guru by any means so I wasn&#39;t sure how to get more info and I had luck with mingw which is why I went down this path.</div>



<div><br></div><div>Thanks again,<br clear="all"><font color="#888888">Blaine</font><div><div></div><div><br>
<br><br><div class="gmail_quote">On Wed, Sep 28, 2011 at 2:59 PM, Christian Lackas <span dir="ltr">&lt;<a href="mailto:lackas@invicro.com" target="_blank">lackas@invicro.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



* Blaine &lt;<a href="mailto:frikker@gmail.com" target="_blank">frikker@gmail.com</a>&gt; [110928 20:50]:<br>
<br>
Hi Blaine,<br>
<div><br>
&gt; Maybe that&#39;s the problem. I don&#39;t think I have a mingw shell. Currently I&#39;m<br>
&gt; using the &#39;git&#39; shell.<br>
<br>
</div>I am using MSYS:<br>
<br>
    <a href="http://www.mingw.org/wiki/MSYS" target="_blank">http://www.mingw.org/wiki/MSYS</a><br>
<br>
However, you are probably already using msysgit, right? Then you should<br>
check your PATH to not include any MS products.<br>
<div><div></div><div><br>
Christian<br>
<br>
--<br>
Dr. Christian Lackas, Managing Partner<br>
inviCRO, LLC -- In Imaging Yours<br>
P: <a href="tel:%2B1%20617%20933%208733" value="+16179338733" target="_blank">+1 617 933 8733</a>, F: <a href="tel:%2B49%202203%209034722" value="+4922039034722" target="_blank">+49 2203 9034722</a>, E: <a href="mailto:lackas@invicro.com" target="_blank">lackas@invicro.com</a><br>




<a href="http://www.invicro.com/" target="_blank">http://www.invicro.com/</a>  <a href="http://www.spect-ct.com/" target="_blank">http://www.spect-ct.com/</a><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>