Yes I did. Built QT from source.<div><br></div><div>At this point I'm trying to only build VTK default from source without QT... I'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="'courier new', monospace">In file included from C:/Program Files/Microsoft SDKs/Windows/v6.0A/Include/winn</font></div><div><font class="Apple-style-span" face="'courier new', monospace">t.h:28:0,</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> from C:/Program Files/Microsoft SDKs/Windows/v6.0A/Include/wind</font></div><div><font class="Apple-style-span" face="'courier new', monospace">ef.h:177,</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> from C:/Program Files/Microsoft SDKs/Windows/v6.0A/Include/wind</font></div><div><font class="Apple-style-span" face="'courier new', monospace">ows.h:155,</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> from C:/work/VTK/Common/vtkWindows.h:58,</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> from C:/work/VTK-build-vanilla2/Rendering/vtkgl.h:21,</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> from C:\work\VTK\Rendering\vtkColorMaterialHelper.cxx:22:</font></div><div><font class="Apple-style-span" face="'courier new', monospace">C:/Program Files/Microsoft SDKs/Windows/v6.0A/Include/specstrings.h:9:19: fatal</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><u><b>error: sal.h: No such file or directory</b></u></font></div><div><font class="Apple-style-span" face="'courier new', monospace">compilation terminated.</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">mingw32-make[2]: *** [Rendering/CMakeFiles/vtkRendering.dir/vtkColorMaterialHelp</font></div><div><font class="Apple-style-span" face="'courier new', monospace">er.cxx.obj] Error 1</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">mingw32-make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2</font></div><div><font class="Apple-style-span" face="'courier new', 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't figure out how to let cmake know it's there. I have that directory added to my path but so far that doesn't do anything. Adding a manual -IC:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include to cmake's compiler options seems dirty.</div>
<div><br></div><div>... then again i'm not sure why it is depending on sal.h in a microsoft visual studio folder if we'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"><<a href="mailto:aumanga@biggjapan.com">aumanga@biggjapan.com</a>></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't give a Mingw64 build.<br>
<div><div></div><div class="h5"><br>
<br>
On 28 September 2011 07:14, Blaine <<a href="mailto:frikker@gmail.com">frikker@gmail.com</a>> wrote:<br>
> Hi everyone. I've been trying for what seems like weeks to get VTK to<br>
> install. I really need help!<br>
> I used the exact same mingw64 install that Ashika used, and the latest git<br>
> pull from VTK.<br>
> I did the following in CMAKE (2.8.x):<br>
><br>
> enabled shared libs<br>
> disabled testing<br>
> enabled QT<br>
> (reconfigure)<br>
> enabled QT openGL<br>
><br>
> That's it! I have QT 4.7.4 installed and I think it works.<br>
> Now what happens is "ld.exe" apparently hangs and crashes during compile.<br>
> see this link: <a href="http://i.imgur.com/0m4hy.png" target="_blank">http://i.imgur.com/0m4hy.png</a><br>
> ----------- Vanilla Compile ------------<br>
> If I don't change CMAKE at all and use all default params, it does the same<br>
> thing (ld.exe hangs at 16%).<br>
> This is a new build computer and I'm not sure what's going on.<br>
> any suggestions?<br>
> Blaine<br>
><br>
><br>
> On Tue, Sep 27, 2011 at 12:26 AM, Ashika Umanga Umagiliya<br>
> <<a href="mailto:aumanga@biggjapan.com">aumanga@biggjapan.com</a>> wrote:<br>
>><br>
>> Hi ,<br>
>> I used x86_64-w64-mingw32-gcc-4.6.1_rubenvb.zip<br>
>> And latest VTK source from the GIT.<br>
>> If you are compiling QT ,use official QT source . "NOT" the QT-Mingw64<br>
>> 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>
>><br>
>><br>
>><br>
>><br>
>><br>
>> On 27 September 2011 11:50, Gib Bogle <<a href="mailto:g.bogle@auckland.ac.nz">g.bogle@auckland.ac.nz</a>> wrote:<br>
>> > Hi Ashika,<br>
>> ><br>
>> > Which of those 9 builds did you use?<br>
>> ><br>
>> > Thanks<br>
>> > Gib<br>
>> ><br>
>> > On 27/09/2011 3:16 p.m., Ashika Umanga Umagiliya wrote:<br>
>> >><br>
>> >> Hi all,<br>
>> >><br>
>> >> Build was successful using the following Ming64 build :<br>
>> >><br>
>> >><br>
>> >><br>
>> >> <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>
>> >><br>
>> >> Thanks everyone for the support.<br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >> On 22 September 2011 13:48, Ashika Umanga Umagiliya<br>
>> >> <<a href="mailto:aumanga@biggjapan.com">aumanga@biggjapan.com</a>> wrote:<br>
>> >>><br>
>> >>> Hi all,<br>
>> >>><br>
>> >>> I tried building latest VTK (master from git) and build failed the<br>
>> >>> same place as before.<br>
>> >>> Seems the issue is with Mingw64 build ?<br>
>> >>> I will try another Mingw64.<br>
>> >>><br>
>> >>> thanks<br>
>> >>><br>
>> >>> -----------------------------<br>
>> >>> [ 79%] Building CXX object<br>
>> >>> VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtk<br>
>> >>> ProjectedTetrahedraMapper.cxx.obj<br>
>> >>> C:\git-checkouts\VTK\VolumeRendering\vtkProjectedTetrahedraMapper.cxx:<br>
>> >>> In<br>
>> >>> functi<br>
>> >>> on 'void vtkProjectedTetrahedraMapperTransformPoints(const<br>
>> >>> point_type*,<br>
>> >>> vtkIdTyp<br>
>> >>> e, const float*, const float*, float*) [with point_type = long int,<br>
>> >>> vtkIdType =<br>
>> >>> long long int]':<br>
>> >>><br>
>> >>><br>
>> >>> C:\git-checkouts\VTK\VolumeRendering\vtkProjectedTetrahedraMapper.cxx:98:6:<br>
>> >>> inte<br>
>> >>> rnal compiler error: in ix86_vectorize_builtin_vec_perm_ok, at<br>
>> >>> config/i386/i386.<br>
>> >>> c:30247<br>
>> >>> Please submit a full bug report,<br>
>> >>> with preprocessed source if appropriate.<br>
>> >>> See<<a href="http://gcc.gnu.org/bugs.html" target="_blank">http://gcc.gnu.org/bugs.html</a>> for instructions.<br>
>> >>> mingw32-make[2]: ***<br>
>> >>> [VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkProje<br>
>> >>> ctedTetrahedraMapper.cxx.obj] Error 1<br>
>> >>> mingw32-make[1]: ***<br>
>> >>> [VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/all] Err<br>
>> >>> or 2<br>
>> >>> mingw32-make: *** [all] Error 2<br>
>> >>><br>
>> >>><br>
>> >>><br>
>> >>> On 22 September 2011 10:06, Ashika Umanga Umagiliya<br>
>> >>> <<a href="mailto:aumanga@biggjapan.com">aumanga@biggjapan.com</a>> wrote:<br>
>> >>>><br>
>> >>>> Hi David,Christian ,<br>
>> >>>><br>
>> >>>> Thanks alot. I will give it a try and let you know how it went.<br>
>> >>>><br>
>> >>>> best regards<br>
>> >>>><br>
>> >>>><br>
>> >>>> On 22 September 2011 04:13, Christian Lackas<<a href="mailto:christian@lackas.net">christian@lackas.net</a>><br>
>> >>>> wrote:<br>
>> >>>>><br>
>> >>>>> * David Partyka<<a href="mailto:david.partyka@kitware.com">david.partyka@kitware.com</a>> [110921 15:55]:<br>
>> >>>>><br>
>> >>>>> David,<br>
>> >>>>><br>
>> >>>>>> I just pushed a number of fixes based off Christian's patch into<br>
>> >>>>>> the<br>
>> >>>>>> master<br>
>> >>>>>> and release branches on git. Please try them and let me know.<br>
>> >>>>>> Thanks!<br>
>> >>>>><br>
>> >>>>> thanks also. Will give it a try.<br>
>> >>>>><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">+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>
>> >>>>> <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>
>> >>>>><br>
>> > 0<br>
>> ><br>
>> > _______________________________________________<br>
>> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> ><br>
>> > Visit other Kitware open-source projects at<br>
>> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> ><br>
>> > Please keep messages on-topic and check the VTK FAQ at:<br>
>> > <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>> ><br>
>> > Follow this link to subscribe/unsubscribe:<br>
>> > <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>> ><br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the VTK FAQ at:<br>
>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>