[ITK] [ITK-users] Trouble compiling ITK 4.8.0 on Visual Studio 2013/12.0
Matt McCormick
matt.mccormick at kitware.com
Tue Jan 27 12:45:56 EST 2015
Hi Michael,
> I managed to get ITK built by building to a new folder, but I still do not
> understand how I am supposed to clear the build tree, as I doubt that is the
> correct solution. I have googled the term, but I have not found anything
> that would indicate how I would delete the build tree, if clearing the cache
> and deleting the build folder do not count.
Good to hear it is build . By "clearing the build tree", I meant to
complete delete all the content of the build folder. Sorry if there
was any confusion.
> I am still having more errors after trying to build it. The first is an
> error in the compiler:
>
> command-line error: invalid macro definition:
> ..../ITK/CMakeFiles/vtkRenderingCore_AUTOINIT_vtkInteractionStyle_vtkRenderingFreeType_vtkRenderingOpenGL.h"
This is fixed in ITK's current Git "master" and "release" branches.
Instructions to get the Git version are here [1].
> The next is related, in that I am still having trouble with the IntelliSense
> autocomplete not functioning in any of my projects, which was my purpose in
> updating visual studio. Do you have any experience with these additional
> errors? I believe the first error may be related to IntelliSense, due to a
> quick google turning up that error in relation to it, but nothing I've found
> has told me how to solve it.
Sorry, I don't have much experience with IntelliSense.
Be well,
Matt
[1] http://www.itk.org/Wiki/ITK/Git/Download
> Best regards,
> Michael Pinkert
>
>
> Matt McCormick-2 wrote
>> Hi Michael,
>>
>> Instead of just clearing the cache, it is necessary to delete the
>> entry build tree when switching to a new compiler.
>>
>> HTH,
>> Matt
>>
>> On Mon, Jan 26, 2015 at 3:44 PM, Michael Pinkert <
>
>> mpinkert@
>
>> > wrote:
>>> Hi Matt,
>>>
>>> I am not sure what you mean by fresh build tree. I cleared my cache in
>>> CMake and deleted the build folder for my old ITK installation, if that
>>> is
>>> what you mean.
>>>
>>> Best regards,
>>> Michale Pinkert
>>>
>>>
>>> Matt McCormick-2 wrote
>>>> Hi Michael,
>>>>
>>>> Did you start with a fresh build tree?
>>>>
>>>> Matt
>>>>
>>>> On Mon, Jan 26, 2015 at 3:30 PM, Michael Pinkert <
>>>
>>>> mpinkert@
>>>
>>>> > wrote:
>>>>> Hi all,
>>>>>
>>>>> I have been trying to compile ITK on Visual Studio 2013, as I was
>>>>> having
>>>>> problems with the autocomplete IntelliSense in Visual Studio 2010.
>>>>> However,
>>>>> when I try to build ITK I am running into two errors, and do not know
>>>>> what
>>>>> to do about them. Does anyone have experience with the following?
>>>>>
>>>>> Error 1 error C1189: #error : "No native data type can
>>>>> represent
>>>>> a 16-bit
>>>>> integer."
>>>>> C:\Build\ITK\Modules\ThirdParty\KWSys\src\itksys\FundamentalType.h
>>>>> 75 1 ITKIOLSM
>>>>>
>>>>> Error 2 error LNK1104: cannot open file
>>>>> '..\..\..\..\lib\Debug\ITKIOLSM-4.8.lib'
>>>>> C:\Build\ITK\Modules\Core\TestKernel\src\LINK itkTestDriver
>>>>>
>>>>> Best regards,
>>>>> Michael Pinkert
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Trouble-compiling-ITK-4-8-0-on-Visual-Studio-2013-12-0-tp7586842.html
>>>>> Sent from the ITK Insight Users mailing list archive at Nabble.com.
>>>>> _____________________________________
>>>>> Powered by www.kitware.com
>>>>>
>>>>> Visit other Kitware open-source projects at
>>>>> http://www.kitware.com/opensource/opensource.html
>>>>>
>>>>> Kitware offers ITK Training Courses, for more information visit:
>>>>> http://www.kitware.com/products/protraining.php
>>>>>
>>>>> Please keep messages on-topic and check the ITK FAQ at:
>>>>> http://www.itk.org/Wiki/ITK_FAQ
>>>>>
>>>>> Follow this link to subscribe/unsubscribe:
>>>>> http://public.kitware.com/mailman/listinfo/insight-users
>>>> _____________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Kitware offers ITK Training Courses, for more information visit:
>>>> http://www.kitware.com/products/protraining.php
>>>>
>>>> Please keep messages on-topic and check the ITK FAQ at:
>>>> http://www.itk.org/Wiki/ITK_FAQ
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://public.kitware.com/mailman/listinfo/insight-users
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Trouble-compiling-ITK-4-8-0-on-Visual-Studio-2013-12-0-tp7586842p7586844.html
>>> Sent from the ITK Insight Users mailing list archive at Nabble.com.
>>> _____________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Kitware offers ITK Training Courses, for more information visit:
>>> http://www.kitware.com/products/protraining.php
>>>
>>> Please keep messages on-topic and check the ITK FAQ at:
>>> http://www.itk.org/Wiki/ITK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/insight-users
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.php
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/insight-users
>
>
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Trouble-compiling-ITK-4-8-0-on-Visual-Studio-2013-12-0-tp7586842p7586846.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users
More information about the Community
mailing list