There is a registered bug with newer GCC. I switched to an old mingw64 (10/2010 build) and ld.exe is fine now. <a href="http://mingw-users.1079350.n2.nabble.com/ld-exe-hangs-only-on-Windows-7-XP-is-fine-td5784456.html">http://mingw-users.1079350.n2.nabble.com/ld-exe-hangs-only-on-Windows-7-XP-is-fine-td5784456.html</a> So that problem is solved :)<div>
<br></div><div>Now it says it can't find "sal.h" which resides in the microsoft SDK folder. Do I add this to my path and CMAKE will automagically find it, or do I add it some other way? I haven't had a "missing header file" error, yet.</div>
<div><br></div><div>Thanks for the help, I'm tired and not able to think straight. Take care all,</div><div>Blaine<br>
<br><br><div class="gmail_quote">On Tue, Sep 27, 2011 at 6:27 PM, Blaine <span dir="ltr"><<a href="mailto:frikker@gmail.com">frikker@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have none of that. Thanks for the suggestion though. What on earth is going on...<div><br></div><div>When it's not this, it's the good old "side-by-side configuration error" crash, which also makes no sense.</div>
<div><br></div><div>Maybe I just need to reinstall everything and start over.</div><div><br clear="all"><font color="#888888">Blaine</font><div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Tue, Sep 27, 2011 at 6:22 PM, David Partyka <span dir="ltr"><<a href="mailto:david.partyka@kitware.com" target="_blank">david.partyka@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The only other thing I can think of is to make sure to either disable antivirus or atleast exclude your build tree from any realtime scans. Otherwise I have no idea :-/<div><div></div><div><br><br><div class="gmail_quote">
On Tue, Sep 27, 2011 at 6:20 PM, Blaine <span dir="ltr"><<a href="mailto:frikker@gmail.com" target="_blank">frikker@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">not that i know of. thanks for the suggestion though.<div><br clear="all"><font color="#888888">Blaine</font><div><div>
</div><div><br>
<br><br><div class="gmail_quote">On Tue, Sep 27, 2011 at 6:16 PM, David Partyka <span dir="ltr"><<a href="mailto:david.partyka@kitware.com" target="_blank">david.partyka@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Are you building in parallel? I always have problems with this and just have to run 'make' instead of 'make -j<blah>' but I am a mingw newbie so maybe there is a way around that.<div><div></div><div>
<br><br><div class="gmail_quote">
On Tue, Sep 27, 2011 at 6:14 PM, Blaine <span dir="ltr"><<a href="mailto:frikker@gmail.com" target="_blank">frikker@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi everyone. I've been trying for what seems like weeks to get VTK to install. I really need help!<div><br></div><div>I used the exact same mingw64 install that Ashika used, and the latest git pull from VTK.</div><div>
<br></div><div>I did the following in CMAKE (2.8.x):</div><div><ul><li>enabled shared libs</li><li>disabled testing</li><li>enabled QT</li><li>(reconfigure)</li><li>enabled QT openGL</li></ul><div>That's it! I have QT 4.7.4 installed and I think it works.</div>
</div><div><br></div><div>Now what happens is "ld.exe" apparently hangs and crashes during compile. see this link: <a href="http://i.imgur.com/0m4hy.png" target="_blank">http://i.imgur.com/0m4hy.png</a></div><div>
<br></div><div>
----------- Vanilla Compile ------------</div><div>If I don't change CMAKE at all and use all default params, it does the same thing (ld.exe hangs at 16%).</div><div><br></div><div>This is a new build computer and I'm not sure what's going on. any suggestions?</div>
<div><br clear="all"><font color="#888888">Blaine</font><div><div></div><div><br>
<br><br><div class="gmail_quote">On Tue, Sep 27, 2011 at 12:26 AM, Ashika Umanga Umagiliya <span dir="ltr"><<a href="mailto:aumanga@biggjapan.com" target="_blank">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">
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>
<div><div></div><div><br>
<br>
<br>
<br>
<br>
On 27 September 2011 11:50, Gib Bogle <<a href="mailto:g.bogle@auckland.ac.nz" target="_blank">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>
>> <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" target="_blank">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: In<br>
>>> functi<br>
>>> on 'void vtkProjectedTetrahedraMapperTransformPoints(const point_type*,<br>
>>> vtkIdTyp<br>
>>> e, const float*, const float*, float*) [with point_type = long int,<br>
>>> vtkIdType =<br>
>>> long long int]':<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" target="_blank">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" target="_blank">christian@lackas.net</a>><br>
>>>> wrote:<br>
>>>>><br>
>>>>> * David Partyka<<a href="mailto:david.partyka@kitware.com" target="_blank">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 the<br>
>>>>>> master<br>
>>>>>> and release branches on git. Please try them and let me know. 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" 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>
>>>>><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 <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: <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>
</div></div></blockquote></div></div></div></div><div><br></div>
<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 <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: <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></blockquote></div><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>