Yes I did. Built QT from source.<div><br></div><div>At this point I&#39;m trying to only build VTK default from source without QT... I&#39;ll get to QT once I confirm I can build VTK on its own. I have confidence that this will work but I still have this (hopefully easy to solve) header problem:</div>

<div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">In file included from C:/Program Files/Microsoft SDKs/Windows/v6.0A/Include/winn</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">t.h:28:0,</font></div>

<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">                 from C:/Program Files/Microsoft SDKs/Windows/v6.0A/Include/wind</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">ef.h:177,</font></div>

<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">                 from C:/Program Files/Microsoft SDKs/Windows/v6.0A/Include/wind</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">ows.h:155,</font></div>

<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">                 from C:/work/VTK/Common/vtkWindows.h:58,</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">                 from C:/work/VTK-build-vanilla2/Rendering/vtkgl.h:21,</font></div>

<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">                 from C:\work\VTK\Rendering\vtkColorMaterialHelper.cxx:22:</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">C:/Program Files/Microsoft SDKs/Windows/v6.0A/Include/specstrings.h:9:19: fatal</font></div>

<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><u><b>error: sal.h: No such file or directory</b></u></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">compilation terminated.</font></div>

<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">mingw32-make[2]: *** [Rendering/CMakeFiles/vtkRendering.dir/vtkColorMaterialHelp</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">er.cxx.obj] Error 1</font></div>

<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">mingw32-make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">mingw32-make: *** [all] Error 2</font></div>

</div><div><br></div><div>Any tips on how to get cmake to find sal.h? I do have sal.h inside this directory: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include</div><div><br></div><div>but i can&#39;t figure out how to let cmake know it&#39;s there. I have that directory added to my path but so far that doesn&#39;t do anything. Adding a manual -IC:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include to cmake&#39;s compiler options seems dirty.</div>

