<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Tim,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">this looks more like a problem in your VTK build:</div><div class="gmail_default"><a href="http://public.kitware.com/pipermail/community/2015-April/008856.html" style="font-family:verdana,sans-serif">http://public.kitware.com/pipermail/community/2015-April/008856.html</a><br></div><div class="gmail_default"><div class="gmail_default"><font face="verdana, sans-serif"><a href="http://www.vtk.org/pipermail/vtkusers/2013-July/080801.html">http://www.vtk.org/pipermail/vtkusers/2013-July/080801.html</a></font><br></div><div><br></div><div>Doing a clean build of VTK sounds like the best thing to try. Then you have to rebuild itk (should be fast, just itkVTKglue).</div><div><br></div><div>Regards,</div><div>Dženan</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 1, 2016 at 11:00 AM, Timothee Evain <span dir="ltr"><<a href="mailto:tevain@telecom-paristech.fr" target="_blank">tevain@telecom-paristech.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Dženan,<br>
<br>
I've already downloaded the full 4.10 zip and built it in a fresh place apart from previous one to avoid this kind of issues, but still.<br>
The funny thing is that the parser error is coming from whatever file you are looking at on the file line, but I guess it's because of the editor parsing process, and not directly related to the file.<br>
<br>
To be complete, at compilation, this error is impacting the vtkRenderingCoreModule.h here :<br>
<br>
[...]<br>
35 /* AutoInit implementations.  */<br>
36 #if defined(vtkRenderingCore_<wbr>INCLUDE)<br>
37 # include vtkRenderingCore_INCLUDE<br>
38 #endif<br>
39 #if defined(vtkRenderingCore_<wbr>AUTOINIT)<br>
40 # include "vtkAutoInit.h"<br>
41 VTK_AUTOINIT(vtkRenderingCore)<br>
[...]<br>
<br>
on line 37 :<br>
error C2006: '#include' : expected a filename, found 'newline'  C:\Libraries\Build\VTK_6.1.0\<wbr>Rendering\Core\<wbr>vtkRenderingCoreModule.h<br>
error C1083: Cannot open include file: '': No such file or directory    C:\Libraries\Build\VTK_6.1.0\<wbr>Rendering\Core\<wbr>vtkRenderingCoreModule.h<br>
<br>
<br>
Tim<br>
<br>
<br>
----- Mail original -----<br>
De: "Dženan Zukić" <<a href="mailto:dzenanz@gmail.com">dzenanz@gmail.com</a>><br>
À: "Timothee Evain" <<a href="mailto:tevain@telecom-paristech.fr">tevain@telecom-paristech.fr</a>><br>
Cc: <a href="mailto:community@itk.org">community@itk.org</a><br>
Envoyé: Jeudi 1 Septembre 2016 16:36:36<br>
Objet: Re: [ITK] Updating ITK setup<br>
<div class="HOEnZb"><div class="h5"><br>
Hi Tim,<br>
<br>
if you just git pulled and then did an incremental build, that might be<br>
what is causing trouble. Doing a clean build could help.<br>
<br>
>From which file is the error coming from? IntelliSense errors frequently<br>
exist in projects which do compile (editor does not use the same mechanism<br>
as compiler to parse the code).<br>
<br>
Regards,<br>
Dženan<br>
<br>
On Thu, Sep 1, 2016 at 10:01 AM, Timothee Evain <<a href="mailto:tevain@telecom-paristech.fr">tevain@telecom-paristech.fr</a><br>
> wrote:<br>
<br>
> Hi again community,<br>
><br>
> I'm trying to update my ITK from 4.5 to 4.10, built against a VTK 6.1.0<br>
> with the vtkGlue.<br>
> Cmake phase went well, but now I receive an error compiling my own code:<br>
><br>
> IntelliSense: command-line error: invalid macro definition:<br>
> C:/Libraries/Build/ITK_4.10.0/<wbr>CMakeFiles/vtkRenderingCore_<br>
> AUTOINIT_vtkInteractionStyle_<wbr>vtkRenderingFreeType_<br>
> vtkRenderingFreeTypeOpenGL_<wbr>vtkRenderingOpenGL.h""<br>
><br>
> which give after that a bunch of include vtk-related errors, but since I<br>
> only updated ITK, I think this is not the core problem.<br>
><br>
> Short screening of the mailing-list tell me that this issue have already<br>
> been encountered and should be solved apparently.<br>
><br>
> Anyone aware of that ?<br>
><br>
> Tim<br>
> ______________________________<wbr>_________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org">Community@itk.org</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/community</a><br>
><br>
</div></div></blockquote></div><br></div>