[ITK] [ITK-users] Error compiling msvc2010 + ITK4.6 + Qt

Matt McCormick matt.mccormick at kitware.com
Thu Oct 23 17:37:02 EDT 2014


Hi,

Are you using CMake to configure your project?

Matt

On Thu, Oct 23, 2014 at 12:20 PM, Françoise Lefebvre
<lefebvre at imnc.in2p3.fr> wrote:
> Hi,
>
> I also tried on Windows 8,msvc2012_opengl and Qt5.3. I get exactly the same
> link error.
>
> FL
>
>
> Le 22/10/2014 09:23, Françoise Lefebvre a écrit :
>
>> Yes I did.
>>
>> Le 21/10/2014 19:18, Bradley Lowekamp a écrit :
>>>
>>> Did you try the latest 4.6.1 release?
>>>
>>> Brad
>>>
>>> On Oct 21, 2014, at 12:18 PM, Françoise Lefebvre <lefebvre at imnc.in2p3.fr>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> ITK 4.6 was succesfully build using cmake2.8.10.2, the default
>>>> parameters and the Module_ITKReview on.
>>>>
>>>> I am now trying to compile a program developed in C++ using Qt5.1.1  and
>>>> Microsoft Visual C++ express 2010 on Windows 7.
>>>>
>>>> I get the following link error :
>>>>
>>>> 1>itksys-4.6.lib(EncodingCXX.obj) : error LNK2019: symbole externe non
>>>> rÚsolu __imp__CommandLineToArgvW at 8 rÚfÚrencÚ dans la fonction "public:
>>>> static class itksys::Encoding::CommandLineArguments __cdecl
>>>> itksys::Encoding::CommandLineArguments::Main(int,char const * const *)"
>>>> (?Main at CommandLineArguments@Encoding at itksys@@SA?AV123 at HPBQBD@Z)
>>>>
>>>> I didn't get this error when compiling with itk4.3 .
>>>>
>>>> Any hint ?
>>>>
>>>> Thank you for your help,
>>>>
>>>> F. Lefebvre
>>>>
>>>> _____________________________________
>>>> 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
>>>> _______________________________________________
>>>> Community mailing list
>>>> Community at itk.org
>>>> http://public.kitware.com/mailman/listinfo/community
>>
>>
>
> _____________________________________
> 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