<html>
<head>
<meta name="generator" content="Windows Mail 17.5.9600.20413">
<style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoNormal, li.MsoNormal, div.MsoNormal {
margin:0in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst,
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle,
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style></head>
<body dir="ltr">
<div data-externalstyle="false" dir="ltr" style="font-family: 'Calibri', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif';font-size:12pt;"><div style="color: rgb(0, 0, 0);">Hi, thank you all for your help. I tried using Visual Studio 2012 instead of 2013 and everything worked fine again. It doesn’t seem to be a problem of VTK, but of VS2013.<br></div><div style="color: rgb(0, 0, 0);" data-signatureblock="true"><div style="color: rgb(0, 0, 0);"><br></div><div style="color: rgb(0, 0, 0);"><br></div><div style="color: rgb(0, 0, 0);"><br></div></div><div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;"><div><font face=" 'Calibri', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif'" style='line-height: 15pt; letter-spacing: 0.02em; font-family: "Calibri", "Segoe UI", "Meiryo", "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic", "sans-serif"; font-size: 12pt;'><b>De:</b> <a href="mailto:dave.demarle@kitware.com" target="_parent">David E DeMarle</a><br><b>Enviado el:</b> miércoles, 12 de marzo de 2014 14:53<br><b>Para:</b> <a href="mailto:omidlink@gmail.com" target="_parent">Omid</a><br><b>CC:</b> <a href="mailto:david.gobbi@gmail.com" target="_parent">David Gobbi</a>, <a href="mailto:vtkusers@vtk.org" target="_parent">vtkusers@vtk.org</a></font></div></div><div><br></div><div dir=""><div dir="ltr">On Thu, Mar 6, 2014 at 6:24 PM, Omid <span dir="ltr"><<a href="mailto:omidlink@gmail.com" target="_parent">omidlink@gmail.com</a>></span> wrote:<div>...<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;">>> I thought the reason could be that the gcc compiler is too old (4.4.6)<br>
>> and may not support some of the newer language features (like new). I<br>
>> installed the latest stable gcc (4.8.2) and tried instructing ccmake<br>
>> to use the new gcc using<br>
>><br>
>> env CC=$(which gcc) CXX=$(which gcc) ccmake .<br>
>><br>
>> or<br>
>><br>
>> CC=$(which gcc) CXX=$(which gcc) ccmake .<br>
>><br>
>> where $(which gcc) returns the path to the new gcc. But the output and<br>
>> the errors are still the same (referring to gcc 4.4.6). It looks like<br>
>> the new gcc is not picked up by ccmake. Doing a find grep, I don't<br></blockquote><div>... </div><div><br></div><div>Is this in a new build directory? CMake won't overwrite the CMAKE_CXX_COMPILER an CMAKE_C_COMPILER variables it picked up the first time.</div>
<div><br></div></div></div></div></div>
</div></div>
</body>
</html>