<div><br></div><div>... then again i&#39;m not sure why it is depending on sal.h in a microsoft visual studio folder if we&#39;re using mingw...</div><div><br clear="all">Blaine<br>
<br><br><div class="gmail_quote">On Tue, Sep 27, 2011 at 9:03 PM, Ashika Umanga Umagiliya <span dir="ltr">&lt;<a href="mailto:aumanga@biggjapan.com">aumanga@biggjapan.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Just to confirm,<br>
You compiled QT 4.7.4 from the source using Mingw64 right?<br>
Because QT officially doesn&#39;t give a Mingw64 build.<br>
<div><div></div><div class="h5"><br>
<br>
On 28 September 2011 07:14, Blaine &lt;<a href="mailto:frikker@gmail.com">frikker@gmail.com</a>&gt; wrote:<br>
&gt; Hi everyone. I&#39;ve been trying for what seems like weeks to get VTK to<br>
&gt; install. I really need help!<br>
&gt; I used the exact same mingw64 install that Ashika used, and the latest git<br>
&gt; pull from VTK.<br>
&gt; I did the following in CMAKE (2.8.x):<br>
&gt;<br>
&gt; enabled shared libs<br>
&gt; disabled testing<br>
&gt; enabled QT<br>
&gt; (reconfigure)<br>
&gt; enabled QT openGL<br>
&gt;<br>
&gt; That&#39;s it! I have QT 4.7.4 installed and I think it works.<br>
&gt; Now what happens is &quot;ld.exe&quot; apparently hangs and crashes during compile.<br>
&gt; see this link: <a href="http://i.imgur.com/0m4hy.png" target="_blank">http://i.imgur.com/0m4hy.png</a><br>
&gt; ----------- Vanilla Compile ------------<br>
&gt; If I don&#39;t change CMAKE at all and use all default params, it does the same<br>
&gt; thing (ld.exe hangs at 16%).<br>
&gt; This is a new build computer and I&#39;m not sure what&#39;s going on.<br>
&gt; any suggestions?<br>
&gt; Blaine<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Sep 27, 2011 at 12:26 AM, Ashika Umanga Umagiliya<br>
&gt; &lt;<a href="mailto:aumanga@biggjapan.com">aumanga@biggjapan.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi ,<br>
&gt;&gt; I used x86_64-w64-mingw32-gcc-4.6.1_rubenvb.zip<br>
&gt;&gt; And latest VTK source from the GIT.<br>
&gt;&gt; If you are compiling QT ,use official QT source . &quot;NOT&quot; the QT-Mingw64<br>
&gt;&gt; port (<a href="https://gitorious.org/+qt-mingw-w64/qt/qt-mingw-w64-qt" target="_blank">https://gitorious.org/+qt-mingw-w64/qt/qt-mingw-w64-qt</a>).<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 27 September 2011 11:50, Gib Bogle &lt;<a href="mailto:g.bogle@auckland.ac.nz">g.bogle@auckland.ac.nz</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi Ashika,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Which of those 9 builds did you use?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks<br>
&gt;&gt; &gt; Gib<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On 27/09/2011 3:16 p.m., Ashika Umanga Umagiliya wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Hi all,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Build was successful using the following Ming64 build :<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; <a href="http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/rubenvb/" target="_blank">http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/rubenvb/</a><br>


&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Thanks everyone for the support.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On 22 September 2011 13:48, Ashika Umanga Umagiliya<br>
&gt;&gt; &gt;&gt; &lt;<a href="mailto:aumanga@biggjapan.com">aumanga@biggjapan.com</a>&gt;  wrote:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Hi all,<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; I tried building latest VTK (master from git) and build failed the<br>
&gt;&gt; &gt;&gt;&gt; same place as before.<br>
&gt;&gt; &gt;&gt;&gt; Seems the issue is with Mingw64 build ?<br>
&gt;&gt; &gt;&gt;&gt; I will try another Mingw64.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; thanks<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; -----------------------------<br>
&gt;&gt; &gt;&gt;&gt; [ 79%] Building CXX object<br>
&gt;&gt; &gt;&gt;&gt; VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtk<br>
&gt;&gt; &gt;&gt;&gt; ProjectedTetrahedraMapper.cxx.obj<br>
&gt;&gt; &gt;&gt;&gt; C:\git-checkouts\VTK\VolumeRendering\vtkProjectedTetrahedraMapper.cxx:<br>
&gt;&gt; &gt;&gt;&gt; In<br>
&gt;&gt; &gt;&gt;&gt; functi<br>
&gt;&gt; &gt;&gt;&gt; on &#39;void vtkProjectedTetrahedraMapperTransformPoints(const<br>
&gt;&gt; &gt;&gt;&gt; point_type*,<br>
&gt;&gt; &gt;&gt;&gt; vtkIdTyp<br>
&gt;&gt; &gt;&gt;&gt; e, const float*, const float*, float*) [with point_type = long int,<br>
&gt;&gt; &gt;&gt;&gt; vtkIdType =<br>
&gt;&gt; &gt;&gt;&gt; long long int]&#39;:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; C:\git-checkouts\VTK\VolumeRendering\vtkProjectedTetrahedraMapper.cxx:98:6:<br>
&gt;&gt; &gt;&gt;&gt; inte<br>
&gt;&gt; &gt;&gt;&gt; rnal compiler error: in ix86_vectorize_builtin_vec_perm_ok, at<br>
&gt;&gt; &gt;&gt;&gt; config/i386/i386.<br>
&gt;&gt; &gt;&gt;&gt; c:30247<br>
&gt;&gt; &gt;&gt;&gt; Please submit a full bug report,<br>
&gt;&gt; &gt;&gt;&gt; with preprocessed source if appropriate.<br>
&gt;&gt; &gt;&gt;&gt; See&lt;<a href="http://gcc.gnu.org/bugs.html" target="_blank">http://gcc.gnu.org/bugs.html</a>&gt;  for instructions.<br>
&gt;&gt; &gt;&gt;&gt; mingw32-make[2]: ***<br>
&gt;&gt; &gt;&gt;&gt; [VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkProje<br>
&gt;&gt; &gt;&gt;&gt; ctedTetrahedraMapper.cxx.obj] Error 1<br>
&gt;&gt; &gt;&gt;&gt; mingw32-make[1]: ***<br>
&gt;&gt; &gt;&gt;&gt; [VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/all] Err<br>
&gt;&gt; &gt;&gt;&gt; or 2<br>
&gt;&gt; &gt;&gt;&gt; mingw32-make: *** [all] Error 2<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; On 22 September 2011 10:06, Ashika Umanga Umagiliya<br>
&gt;&gt; &gt;&gt;&gt; &lt;<a href="mailto:aumanga@biggjapan.com">aumanga@biggjapan.com</a>&gt;  wrote:<br>
&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt; Hi David,Christian ,<br>
&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt; Thanks alot. I will give it a try and let you know how it went.<br>
&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt; best regards<br>
&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt; On 22 September 2011 04:13, Christian Lackas&lt;<a href="mailto:christian@lackas.net">christian@lackas.net</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt;  wrote:<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt; * David Partyka&lt;<a href="mailto:david.partyka@kitware.com">david.partyka@kitware.com</a>&gt;  [110921 15:55]:<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt; David,<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt;&gt; I just pushed a number of fixes based off Christian&#39;s patch into<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt;&gt; the<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt;&gt; master<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt;&gt; and release branches on git. Please try them and let me know.<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt;&gt; Thanks!<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt; thanks also. Will give it a try.<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt; Christian<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt; --<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt; Dr. Christian Lackas, Managing Partner<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt; inviCRO, LLC -- In Imaging Yours<br>
&gt;&gt; &gt;&gt;&gt;&gt;&gt; P: <a href="tel:%2B1%20617%20933%208733" value="+16179338733">+1 617 933 8733</a>, F: <a href="tel:%2B49%202203%209034722" value="+4922039034722">+49 2203 9034722</a>, E: <a href="mailto:lackas@invicro.com">lackas@invicro.com</a><br>


&gt;&gt; &gt;&gt;&gt;&gt;&gt; <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>
&gt;&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt; 0<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt;&gt; &gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>