Maybe that's the problem. I don't think I have a mingw shell. Currently I'm using the 'git' shell.<div><br></div><div>Where is the mingw shell? Thanks again for all the help, I'm realizing that maybe I just don't know what I'm doing.</div>
<div><br clear="all">Blaine<br>
<br><br><div class="gmail_quote">On Wed, Sep 28, 2011 at 2:47 PM, David Partyka <span dir="ltr"><<a href="mailto:david.partyka@kitware.com">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 launching CMake(cmake-gui) from the mingw terminal? If not it will pick up Visual Studio components.<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Sep 28, 2011 at 2:41 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">I just searched my computer for it (I have VS2008 but gave up on trying to use it to compile VTK. It just compiles half the projects and the others fail out).<div>
<br></div><div>I totally get what you mean though. sal.h isn't the problem, the problem is that it's including that other file from the microsoft folder. thanks i'll check that out!<div>
<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:38 PM, Christian Lackas <span dir="ltr"><<a href="mailto:lackas@invicro.com" target="_blank">lackas@invicro.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* Blaine <<a href="mailto:frikker@gmail.com" target="_blank">frikker@gmail.com</a>> [110928 20:28]:<br>
<br>
Hi Blaine,<br>
<br>
MinGW64 comes with its own windows.h (in './x86_64-w64-mingw32/include' in<br>
my setup) and you should not mix it with a Microsoft SDK. How is that<br>
found in the first place (in your PATH or did you configure that path<br>
somehow?).<br>
If in doubt (temporarily) remove the Microsoft stuff.<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>
<br>
> Yes I did. Built QT from source.<br>
><br>
> At this point I'm trying to only build VTK default from source without QT...<br>
> I'll get to QT once I confirm I can build VTK on its own. I have confidence<br>
> that this will work but I still have this (hopefully easy to solve) header<br>
> problem:<br>
> In file included from C:/Program Files/Microsoft<br>
> SDKs/Windows/v6.0A/Include/winn<br>
> t.h:28:0,<br>
> from C:/Program Files/Microsoft<br>
> SDKs/Windows/v6.0A/Include/wind<br>
> ef.h:177,<br>
> from C:/Program Files/Microsoft<br>
> SDKs/Windows/v6.0A/Include/wind<br>
> ows.h:155,<br>
> from C:/work/VTK/Common/vtkWindows.h:58,<br>
> from C:/work/VTK-build-vanilla2/Rendering/vtkgl.h:21,<br>
> from C:\work\VTK\Rendering\vtkColorMaterialHelper.cxx:22:<br>
> C:/Program Files/Microsoft SDKs/Windows/v6.0A/Include/specstrings.h:9:19:<br>
> fatal<br>
> *error: sal.h: No such file or directory*<br>
> compilation terminated.<br>
> mingw32-make[2]: ***<br>
> [Rendering/CMakeFiles/vtkRendering.dir/vtkColorMaterialHelp<br>
> er.cxx.obj] Error 1<br>
> mingw32-make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2<br>
> mingw32-make: *** [all] Error 2<br>
><br>
> Any tips on how to get cmake to find sal.h? I do have sal.h inside this<br>
> directory: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include<br>
><br>
> but i can't figure out how to let cmake know it's there. I have that<br>
> directory added to my path but so far that doesn't do anything. Adding a<br>
> manual -IC:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include to<br>
> cmake's compiler options seems dirty.<br>
><br>
> ... then again i'm not sure why it is depending on sal.h in a microsoft<br>
> visual studio folder if we're using mingw...<br>
><br>
> Blaine<br>
><br>
><br>
> On Tue, Sep 27, 2011 at 9:03 PM, Ashika Umanga Umagiliya <<br>
> <a href="mailto:aumanga@biggjapan.com" target="_blank">aumanga@biggjapan.com</a>> wrote:<br>
><br>
> > 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>
> ><br>
> ><br>
> > On 28 September 2011 07:14, Blaine <<a href="mailto:frikker@gmail.com" target="_blank">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<br>
> > 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<br>
> > 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" target="_blank">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" 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>
> > >> >><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>
> > >> >>><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>
> > >> >>><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<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" 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<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>
> ><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><br></div></div></div></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>