<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Michael,</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">compile errors in the project can throw off IntelliSense. Once the project is properly compiling, it takes some time to gather all the information into a browsing database (*.sdf). Let VS scan all headers and generate this file. It needs to be done independently for projects using ITK, I think.</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">In case IntelliSense is broken for a project, try closing VS, deleting its .sdf file, and then reopening the project's solution file. This should re-trigger an update of IntelliSense browsing database.</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">HTH</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 27, 2015 at 10:43 AM, Michael Pinkert <span dir="ltr"><<a href="mailto:mpinkert@wisc.edu" target="_blank">mpinkert@wisc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Matt,<br>
<br>
I managed to get ITK built by building to a new folder, but I still do not<br>
understand how I am supposed to clear the build tree, as I doubt that is the<br>
correct solution.  I have googled the term, but I have not found anything<br>
that would indicate how I would delete the build tree, if clearing the cache<br>
and deleting the build folder do not count.<br>
<br>
I am still having more errors after trying to build it.  The first is an<br>
error in the compiler:<br>
<br>
command-line error: invalid macro definition:<br>
..../ITK/CMakeFiles/vtkRenderingCore_AUTOINIT_vtkInteractionStyle_vtkRenderingFreeType_vtkRenderingOpenGL.h"<br>
<br>
The next is related, in that I am still having trouble with the IntelliSense<br>
autocomplete not functioning in any of my projects, which was my purpose in<br>
updating visual studio.  Do you have any experience with these additional<br>
errors?  I believe the first error may be related to IntelliSense, due to a<br>
quick google turning up that error in relation to it, but nothing I've found<br>
has told me how to solve it.<br>
<br>
Best regards,<br>
Michael Pinkert<br>
<span class=""><br>
<br>
Matt McCormick-2 wrote<br>
> Hi Michael,<br>
><br>
</span><span class="">> Instead of just clearing the cache, it is necessary to delete the<br>
> entry build tree when switching to a new compiler.<br>
><br>
> HTH,<br>
> Matt<br>
><br>
</span>> On Mon, Jan 26, 2015 at 3:44 PM, Michael Pinkert &lt;<br>
<div><div class="h5"><br>
> mpinkert@<br>
<br>
> &gt; wrote:<br>
>> Hi Matt,<br>
>><br>
>> I am not sure what you mean by fresh build tree.  I cleared my cache in<br>
>> CMake and deleted the build folder for my old ITK installation, if that<br>
>> is<br>
>> what you mean.<br>
>><br>
>> Best regards,<br>
>> Michale Pinkert<br>
>><br>
>><br>
>> Matt McCormick-2 wrote<br>
>>> Hi Michael,<br>
>>><br>
>>> Did you start with a fresh build tree?<br>
>>><br>
>>> Matt<br>
>>><br>
>>> On Mon, Jan 26, 2015 at 3:30 PM, Michael Pinkert &lt;<br>
>><br>
>>> mpinkert@<br>
>><br>
>>> &gt; wrote:<br>
>>>> Hi all,<br>
>>>><br>
>>>> I have been trying to compile ITK on Visual Studio 2013, as I was<br>
>>>> having<br>
>>>> problems with the autocomplete IntelliSense in Visual Studio 2010.<br>
>>>> However,<br>
>>>> when I try to build ITK I am running into two errors, and do not know<br>
>>>> what<br>
>>>> to do about them.  Does anyone have experience with the following?<br>
>>>><br>
>>>> Error   1       error C1189: #error :  "No native data type can<br>
>>>> represent<br>
>>>> a 16-bit<br>
>>>> integer."<br>
>>>> C:\Build\ITK\Modules\ThirdParty\KWSys\src\itksys\FundamentalType.h<br>
>>>> 75      1       ITKIOLSM<br>
>>>><br>
>>>> Error   2       error LNK1104: cannot open file<br>
>>>> '..\..\..\..\lib\Debug\ITKIOLSM-4.8.lib'<br>
>>>> C:\Build\ITK\Modules\Core\TestKernel\src\LINK   itkTestDriver<br>
>>>><br>
>>>> Best regards,<br>
>>>> Michael Pinkert<br>
>>>><br>
>>>><br>
>>>><br>
>>>> --<br>
>>>> View this message in context:<br>
>>>> <a href="http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Trouble-compiling-ITK-4-8-0-on-Visual-Studio-2013-12-0-tp7586842.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Trouble-compiling-ITK-4-8-0-on-Visual-Studio-2013-12-0-tp7586842.html</a><br>
>>>> Sent from the ITK Insight Users mailing list archive at Nabble.com.<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>
>>>> Kitware offers ITK Training Courses, for more information visit:<br>
>>>> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
>>>><br>
>>>> Please keep messages on-topic and check the ITK FAQ at:<br>
>>>> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
>>>><br>
>>>> Follow this link to subscribe/unsubscribe:<br>
>>>> <a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><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>
>>> Kitware offers ITK Training Courses, for more information visit:<br>
>>> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
>>><br>
>>> Please keep messages on-topic and check the ITK FAQ at:<br>
>>> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
>>><br>
>>> Follow this link to subscribe/unsubscribe:<br>
>>> <a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Trouble-compiling-ITK-4-8-0-on-Visual-Studio-2013-12-0-tp7586842p7586844.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Trouble-compiling-ITK-4-8-0-on-Visual-Studio-2013-12-0-tp7586842p7586844.html</a><br>
>> Sent from the ITK Insight Users mailing list archive at Nabble.com.<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>
>> Kitware offers ITK Training Courses, for more information visit:<br>
>> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
>><br>
>> Please keep messages on-topic and check the ITK FAQ at:<br>
>> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><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>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
</div></div>View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Trouble-compiling-ITK-4-8-0-on-Visual-Studio-2013-12-0-tp7586842p7586846.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Trouble-compiling-ITK-4-8-0-on-Visual-Studio-2013-12-0-tp7586842p7586846.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the ITK Insight Users mailing list archive at Nabble.com.<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>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br></div>